"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
dbtool-1.9.tar.gz and dbtool-1.9.1.tar.gz

About: dbtool stores and retrieves data in a key/value format in a hash database.

configure.ac  (dbtool-1.9):configure.ac  (dbtool-1.9.1)
skipping to change at line 101 skipping to change at line 101
*-*-ultrix*) ;; *-*-ultrix*) ;;
*-*-lynxos) ;; *-*-lynxos) ;;
esac esac
# look for libs # look for libs
GDBM="yes" GDBM="yes"
BERKELEY="no" BERKELEY="no"
PCRE="no" PCRE="no"
# configure args # configure args
AC_ARG_WITH([berkeley],
[AS_HELP_STRING([--with-berkeley],
[Use berkeley library ])])
if test "x$with_berkeley" = "xno"; then
BERKELEY=no
GDBM=yes
elif test "x$with_berkeley" = "xyes"; then
BERKELEY=yes
GDBM=no
fi
AC_ARG_WITH([gdbm], AC_ARG_WITH([gdbm],
[AS_HELP_STRING([--with-gdbm=DIR], [AS_HELP_STRING([--with-gdbm],
[Use GNU gdbm library ])])
if test "x$with_gdbm" = "xno"; then
GDBM=no
elif test "x$with_gdbm" = "xyes"; then
GDBM=yes
fi
AC_ARG_WITH([gdbm-dir],
[AS_HELP_STRING([--with-gdbm-dir=DIR],
[Use GNU gdbm library in DIR])], [Use GNU gdbm library in DIR])],
[ [
AC_MSG_CHECKING([checking $with_gdbm_dir/include/gdbm.h presence]) AC_MSG_CHECKING([checking $with_gdbm_dir/include/gdbm.h presence])
if test -r "$with_gdbm_dir/include/gdbm.h" ; then if test -r "$with_gdbm_dir/include/gdbm.h" ; then
CXXFLAGS="-I$with_gdbm_dir/include $CXXFLAGS" CXXFLAGS="-I$with_gdbm_dir/include $CXXFLAGS"
CFLAGS="$CXXFLAGS" CFLAGS="$CXXFLAGS"
LDFLAGS="-L$with_gdbm_dir/lib $LDFLAGS" LDFLAGS="-L$with_gdbm_dir/lib $LDFLAGS"
LIBS="-lgdbm" LIBS="-lgdbm"
GDBM=yes
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
GDBM=no
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
]) ])
AC_ARG_WITH([pcre], AC_ARG_WITH([pcre-dir],
[AS_HELP_STRING([--with-pcre=DIR], [AS_HELP_STRING([--with-pcre-dir=DIR],
[Use GNU pcre library in DIR])], [Use GNU pcre library in DIR])],
[ [
AC_MSG_CHECKING([checking $with_pcre_dir/include/pcre.h presence]) AC_MSG_CHECKING([checking $with_pcre_dir/include/pcre.h presence])
if test -r "$with_pcre_dir/include/pcre.h" ; then if test -r "$with_pcre_dir/include/pcre.h" ; then
CXXFLAGS="-I$with_pcre_dir/include $CXXFLAGS" CXXFLAGS="-I$with_pcre_dir/include $CXXFLAGS"
CFLAGS="$CXXFLAGS" CFLAGS="$CXXFLAGS"
LDFLAGS="-L$with_pcre_dir/lib $LDFLAGS" LDFLAGS="-L$with_pcre_dir/lib $LDFLAGS"
LIBS="-lpcre" LIBS="-lpcre"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
 End of changes. 5 change blocks. 
3 lines changed or deleted 27 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS