mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-02-26 22:02:43 +08:00
25 lines
627 B
Plaintext
25 lines
627 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(extras/dump.c)
|
|
|
|
AC_PROG_CC(gcc)
|
|
dnl Checks for programs.
|
|
AC_PROG_MAKE_SET
|
|
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -libs:
|
|
AC_CHECK_LIB(ibs, main)
|
|
dnl Replace `main' with a function in -lmdb:
|
|
AC_CHECK_LIB(mdb, mdb_free_handle)
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(fcntl.h limits.h unistd.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_TYPE_SIZE_T
|
|
|
|
dnl Checks for library functions.
|
|
|
|
AC_OUTPUT(util/Makefile extras/Makefile Makefile libmdb/Makefile include/Makefile)
|