#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for bacula 9.0.2.
+# Generated by GNU Autoconf 2.69 for bacula 9.0.3.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Identity of this package.
PACKAGE_NAME='bacula'
PACKAGE_TARNAME='bacula'
-PACKAGE_VERSION='9.0.2'
-PACKAGE_STRING='bacula 9.0.2'
+PACKAGE_VERSION='9.0.3'
+PACKAGE_STRING='bacula 9.0.3'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
DB_LIBS
DB_BACKENDS
uncomment_dbi
-SQLITE_BINDIR
-SQLITE_INCLUDE
-SQLITE_LIBS
MYSQL_BINDIR
MYSQL_INCLUDE
MYSQL_LIBS
with_postgresql
with_mysql
with_embedded_mysql
-with_sqlite3
enable_largefile
with_x
with_s3
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures bacula 9.0.2 to adapt to many kinds of systems.
+\`configure' configures bacula 9.0.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of bacula 9.0.2:";;
+ short | recursive ) echo "Configuration of bacula 9.0.3:";;
esac
cat <<\_ACEOF
Include MySQL support. DIR is the MySQL base install
directory, default is to search through a number of
common places for the MySQL files.
- --with-sqlite3[=DIR] Include SQLite3 support. DIR is the SQLite3 base
- install directory, default is to search through a
- number of common places for the SQLite3 files.
--with-x use the X Window System
--with-s3[=DIR] specify s3 library directory
--with-afsdir[=DIR] Directory holding AFS includes/libs
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-bacula configure 9.0.2
+bacula configure 9.0.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by bacula $as_me 9.0.2, which was
+It was created by bacula $as_me 9.0.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLite3 support" >&5
-$as_echo_n "checking for SQLite3 support... " >&6; }
-
-# Check whether --with-sqlite3 was given.
-if test "${with_sqlite3+set}" = set; then :
- withval=$with_sqlite3;
- if test "$withval" != "no"; then
- if test "$withval" = "yes"; then
- if test -f /usr/local/include/sqlite3.h; then
- SQLITE_INCDIR=/usr/local/include
- if test -d /usr/local/lib64; then
- SQLITE_LIBDIR=/usr/local/lib64
- else
- SQLITE_LIBDIR=/usr/local/lib
- fi
- SQLITE_BINDIR=/usr/local/bin
- elif test -f /usr/include/sqlite3.h; then
- SQLITE_INCDIR=/usr/include
- if test -d /usr/lib64; then
- SQLITE_LIBDIR=/usr/lib64
- else
- SQLITE_LIBDIR=/usr/lib
- fi
- SQLITE_BINDIR=/usr/bin
- elif test -f $prefix/include/sqlite3.h; then
- SQLITE_INCDIR=$prefix/include
- if test -d $prefix/lib64; then
- SQLITE_LIBDIR=$prefix/lib64
- else
- SQLITE_LIBDIR=$prefix/lib
- fi
- SQLITE_BINDIR=$prefix/bin
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- as_fn_error $? "Unable to find sqlite3.h in standard locations" "$LINENO" 5
- fi
- else
- if test -f $withval/sqlite3.h; then
- SQLITE_INCDIR=$withval
- SQLITE_LIBDIR=$withval
- SQLITE_BINDIR=$withval
- elif test -f $withval/include/sqlite3.h; then
- SQLITE_INCDIR=$withval/include
- if test -d $withval/lib64; then
- SQLITE_LIBDIR=$withval/lib64
- else
- SQLITE_LIBDIR=$withval/lib
- fi
- SQLITE_BINDIR=$withval/bin
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- as_fn_error $? "Invalid SQLite3 directory $withval - unable to find sqlite3.h under $withval" "$LINENO" 5
- fi
- fi
- SQLITE_INCLUDE=-I$SQLITE_INCDIR
- if test x$use_libtool != xno; then
- SQLITE_LIBS="-R $SQLITE_LIBDIR -L$SQLITE_LIBDIR -lsqlite3"
- else
- SQLITE_LIBS="-L$SQLITE_LIBDIR -lsqlite3"
- fi
- SQLITE_LIB=$SQLITE_LIBDIR/libsqlite3.a
- DB_LIBS="${DB_LIBS} ${SQLITE_LIBS}"
-
-
-$as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
- if test -z "${db_backends}"; then
- db_backends="SQLite3"
- else
- db_backends="${db_backends} SQLite3"
- fi
- if test -z "${DB_BACKENDS}"; then
- DB_BACKENDS="sqlite3"
- else
- DB_BACKENDS="${DB_BACKENDS} sqlite3"
- fi
-
- if test "x$support_batch_insert" = "xyes"; then
- saved_LDFLAGS="${LDFLAGS}"
- LDFLAGS="${saved_LDFLAGS} -lpthread -L$SQLITE_LIBDIR"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_threadsafe in -lsqlite3" >&5
-$as_echo_n "checking for sqlite3_threadsafe in -lsqlite3... " >&6; }
-if ${ac_cv_lib_sqlite3_sqlite3_threadsafe+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsqlite3 $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sqlite3_threadsafe ();
-int
-main ()
-{
-return sqlite3_threadsafe ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_sqlite3_sqlite3_threadsafe=yes
-else
- ac_cv_lib_sqlite3_sqlite3_threadsafe=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_threadsafe" >&5
-$as_echo "$ac_cv_lib_sqlite3_sqlite3_threadsafe" >&6; }
-if test "x$ac_cv_lib_sqlite3_sqlite3_threadsafe" = xyes; then :
-
-$as_echo "#define HAVE_SQLITE3_THREADSAFE 1" >>confdefs.h
-
-fi
-
- if test "x$ac_cv_lib_sqlite3_sqlite3_threadsafe" = "xyes"; then
- if test -z "${batch_insert_db_backends}"; then
- batch_insert_db_backends="SQLite3"
- else
- batch_insert_db_backends="${batch_insert_db_backends} SQLite3"
- fi
- fi
-
- LDFLAGS="${saved_LDFLAGS}"
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
-
-else
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
-fi
-
-
-
-
-
-
+#BA_CHECK_SQLITE3_DB
if test -z "${batch_insert_db_backends}"; then
batch_insert_db_backends="None"
echo " "
echo " "
echo "You have not specified either --enable-client-only or one of the"
- echo "supported databases: MySQL, PostgreSQL, or SQLite3."
+ echo "supported databases: MySQL, or PostgreSQL."
echo "This is not permitted. Please reconfigure."
echo " "
echo "Aborting the configuration ..."
echo " "
echo " "
echo "You have specified two or more of the"
- echo "supported databases: MySQL, PostgreSQL, or SQLite3."
+ echo "supported databases: MySQL or PostgreSQL."
echo "This is not permitted when not using libtool Please reconfigure."
echo " "
echo "Aborting the configuration ..."
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by bacula $as_me 9.0.2, which was
+This file was extended by bacula $as_me 9.0.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-bacula config.status 9.0.2
+bacula config.status 9.0.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"