Last change
on this file since 26772 was 26772, checked in by davidb, 11 years ago |
Updated configure.in which separates test for bcopy and bcmp. Previously if the test for bcopy was OK, then assumed bcmp OK also. This wasn't the case on Android
|
File size:
771 bytes
|
Rev | Line | |
---|
[18019] | 1 | dnl Process this file with autoconf to produce a configure script.
|
---|
| 2 | AC_INIT([gdbm], [1.8.3])
|
---|
| 3 | AC_PREREQ(2.54)
|
---|
| 4 | AC_CONFIG_SRCDIR([gdbmdefs.h])
|
---|
| 5 | AC_CONFIG_HEADERS([autoconf.h])
|
---|
[18345] | 6 |
|
---|
| 7 | dnl get $target_cpu, $target_vendor, and $target_os
|
---|
| 8 | dnl (as well as host_*)
|
---|
| 9 | AC_CANONICAL_SYSTEM
|
---|
| 10 |
|
---|
[18019] | 11 | AC_PROG_CC
|
---|
| 12 | AC_PROG_CPP
|
---|
| 13 | AC_PROG_INSTALL
|
---|
| 14 | AM_PROG_LIBTOOL
|
---|
| 15 | dnl AC_PROG_RANLIB
|
---|
| 16 | dnl AC_C_BIGENDIAN([])
|
---|
[18345] | 17 |
|
---|
[25149] | 18 | AC_DEFINE_UNQUOTED(ARCH_DEP_FLAGS, $ARCH_DEP_FLAGS)
|
---|
| 19 | AC_SUBST(ARCH_DEP_FLAGS)
|
---|
[18345] | 20 |
|
---|
[21432] | 21 |
|
---|
[18019] | 22 | AC_C_CONST
|
---|
| 23 | AC_CHECK_HEADERS([stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y])
|
---|
| 24 | AC_CHECK_LIB(dbm, main)
|
---|
| 25 | AC_CHECK_LIB(ndbm, main)
|
---|
[26772] | 26 | AC_CHECK_FUNCS([rename ftruncate flock bcopy bcmp fsync])
|
---|
[18019] | 27 | AC_REPLACE_FUNCS(getopt)
|
---|
| 28 | AC_TYPE_OFF_T
|
---|
| 29 | AC_CHECK_MEMBERS([struct stat.st_blksize])
|
---|
| 30 | AC_CONFIG_FILES([Makefile])
|
---|
| 31 | AC_OUTPUT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.