LIBTOOL_INSTALL_TARGET
LIBTOOL_UNINSTALL_TARGET
LIBTOOL_CLEAN_TARGET
+QMAKE_LIBTOOL
INCLUDE_INSTALL_TARGET
INCLUDE_UNINSTALL_TARGET
-QMAKE_LIBTOOL
HAVE_SUN_OS_TRUE
HAVE_SUN_OS_FALSE
HAVE_OSF1_OS_TRUE
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-libtool enable building using GNU libtool [default=yes]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=no]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
- --enable-libtool enable building using GNU libtool [default=yes]
+ --enable-includes enable installing of include files [default=no]
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
--enable-gnome enable build of bgnome-console GUI [default=no]
+# Check whether --enable-libtool was given.
+if test "${enable_libtool+set}" = set; then
+ enableval=$enable_libtool;
+ if test x$enableval = xno; then
+ use_libtool=no
+ fi
+
+
+fi
+
case `pwd` in
*\ * | *\ *)
{ echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:5925: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:5936: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:5928: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:5939: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:5931: output\"" >&5)
+ (eval echo "\"\$as_me:5942: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 7152 "configure"' > conftest.$ac_ext
+ echo '#line 7163 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9367: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9378: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9371: \$? = $ac_status" >&5
+ echo "$as_me:9382: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9706: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9717: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:9710: \$? = $ac_status" >&5
+ echo "$as_me:9721: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9811: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9822: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9815: \$? = $ac_status" >&5
+ echo "$as_me:9826: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9866: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9877: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9870: \$? = $ac_status" >&5
+ echo "$as_me:9881: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12622 "configure"
+#line 12633 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12718 "configure"
+#line 12729 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14730: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14741: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14734: \$? = $ac_status" >&5
+ echo "$as_me:14745: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14829: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14840: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14833: \$? = $ac_status" >&5
+ echo "$as_me:14844: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14881: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14892: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14885: \$? = $ac_status" >&5
+ echo "$as_me:14896: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
-# Check whether --enable-libtool was given.
-if test "${enable_libtool+set}" = set; then
- enableval=$enable_libtool;
- if test x$enableval = xno; then
- use_libtool=no
- fi
-
-
-fi
-
if test x$use_libtool != xno; then
DEFAULT_OBJECT_TYPE=".lo"
QMAKE_LIBTOOL="# ${BUILD_DIR}/libtool"
fi
-INCLUDE_INSTALL_TARGET=""
-INCLUDE_UNINSTALL_TARGET=""
+# Check whether --enable-includes was given.
+if test "${enable_includes+set}" = set; then
+ enableval=$enable_includes;
+ if test x$enableval = xyes; then
+ install_includes=yes
+ fi
+
+
+fi
+
+
+
+if test x$use_libtool != xno -a x$install_includes = xyes; then
+ INCLUDE_INSTALL_TARGET="install-includes"
+ INCLUDE_UNINSTALL_TARGET="uninstall-includes"
+else
+ INCLUDE_INSTALL_TARGET=""
+ INCLUDE_UNINSTALL_TARGET=""
+fi
if test `eval echo ${sysconfdir}` = NONE/etc ; then
sysconfdir=/etc/bacula
fi
+
+ if test `eval echo ${libdir}` = NONE/lib ; then
+ libdir=/usr/lib
+ fi
+
+ if test `eval echo ${includedir}` = NONE/include ; then
+ includedir=/usr/include
+ fi
+
prefix=
fi
+
+if test x${exec_prefix} = xNONE ; then
+ exec_prefix=${prefix}
+fi
+
sysconfdir=`eval echo ${sysconfdir}`
datarootdir=`eval echo ${datarootdir}`
+libdir=`eval echo ${libdir}`
+includedir=`eval echo ${includedir}`
localedir=`eval echo ${datarootdir}/locale`
cat >>confdefs.h <<_ACEOF
#define SYSCONFDIR "$sysconfdir"
_ACEOF
-if test x${exec_prefix} = xNONE ; then
- exec_prefix=${prefix}
-fi
-
if test x$sbindir = x'${exec_prefix}/sbin' ; then
sbindir=${exec_prefix}/sbin
fi
sbindir=`eval echo ${sbindir}`
-if test x$libdir = x'${exec_prefix}/lib' ; then
- libdir=${exec_prefix}/lib
-fi
-libdir=`eval echo ${libdir}`
-
-if test x$includedir = x'${exec_prefix}/include' ; then
- includedir=${exec_prefix}/include
-fi
-includedir=`eval echo ${includedir}`
-
if test x$mandir = x'${prefix}/man' ; then
mandir=/usr/share/man
fi
support_gnome=no
support_bat=no
support_wx_console=no
+support_tray_monitor=no
support_tls=no
support_crypto=no
gnome_version=
fi
have_acl=no
+have_extended_acl=no
if test "${ac_cv_header_sys_acl_h+set}" = set; then
{ echo "$as_me:$LINENO: checking for sys/acl.h" >&5
echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6; }
have_acl=yes;
FDLIBS="-lsec $FDLIBS"
+ { echo "$as_me:$LINENO: checking for acl_totext in -lsec" >&5
+echo $ECHO_N "checking for acl_totext in -lsec... $ECHO_C" >&6; }
+if test "${ac_cv_lib_sec_acl_totext+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsec $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* 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 acl_totext ();
+int
+main ()
+{
+return acl_totext ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_sec_acl_totext=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_sec_acl_totext=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_sec_acl_totext" >&5
+echo "${ECHO_T}$ac_cv_lib_sec_acl_totext" >&6; }
+if test $ac_cv_lib_sec_acl_totext = yes; then
+
+ have_extended_acl=yes
+
+
+fi
+
+
fi
fi
+if test $have_extended_acl = yes; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_EXTENDED_ACL 1
+_ACEOF
+
+fi
+
PTHREAD_LIB=""
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
LIBTOOL_INSTALL_TARGET!$LIBTOOL_INSTALL_TARGET$ac_delim
LIBTOOL_UNINSTALL_TARGET!$LIBTOOL_UNINSTALL_TARGET$ac_delim
LIBTOOL_CLEAN_TARGET!$LIBTOOL_CLEAN_TARGET$ac_delim
+QMAKE_LIBTOOL!$QMAKE_LIBTOOL$ac_delim
INCLUDE_INSTALL_TARGET!$INCLUDE_INSTALL_TARGET$ac_delim
INCLUDE_UNINSTALL_TARGET!$INCLUDE_UNINSTALL_TARGET$ac_delim
-QMAKE_LIBTOOL!$QMAKE_LIBTOOL$ac_delim
HAVE_SUN_OS_TRUE!$HAVE_SUN_OS_TRUE$ac_delim
HAVE_SUN_OS_FALSE!$HAVE_SUN_OS_FALSE$ac_delim
HAVE_OSF1_OS_TRUE!$HAVE_OSF1_OS_TRUE$ac_delim
fi
fi
+# clean up any old junk
+echo " "
+echo "Cleaning up"
+echo " "
+make clean
+
if test "x${db_type}" = "xInternal" ; then
echo " "
echo " "