--- configure.orig 2009-02-09 12:38:22.000000000 -0800 +++ configure 2009-02-09 12:38:42.000000000 -0800 @@ -19870,8 +19870,8 @@ else - LDFLAGS=`mysql_config --libs $LDFLAGS` - CPPFLAGS=`mysql_config --include $CPPFLAGS` + LDFLAGS=`/opt/local/bin/mysql_config5 --libs $LDFLAGS` + CPPFLAGS=`/opt/local/bin/mysql_config5 --include $CPPFLAGS` { echo "$as_me:$LINENO: checking for mysql_init in -lmysqlclient" >&5