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)
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 9a3441fa2d..9e3b3e8d28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -827,13 +827,13 @@ AC_ARG_WITH(mysql,
then
LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS"
CPPFLAGS="-I$with_mysql/include $CPPFLAGS"
- fi
- AC_CHECK_HEADERS(mysql/mysql.h,
- AC_CHECK_LIB(mysqlclient, mysql_init,
- MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql"
- MYSQL_CPPFLAGS="-I$with_mysql/include"
+ AC_CHECK_HEADERS(mysql/mysql.h,
+ AC_CHECK_LIB(mysqlclient, mysql_init,
+ MYSQL_LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql"
+ MYSQL_CPPFLAGS="-I$with_mysql/include"
- mysql=true), [], [$CYGWIN_MYSQL_MAGIC])
+ mysql=true), [], [$CYGWIN_MYSQL_MAGIC])
+ fi
fi
],
[AC_MSG_RESULT([--with-mysql not specified])