Commit 8acf13e8 8acf13e8b493fd02e2ddf097dfb7ceb5b107651c by Sergey Poznyakoff

Add mysql libraries to MYSQLLIBS

1 parent 5db950d7
...@@ -345,7 +345,6 @@ AC_CHECK_FUNCS(_obstack_begin, ...@@ -345,7 +345,6 @@ AC_CHECK_FUNCS(_obstack_begin,
345 345
346 346
347 dnl check if mysql support was added 347 dnl check if mysql support was added
348 AC_SUBST(BUILD_LIBMYSQL)
349 AC_SUBST(MYSQLLIBS) 348 AC_SUBST(MYSQLLIBS)
350 AC_ARG_ENABLE([mysql], 349 AC_ARG_ENABLE([mysql],
351 AC_HELP_STRING([--enable-mysql], 350 AC_HELP_STRING([--enable-mysql],
...@@ -353,7 +352,8 @@ AC_ARG_ENABLE([mysql], ...@@ -353,7 +352,8 @@ AC_ARG_ENABLE([mysql],
353 [use_mysql="yes"],,) 352 [use_mysql="yes"],,)
354 if test x"$use_mysql" = x"yes"; then 353 if test x"$use_mysql" = x"yes"; then
355 AC_CHECK_HEADER(mysql/mysql.h, 354 AC_CHECK_HEADER(mysql/mysql.h,
356 [AUTHLIBS="$AUTHLIBS -lmysqlclient -lm -L/usr/lib/mysql -L/usr/local/lib/mysql" 355 [MYSQLLIBS="-lmysqlclient -lm -L/usr/lib/mysql -L/usr/local/lib/mysql"
356 AUTHLIBS="$AUTHLIBS $MYSQLLIBS"
357 AC_DEFINE(HAVE_MYSQL,1,[Define this if you have mysql libraries])]) 357 AC_DEFINE(HAVE_MYSQL,1,[Define this if you have mysql libraries])])
358 fi 358 fi
359 359
......