[Box Backup-commit] COMMIT r3490 - box/trunk
subversion at boxbackup.org
subversion at boxbackup.org
Fri Dec 26 23:16:32 GMT 2014
Author: chris
Date: 2014-12-26 23:16:32 +0000 (Fri, 26 Dec 2014)
New Revision: 3490
Modified:
box/trunk/configure.ac
Log:
Use autoconf standard mechanism to configure qdbm subdirectory.
This ensures that all the right command-line options are passed to qdbm's
configure script, and simplifies our configure script, and is more standard.
Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac 2014-12-26 23:16:28 UTC (rev 3489)
+++ box/trunk/configure.ac 2014-12-26 23:16:32 UTC (rev 3490)
@@ -6,6 +6,7 @@
AC_CONFIG_SRCDIR([lib/common/Box.h])
AC_CONFIG_AUX_DIR([infrastructure])
AC_CONFIG_HEADERS([lib/common/BoxConfig.h])
+AC_CONFIG_SUBDIRS([qdbm])
touch install-sh
AC_CANONICAL_SYSTEM
@@ -129,21 +130,6 @@
exit 1
fi
-cat parcels.txt | sed -e 's/#.*//' | while read cmd subdir configure_args; do
- if test "$cmd" = "subdir"; then
- echo
- export CC CXX CFLAGS CXXFLAGS LDFLAGS LIBS
- args="$configure_args --host=$host_alias --build=$build_alias --target=$target_alias"
- echo "Configuring $subdir with: $args"
-
- cd $subdir
- if ! ./configure $args; then
- echo "Configuring $subdir with $args failed!" >&2
- exit 1
- fi
- fi
-done || exit $?
-
# Write summary of important info
tee config.log.features <<EOC
A summary of the build configuration is below. Box Backup will function
More information about the Boxbackup-commit
mailing list