dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.11 2008/05/08 15:38:46 mrsam Exp $
dnl
dnl Copyright 1998 - 2001 Double Precision, Inc. See COPYING for
dnl distribution information.
>confdefs.h # Kill PACKAGE_ macros
AC_CONFIG_SRCDIR(makedatprog.c)
+AC_CONFIG_AUX_DIR(../..)
AM_INIT_AUTOMAKE([foreign no-define])
LPATH="$PATH:/usr/local/bin"
AM_CONFIG_HEADER(config.h)
AC_PATH_PROGS(CAT, cat, cat)
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
+AC_SYS_LARGEFILE
if test x$GCC = xyes
then
CXXFLAGS="-Wall $CXXFLAGS"
fi
-CFLAGS="-I$srcdir/.. -I.. $CFLAGS"
-CXXFLAGS="-I$srcdir/.. -I.. $CXXFLAGS"
+CFLAGS="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CFLAGS"
+CXXFLAGS="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CXXFLAGS"
dnl Check whether we should use gdbm, or db.
-. ../dbobj.config
+. ../../dbobj.config
if test "$dblibrary" != ""
then
- dblibrary="../$dblibrary"
+ dblibrary="../../$dblibrary"
fi
AC_SUBST(dblibrary)