]> gitweb @ CieloNegro.org - daemon.git/blobdiff - configure.ac
Done!
[daemon.git] / configure.ac
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..a48bcd1
--- /dev/null
@@ -0,0 +1,34 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.63])
+AC_INIT([daemon], [1.8], [pho@cielonegro.org])
+
+AM_INIT_AUTOMAKE
+AC_CONFIG_SRCDIR([daemon.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([stdlib.h sys/param.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h])
+AC_CHECK_HEADERS([sys/file.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_TYPE_PID_T
+AC_TYPE_MODE_T
+AC_TYPE_SSIZE_T
+
+# Checks for library functions.
+AC_CHECK_FUNCS([ftruncate])
+AC_CHECK_FUNCS([strtol])
+AC_FUNC_MALLOC
+
+AC_CONFIG_FILES([
+        Makefile
+])
+AC_OUTPUT