summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-03 23:30:49 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-12-03 23:30:49 +0000
commit8acf13e8b493fd02e2ddf097dfb7ceb5b107651c (patch)
tree56826f323491ae31a29727b4f940cff42d855c21 /configure.ac
parent5db950d7e5167955bc329dca16df7294e3b5fca6 (diff)
downloadmailutils-8acf13e8b493fd02e2ddf097dfb7ceb5b107651c.tar.gz
mailutils-8acf13e8b493fd02e2ddf097dfb7ceb5b107651c.tar.bz2
Add mysql libraries to MYSQLLIBS
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 81768ba4d..686cd9e84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -345,7 +345,6 @@ AC_CHECK_FUNCS(_obstack_begin,
dnl check if mysql support was added
-AC_SUBST(BUILD_LIBMYSQL)
AC_SUBST(MYSQLLIBS)
AC_ARG_ENABLE([mysql],
AC_HELP_STRING([--enable-mysql],
@@ -353,7 +352,8 @@ AC_ARG_ENABLE([mysql],
[use_mysql="yes"],,)
if test x"$use_mysql" = x"yes"; then
AC_CHECK_HEADER(mysql/mysql.h,
- [AUTHLIBS="$AUTHLIBS -lmysqlclient -lm -L/usr/lib/mysql -L/usr/local/lib/mysql"
+ [MYSQLLIBS="-lmysqlclient -lm -L/usr/lib/mysql -L/usr/local/lib/mysql"
+ AUTHLIBS="$AUTHLIBS $MYSQLLIBS"
AC_DEFINE(HAVE_MYSQL,1,[Define this if you have mysql libraries])])
fi

Return to:

Send suggestions and report system problems to the System administrator.