List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 19 2007 9:52am
Subject:Rev 184: Found and fixed Johan's bug where configure would use /usr/local/mysql/bin/mysql_config when you didn't want it too. in http://bazaar.launchp...
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 184
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Fri 2007-10-19 02:52:09 -0700
message:
  Found and fixed Johan's bug where configure would use /usr/local/mysql/bin/mysql_config
when you didn't want it too.
modified:
  acinclude.m4                   acinclude.m4-20070228020914-u2pk759xg7thauwf-8
=== modified file 'acinclude.m4'
--- a/acinclude.m4	2007-10-05 03:52:23 +0000
+++ b/acinclude.m4	2007-10-19 09:52:09 +0000
@@ -150,13 +150,7 @@
      MYSQL_CONFIG=$withval/bin/mysql_config
     fi
   ], [
-	if test -x /usr/local/mysql/bin/mysql_config -a -f /usr/local/mysql/bin/mysql_config
-    then
-      MYSQL_CONFIG=/usr/local/mysql/bin/mysql_config
-    elif test -x /usr/bin/mysql_config -a -f /usr/bin/mysql_config
-    then
-      MYSQL_CONFIG=/usr/bin/mysql_config
-    fi
+AC_CHECK_PROGS(MYSQL_CONFIG,mysql_config)
   ])
 
   if test "x$MYSQL_CONFIG" = "x" 

Thread
Rev 184: Found and fixed Johan's bug where configure would use /usr/local/mysql/bin/mysql_config when you didn't want it too. in http://bazaar.launchp...Monty Taylor19 Oct