diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..3ae79ab --- /dev/null +++ b/configure.ac @@ -0,0 +1,29 @@ +AC_PREREQ([2.66]) +AC_INIT([NetNuke], [2.0.2], [jhunkeler@gmail.com]) +AM_INIT_AUTOMAKE(1.11.1) +AM_MAINTAINER_MODE +AC_CONFIG_SRCDIR([src/netnuke.c]) +AC_CONFIG_HEADERS([config.h]) + +# Checks for programs. +AC_PROG_CC_C99 +AS_IF([test "$ac_cv_prog_cc_c99" = "no"], + [AC_MSG_ERROR([no C99 compiler found. Aborting.])]) + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_UID_T + +# Checks for library functions. +AC_FUNC_MALLOC +AC_CHECK_FUNCS([memmove memset strerror strncasecmp]) + +AC_CONFIG_FILES( \ + Makefile \ + src\Makefile) + +AC_OUTPUT |