Commit b5c7d846 b5c7d846cd4780feff6900c79d1e2bb7643ea9b7 by Sergey Poznyakoff

Fixed --with-mysql, --with-postgres

1 parent 528e05ac
...@@ -399,12 +399,12 @@ AC_SUBST(SQLLIBS) ...@@ -399,12 +399,12 @@ AC_SUBST(SQLLIBS)
399 AC_ARG_WITH([mysql], 399 AC_ARG_WITH([mysql],
400 AC_HELP_STRING([--with-mysql], 400 AC_HELP_STRING([--with-mysql],
401 [enable mysql support (default no)]), 401 [enable mysql support (default no)]),
402 [use_mysql="yes"],,) 402 [use_mysql=${withval}],,)
403 403
404 AC_ARG_WITH([postgres], 404 AC_ARG_WITH([postgres],
405 AC_HELP_STRING([--with-postgres], 405 AC_HELP_STRING([--with-postgres],
406 [enable postgres support (default no)]), 406 [enable postgres support (default no)]),
407 [use_postgres="yes"],,) 407 [use_postgres=${withval}],,)
408 408
409 AH_TEMPLATE(USE_SQL,[Enables SQL support]) 409 AH_TEMPLATE(USE_SQL,[Enables SQL support])
410 AH_TEMPLATE(HAVE_MYSQL,[Define if you have libmysql]) 410 AH_TEMPLATE(HAVE_MYSQL,[Define if you have libmysql])
......