From: Matze B. <mat...@us...> - 2003-02-06 19:45:54
|
Update of /cvsroot/planeshift/planeshift/mk/unix/macros In directory sc8-pr-cvs1:/tmp/cvs-serv12333/mk/unix/macros Modified Files: ac_path_mysql.m4 Log Message: applied patch from Anders <an...@pv...>. Thank you Index: ac_path_mysql.m4 =================================================================== RCS file: /cvsroot/planeshift/planeshift/mk/unix/macros/ac_path_mysql.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ac_path_mysql.m4 4 Feb 2003 11:02:15 -0000 1.2 --- ac_path_mysql.m4 6 Feb 2003 19:45:50 -0000 1.3 *************** *** 13,17 **** LIBS="$LIBS [$2]" ! AC_TRY_COMPILE([ #include <mysql.h> #include <mysql_version.h> --- 13,17 ---- LIBS="$LIBS [$2]" ! AC_TRY_LINK([ #include <mysql.h> #include <mysql_version.h> *************** *** 60,63 **** --- 60,66 ---- if test "$mysql_compiled" = "no"; then MYSQL_TRY_COMPILE([-I/usr/include/mysql],[-lmysqlclient],[mysql_compiled="yes"]) + fi + if test "$mysql_compiled" = "no"; then + MYSQL_TRY_COMPILE([-I/usr/include/mysql],[-L/usr/lib/mysql -lmysqlclient],[mysql_compiled="yes"]) fi if test "$mysql_compiled" = "no"; then |