source: main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure.in@ 25149

Last change on this file since 25149 was 25149, checked in by kjdon, 12 years ago

getting greenstone to work properly on 64 bit machines. COMPAT32BITFLAGS is no more. Don't need -m32 option. Instead, have ARCH_DEP_FLAGS, which gets -fPIC on 64 bit machines. Note that I have used version 2.63 of autoconf. SOme configure files had previously been generated with v 2.65. Have also got rid of lib64 for compiling expat and iconv - only need one version now, not 32 bit version for greenstone and 64 bit version for apache

File size: 766 bytes
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT([gdbm], [1.8.3])
3AC_PREREQ(2.54)
4AC_CONFIG_SRCDIR([gdbmdefs.h])
5AC_CONFIG_HEADERS([autoconf.h])
6
7dnl get $target_cpu, $target_vendor, and $target_os
8dnl (as well as host_*)
9AC_CANONICAL_SYSTEM
10
11AC_PROG_CC
12AC_PROG_CPP
13AC_PROG_INSTALL
14AM_PROG_LIBTOOL
15dnl AC_PROG_RANLIB
16dnl AC_C_BIGENDIAN([])
17
18AC_DEFINE_UNQUOTED(ARCH_DEP_FLAGS, $ARCH_DEP_FLAGS)
19AC_SUBST(ARCH_DEP_FLAGS)
20
21
22AC_C_CONST
23AC_CHECK_HEADERS([stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y])
24AC_CHECK_LIB(dbm, main)
25AC_CHECK_LIB(ndbm, main)
26AC_CHECK_FUNCS([rename ftruncate flock bcopy fsync])
27AC_REPLACE_FUNCS(getopt)
28AC_TYPE_OFF_T
29AC_CHECK_MEMBERS([struct stat.st_blksize])
30AC_CONFIG_FILES([Makefile])
31AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.