diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-08-30 13:44:22 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-08-30 13:44:22 +0000 |
commit | e20da5e35e47e0211671df6fa76069e1711312f3 (patch) | |
tree | f01c2492add912e5ca7b7001e9d68e9898041f54 /configure.in | |
parent | 0bf9255a17078c12f18d75a5c1ff07fdc17928b0 (diff) | |
download | mailutils-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.in | 7 |
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 |