]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
paraslash 0.2.12
[paraslash.git] / configure.ac
index b404da7fd5f0f817001a26e7fb47c7e9029b1c23..134641eb75be3cd47ff057dde8b0ed80d176a74a 100644 (file)
@@ -4,7 +4,7 @@
 AC_PREREQ(2.53)
 
 
-AC_INIT(paraslash, [git], maan@systemlinux.org)
+AC_INIT(paraslash, [0.2.12], maan@systemlinux.org)
 AC_CONFIG_HEADER([config.h])
 
 ########################################################################### generic
@@ -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])