Author: wyoung
Date: Tue Jun 26 02:12:19 2007
New Revision: 1602
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1602&view=rev
Log:
Attempt at fixing build problem on Solaris, where it detects that -lm is
needed but doesn't use it during link test for C API library. This
should fix it, but lacking a Solaris box, I don't know for certain.
Modified:
trunk/config/mysql_loc.m4
Modified: trunk/config/mysql_loc.m4
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/config/mysql_loc.m4?rev=1602&r1=1601&r2=1602&view=diff
==============================================================================
--- trunk/config/mysql_loc.m4 (original)
+++ trunk/config/mysql_loc.m4 Tue Jun 26 02:12:19 2007
@@ -102,8 +102,11 @@
CPPFLAGS="$CPPFLAGS -I${MYSQL_incdir}"
+ save_LIBS=$LIBS
+ LIBS="$LIBS $MYSQLPP_EXTRA_LIBS"
AC_CHECK_LIB($MYSQL_C_LIB, mysql_store_result, [], [
AC_MSG_ERROR([Could not find working MySQL client
library!]) ])
AC_SUBST(MYSQL_C_LIB)
+ LIBS=$save_LIBS
]) dnl MYSQL_API_LOCATION
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits