On Aug 5, 2010, at 7:33 AM, Timo Sirainen wrote:

On Wed, 2010-08-04 at 21:56 -0700, Bradley Giesbrecht wrote:
The configure script allows for user override with MYSQL_CONFIG but
does not use the value in two places.

-    MYSQL_INCLUDE="`mysql_config --include`"
-    MYSQL_LIBS="`mysql_config --libs`"
+    MYSQL_INCLUDE="`$MYSQL_CONFIG --include`"
+    MYSQL_LIBS="`$MYSQL_CONFIG --libs`"

Uh. This looked good and I even commited it, until I realized that it
doesn't work. $MYSQL_CONFIG value is YES or NO, not the path. Maybe
there's some other way to make this work.

MYSQL_CONFIG looked like it could be yes, no or path.

  if test -n "$MYSQL_CONFIG"; then
ac_cv_prog_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test.


I add the following to env and configure worked for me.

MYSQL_CONFIG=/opt/local/bin/mysql_config5


Regards,
Bradley Giesbrecht

Reply via email to