postgres=false
AX_LIB_POSTGRESQL([])
if test "$found_postgresql" = "yes"; then
+ CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS"
CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
AC_CHECK_HEADERS([libpq-fe.h],
postgres=true)
yes|"")
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])
;;
*)
LDFLAGS="-L$with_mysql/lib -L$with_mysql/lib/mysql $LDFLAGS $ZLIBS"