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
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
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])