diff options
| author | Sam Varshavchik | 2013-08-25 14:43:26 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2013-08-25 14:43:52 -0400 | 
| commit | a00fd90cded04581b53d107f07ad2ff4e83384b3 (patch) | |
| tree | 6525d7dfa86d4a84bca3b3ed188b7e54636e68d9 /numlib/configure.ac | |
| parent | 3587050bb0729dfc8759a84e7ffbc860662b1b25 (diff) | |
| download | courier-libs-a00fd90cded04581b53d107f07ad2ff4e83384b3.tar.bz2 | |
Renamed configure.in to configure.ac
Diffstat (limited to 'numlib/configure.ac')
| -rw-r--r-- | numlib/configure.ac | 49 | 
1 files changed, 49 insertions, 0 deletions
| diff --git a/numlib/configure.ac b/numlib/configure.ac new file mode 100644 index 0000000..5291521 --- /dev/null +++ b/numlib/configure.ac @@ -0,0 +1,49 @@ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright 1998 - 2010 Double Precision, Inc.  See COPYING for +dnl distribution information. + +AC_PREREQ(2.59) +AC_INIT(numlib, 0.10, courier-users@lists.sourceforge.net) + +>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]) +  +dnl Checks for programs. +AC_PROG_AWK +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_LIBTOOL + +if test "$GCC" = "yes" +then +	CFLAGS="$CFLAGS -Wall" +fi + +CFLAGS="-I.. -I${srcdir}/.. $CFLAGS" + +dnl Checks for libraries. + +dnl Checks for header files. + +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. + +AC_CHECK_FUNCS(setgroups initgroups) +AC_OUTPUT(Makefile) | 
