summaryrefslogtreecommitdiff
path: root/configure.scan
diff options
context:
space:
mode:
Diffstat (limited to 'configure.scan')
-rw-r--r--configure.scan30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure.scan b/configure.scan
new file mode 100644
index 0000000..7b9b426
--- /dev/null
+++ b/configure.scan
@@ -0,0 +1,30 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(acconfig.h)
+
+dnl Checks for programs.
+AC_PROG_CXX
+AC_PROG_AWK
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h unistd.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_C_INLINE
+AC_TYPE_SIZE_T
+
+dnl Checks for library functions.
+AC_FUNC_ALLOCA
+AC_FUNC_MMAP
+AC_CHECK_FUNCS(getcwd getwd putenv strdup)
+
+AC_OUTPUT(doc/Makefile intl/Makefile Makefile lib/Makefile include/Makefile src/Makefile)