aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarlo von lynX <lynX@time.to.get.psyced.org>2016-01-04 16:37:09 +0000
committerCarlo von lynX <lynX@time.to.get.psyced.org>2016-01-04 16:37:09 +0000
commit4460e7cb02d331f65f5060829299cdcd039473d4 (patch)
treec22520dd343edb44f06b0c32329533b536e10d25 /configure.ac
parentd9bd4356546ddb8d6bfa9defbc0cfaf900e38e38 (diff)
downloadgnunet-4460e7cb02d331f65f5060829299cdcd039473d4.tar.gz
gnunet-4460e7cb02d331f65f5060829299cdcd039473d4.zip
configure: fix for "yes/lib not found" error
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 9a3441fa2..9e3b3e8d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -827,13 +827,13 @@ AC_ARG_WITH(mysql,
827 then 827 then
828 LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS" 828 LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS"
829 CPPFLAGS="-I$with_mysql/include $CPPFLAGS" 829 CPPFLAGS="-I$with_mysql/include $CPPFLAGS"
830 fi 830 AC_CHECK_HEADERS(mysql/mysql.h,
831 AC_CHECK_HEADERS(mysql/mysql.h, 831 AC_CHECK_LIB(mysqlclient, mysql_init,
832 AC_CHECK_LIB(mysqlclient, mysql_init, 832 MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql"
833 MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql" 833 MYSQL_CPPFLAGS="-I$with_mysql/include"
834 MYSQL_CPPFLAGS="-I$with_mysql/include"
835 834
836 mysql=true), [], [$CYGWIN_MYSQL_MAGIC]) 835 mysql=true), [], [$CYGWIN_MYSQL_MAGIC])
836 fi
837 fi 837 fi
838 ], 838 ],
839 [AC_MSG_RESULT([--with-mysql not specified]) 839 [AC_MSG_RESULT([--with-mysql not specified])