dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.6 2004/12/10 02:34:46 mrsam Exp $
dnl
-dnl Copyright 1998 - 2004 Double Precision, Inc. See COPYING for
+dnl Copyright 1998 - 2010 Double Precision, Inc. See COPYING for
dnl distribution information.
AC_PREREQ(2.59)
>confdefs.h # Kill PACKAGE_ macros
AC_CONFIG_SRCDIR([atotimet.c])
+AC_CONFIG_AUX_DIR(../..)
AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([foreign no-define])
CFLAGS="$CFLAGS -Wall"
fi
+CFLAGS="-I.. -I${srcdir}/.. $CFLAGS"
+
dnl Checks for libraries.
dnl Checks for header files.
-AC_CHECK_HEADERS(unistd.h)
+AC_CHECK_HEADERS(unistd.h stdint.h)
+
+AC_CHECK_TYPE(int64_t, [ : ],
+ [
+ AC_DEFINE_UNQUOTED(int64_t,long long,[default definition of int64_t])
+ ])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T
AC_TYPE_PID_T
+AC_SYS_LARGEFILE
dnl Checks for library functions.