mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Ensure db_type default value is set when no mssql was defined. Fix typo
This commit is contained in:
parent
a7912f5344
commit
965196a2e8
@ -71,7 +71,7 @@ AC_ARG_ENABLE(all,
|
|||||||
[AS_HELP_STRING([--enable-all],[same as --enable-odbc --enable-mssql --enable-mysql --enable-pgsql --enable-sqlite --enable-pam --enable-zlib --enable-redis --enable-elixir --enable-stun --enable-sip --enable-debug --enable-lua --enable-tools (useful for Dialyzer checks, default: no)])],
|
[AS_HELP_STRING([--enable-all],[same as --enable-odbc --enable-mssql --enable-mysql --enable-pgsql --enable-sqlite --enable-pam --enable-zlib --enable-redis --enable-elixir --enable-stun --enable-sip --enable-debug --enable-lua --enable-tools (useful for Dialyzer checks, default: no)])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) odbc=true mssql=true mysql=true pgsql=true sqlite=true pam=true zlib=true redis=true elixir=true stun=true sip=true debug=true lua=true tools=true ;;
|
yes) odbc=true mssql=true mysql=true pgsql=true sqlite=true pam=true zlib=true redis=true elixir=true stun=true sip=true debug=true lua=true tools=true ;;
|
||||||
no) odbc=false mssql=false ysql=false pgsql=false sqlite=false pam=false zlib=false redis=false elixir=false stun=false sip=false debug=false lua=false tools=false ;;
|
no) odbc=false mssql=false mysql=false pgsql=false sqlite=false pam=false zlib=false redis=false elixir=false stun=false sip=false debug=false lua=false tools=false ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-all) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-all) ;;
|
||||||
esac],[])
|
esac],[])
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ AC_ARG_ENABLE(mssql,
|
|||||||
yes) db_type=mssql; mssql=true ;;
|
yes) db_type=mssql; mssql=true ;;
|
||||||
no) db_type=generic; mssql=false ;;
|
no) db_type=generic; mssql=false ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mssql) ;;
|
||||||
esac],[if test "x$mssql" = "x"; then db_type=generic; mssql=false; fi])
|
esac],[db_type=generic; if test "x$mssql" = "x"; then mssql=false; fi])
|
||||||
|
|
||||||
AC_ARG_ENABLE(mysql,
|
AC_ARG_ENABLE(mysql,
|
||||||
[AS_HELP_STRING([--enable-mysql],[enable MySQL support (default: no)])],
|
[AS_HELP_STRING([--enable-mysql],[enable MySQL support (default: no)])],
|
||||||
|
Loading…
Reference in New Issue
Block a user