#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for tcejdb 1.0.46.
+# Generated by GNU Autoconf 2.69 for tcejdb 1.0.47.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Identity of this package.
PACKAGE_NAME='tcejdb'
PACKAGE_TARNAME='tcejdb'
-PACKAGE_VERSION='1.0.46'
-PACKAGE_STRING='tcejdb 1.0.46'
+PACKAGE_VERSION='1.0.47'
+PACKAGE_STRING='tcejdb 1.0.47'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
enable_off64
enable_swab
enable_uyield
+enable_tests
enable_bzip
enable_ubc
enable_zlib
# 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 tcejdb 1.0.46 to adapt to many kinds of systems.
+\`configure' configures tcejdb 1.0.47 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 tcejdb 1.0.46:";;
+ short | recursive ) echo "Configuration of tcejdb 1.0.47:";;
esac
cat <<\_ACEOF
--enable-off64 build with 64-bit file offset on 32-bit system
--enable-swab build for swapping byte-orders
--enable-uyield build for detecting race conditions
+ --enable-tests build with testcases
--enable-bzip build with BZIP2 compression
--disable-ubc build without the unified buffer cache assumption
--disable-zlib build without ZLIB compression
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-tcejdb configure 1.0.46
+tcejdb configure 1.0.47
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 tcejdb $as_me 1.0.46, which was
+It was created by tcejdb $as_me 1.0.47, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
enables="$enables (uyield)"
fi
+# Enable test cases
+# Check whether --enable-tests was given.
+if test "${enable_tests+set}" = set; then :
+ enableval=$enable_tests;
+fi
+
+if test "$enable_tests" = "yes"
+then
+ MYCPPFLAGS="$MYCPPFLAGS -D_MYTESTS"
+ enables="$enables (tests)"
+fi
-# Anable BZIP2 compression
+# Enable BZIP2 compression
# Check whether --enable-bzip was given.
if test "${enable_bzip+set}" = set; then :
enableval=$enable_bzip;
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcunit" >&5
+if test "$enable_tests" = "yes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcunit" >&5
$as_echo_n "checking for main in -lcunit... " >&6; }
if ${ac_cv_lib_cunit_main+:} false; then :
$as_echo_n "(cached) " >&6
as_fn_error $? "CUnit lubrary is required" "$LINENO" 5
fi
+ ac_fn_c_check_header_mongrel "$LINENO" "CUnit/Basic.h" "ac_cv_header_CUnit_Basic_h" "$ac_includes_default"
+if test "x$ac_cv_header_CUnit_Basic_h" = xyes; then :
+ true
+else
+ as_fn_error $? "CUnit/Basic.h is required" "$LINENO" 5
+fi
+
+
+fi
# Necessary headers
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by tcejdb $as_me 1.0.46, which was
+This file was extended by tcejdb $as_me 1.0.47, 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="\\
-tcejdb config.status 1.0.46
+tcejdb config.status 1.0.47
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS"
# Package name
-AC_INIT(tcejdb, 1.0.46)
+AC_INIT(tcejdb, 1.0.47)
# Package information
MYLIBVER=9
enables="$enables (uyield)"
fi
+# Enable test cases
+AC_ARG_ENABLE(tests,
+ AC_HELP_STRING([--enable-tests], [build with testcases]))
+if test "$enable_tests" = "yes"
+then
+ MYCPPFLAGS="$MYCPPFLAGS -D_MYTESTS"
+ enables="$enables (tests)"
+fi
-# Anable BZIP2 compression
+# Enable BZIP2 compression
AC_ARG_ENABLE(bzip,
AC_HELP_STRING([--enable-bzip], [build with BZIP2 compression]))
if test "$enable_bzip" = "yes"
fi
AC_CHECK_LIB(tcejdb, main, AC_MSG_WARN([old version of EJDB was found]))
-AC_CHECK_LIB(cunit, main, true, AC_MSG_ERROR([CUnit lubrary is required]))
+if test "$enable_tests" = "yes"
+then
+ AC_CHECK_LIB(cunit, main, true, AC_MSG_ERROR([CUnit lubrary is required]))
+ AC_CHECK_HEADER(CUnit/Basic.h, true, AC_MSG_ERROR([CUnit/Basic.h is required]))
+fi
# Necessary headers
AC_CHECK_HEADER(stdlib.h, true, AC_MSG_ERROR([stdlib.h is required]))