summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2001-08-30 13:44:22 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2001-08-30 13:44:22 +0000
commite20da5e35e47e0211671df6fa76069e1711312f3 (patch)
treef01c2492add912e5ca7b7001e9d68e9898041f54 /configure.in
parent0bf9255a17078c12f18d75a5c1ff07fdc17928b0 (diff)
downloadmailutils-e20da5e35e47e0211671df6fa76069e1711312f3.tar.gz
mailutils-e20da5e35e47e0211671df6fa76069e1711312f3.tar.bz2
New substitution variable BUILD_LIBMYSQL.
Append linker flags to AUTHLIBS, since modifying LIBS effectively breaks compilation.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e6d6b49d9..04b9963a9 100644
--- a/configure.in
+++ b/configure.in
@@ -130,12 +130,15 @@ if test x"$ac_cv_func_argp_parse" != xyes; then
fi
dnl check if mysql support was added
+AC_SUBST(BUILD_LIBMYSQL)
+AC_SUBST(MYSQLLIBS)
AC_ARG_ENABLE(mysql, [ --enable-mysql enable mysql support (default no)], [use_mysql="yes"],,)
if test x"$use_mysql" = x"yes"; then
echo Enabling mysql support, be sure to edit \'MySql/MySql.h\' to change default values
AC_CHECK_HEADER(mysql/mysql.h,
- LIBS="$LIBS -lmailMysql -lmysqlclient -L/usr/lib/mysql -L/usr/local/lib/mysql -L../MySql/"
- AC_DEFINE(HAVE_MYSQL))
+ [AUTHLIBS="$AUTHLIBS -lmailMysql -lmysqlclient -L/usr/lib/mysql -L/usr/local/lib/mysql -L../MySql/"
+ BUILD_LIBMYSQL=libmailMysql.a
+ AC_DEFINE(HAVE_MYSQL)])
fi
dnl Virtual domain support, at least for pop3d

Return to:

Send suggestions and report system problems to the System administrator.