From c819d25aaf7cd6df80ab1d1f85c5003ed2bf3ba4 Mon Sep 17 00:00:00 2001 From: warlord Date: Tue, 7 Oct 2003 19:24:21 +0000 Subject: [PATCH 1/1] Add stdio.h to mysql link test Fix mysql link "test" git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@709 cb58f699-b61c-0410-a6fe-9272a202ed29 --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0b83fbe..64b17c4 100644 --- a/configure.ac +++ b/configure.ac @@ -667,14 +667,15 @@ if test "$found_mysql" = yes ; then LIBS="$LIBS $MYSQL_LIBS" AC_MSG_CHECKING(if we can link againt mysql) AC_TRY_LINK( - [#include ], + [#include + #include ], [mysql_server_init(0, NULL, NULL)], [have_mysql_libs=yes], [have_mysql_libs=no]) LIBS="$save_LIBS" if test "$have_mysql_libs" = no ; then - if "$mysql_enabled" = "yes" ; then + if test "$mysql_enabled" = "yes" ; then AC_MSG_ERROR([unable to link with MySQL Embedded Server Library]) else AC_MSG_RESULT(no. skipping MySQL) -- 2.1.4