acinclude.m4 patch
am 26.09.2002 14:40:49 von Melvyn SopacuaHi,
>Description:
Below is a patch for acinclude.m4 in the current mysql-4.0 tree,
which clears an error and incorrectly set variables.
>How-To-Repeat:
Run configure, with any flags
On AIX, which gives the error message on STDOUT, making orbit_config_path=
be:
'There is no orbit-config in `echo ${PATH} | tr ':' ' '`'
>Fix:
I think the better fix is to test for a 0 exit status whithout even looki=
ng at=20
the string, but that might be different on other platforms.
=====3D acinclude.m4 1.72 vs edited =====3D
*** /tmp/acinclude.m4-1.72-9934=09Thu Sep 5 15:17:05 2002
--- edited/acinclude.m4=09Thu Sep 26 13:51:42 2002
***************
*** 797,806 ****
AC_SUBST([fs_dirs])
])
=20
AC_DEFUN(MYSQL_CHECK_ORBIT, [
AC_MSG_CHECKING(for ORBit)
orbit_config_path=3D`which orbit-config`
! if test -n "$orbit_config_path"
then
orbit_exec_prefix=3D`orbit-config --exec-prefix`
orbit_includes=3D`orbit-config --cflags server`
--- 797,807 ----
AC_SUBST([fs_dirs])
])
=20
+ dnl On AIX which gives an error message on STDOUT
AC_DEFUN(MYSQL_CHECK_ORBIT, [
AC_MSG_CHECKING(for ORBit)
orbit_config_path=3D`which orbit-config`
! if test -n "$orbit_config_path" -a $? =3D 0
then
orbit_exec_prefix=3D`orbit-config --exec-prefix`
orbit_includes=3D`orbit-config --cflags server`
--=20
Best regards,
IDG.nl
Melvyn Sopacua
WebMaster
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread12606@lists.mysql.com
To unsubscribe, e-mail