From 95488d221ea22f761a6a4b78410c4e0e89f522b8 Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 11 May 2006 01:03:48 +0200 Subject: [PATCH] configure.ac: Fix mysql configuration The --enable_mysql_libs option had two cut-and-paste bugs. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b404da7f..a28d4114 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,7 @@ if test -n "$enable_mysql_headers"; then fi AC_ARG_ENABLE(mysql_libs, [AC_HELP_STRING(--enable-mysql-libs=dir, [look for libmysqlclient also in dir])]) -if test -n "$enable_mysql_headers"; then +if test -n "$enable_mysql_libs"; then mysql_libs="-L$enable_mysql_libs" LDFLAGS="$LDFLAGS $mysql_libs" fi @@ -184,6 +184,7 @@ if test "$have_mysql" = "yes"; then server_ldflags="$server_ldflags $mysql_libs -lmysqlclient" server_errlist_objs="$server_errlist_objs mysql_selector" AC_SUBST(mysql_cppflags) + AC_SUBST(mysql_libs) AC_DEFINE(HAVE_MYSQL, 1, [define to 1 to turn on mysql support]) else AC_MSG_WARN([cannot build mysql-based audio file selector]) -- 2.39.2