configure: use --with-shared-sqlite instead of --enable-shared-sqlite

This commit is contained in:
Lee Starnes 2014-05-31 21:14:09 -04:00
parent 74ab6be094
commit a6ef3156ec
2 changed files with 9 additions and 8 deletions

11
configure vendored
View file

@ -734,7 +734,7 @@ enable_ipv6
enable_openssl
with_zlib_path
enable_zlib
enable_shared_sqlite
with_shared_sqlite
enable_ports
enable_poll
enable_select
@ -1382,7 +1382,6 @@ Optional Features:
--enable-openssl=DIR Enable OpenSSL support (DIR optional).
--disable-openssl Disable OpenSSL support.
--disable-zlib Disable ziplinks support
--enable-shared-sqlite Use shared sqlite
--enable-ports Force solaris I/O ports subsystem usage.
--enable-poll Force poll() usage.
--enable-select Force select() usage.
@ -1400,6 +1399,7 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib-path=DIR Path to libz.so for ziplinks support.
--with-shared-sqlite Use shared sqlite
--with-confdir=DIR Directory to install config files [deprecated, use
--sysconfdir instead].
--with-logdir=DIR Directory where to write logfiles.
@ -7248,9 +7248,10 @@ fi
fi
# Check whether --enable-shared-sqlite was given.
if test "${enable_shared_sqlite+set}" = set; then :
enableval=$enable_shared_sqlite; shared_sqlite=$enableval
# Check whether --with-shared-sqlite was given.
if test "${with_shared_sqlite+set}" = set; then :
withval=$with_shared_sqlite; shared_sqlite=$withval
else
shared_sqlite=no
fi

View file

@ -564,9 +564,9 @@ AC_CHECK_HEADER(zlib.h, [
fi
AC_ARG_ENABLE(shared-sqlite,
AC_HELP_STRING([--enable-shared-sqlite],[Use shared sqlite]),
[shared_sqlite=$enableval],[shared_sqlite=no])
AC_ARG_WITH(shared-sqlite,
AC_HELP_STRING([--with-shared-sqlite],[Use shared sqlite]),
[shared_sqlite=$withval],[shared_sqlite=no])
if test "$shared_sqlite" = yes; then