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.
You could have --with-mysql except a install prefix or path to
mysql_config, a lot of other configure scripts do this. Makes for a
simpler build.
--with-mysql=/opt/local /** add this to the beginning of the dirs
you search for mysql stuff like /usr/local */
or
--with-mysql=/opt/local/bin/mysql_config5
Regards,
Bradley Giesbrecht