aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..827bed7
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,24 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT
+AC_CONFIG_SRCDIR(gen.c)
+
+dnl Checks for programs.
+AC_SET_MAKE
+AC_PROG_CC
+AC_PROG_RANLIB
+AC_PROG_INSTALL
+AC_PROG_LN_S
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(errno.h fcntl.h strings.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_FUNCS(strerror)
+
+dnl Checks for library functions.
+
+AC_CONFIG_FILES(Makefile)
+AC_OUTPUT