aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2010-12-06 19:51:27 -0500
committerAlan Brault <alan.brault@incruentatus.net>2010-12-06 19:51:27 -0500
commit5cd0319f34e5f7bcfd867d4a3a3d2707727b4757 (patch)
tree1680e6e6d1c3d8fa0d9a2062ed4599b961b174d1 /configure.ac
parent4507e17c12b952c02160ec30a16df66b8c9cf10d (diff)
downloadNetNuke2-5cd0319f34e5f7bcfd867d4a3a3d2707727b4757.tar.gz
Bundle sysfsutils for portability reasons
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7ac1a6b..f563e42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,10 @@
AC_PREREQ([2.66])
AC_INIT([NetNuke], [2.0.2], [jhunkeler@gmail.com], [netnuke], [https://github.com/jhunkeler/NetNuke])
AM_INIT_AUTOMAKE(1.11.1)
-AM_MAINTAINER_MODE
+
AC_CONFIG_SRCDIR([src/netnuke.c])
AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_SUBDIRS([sysfsutils])
CFLAGS="-Wall -O2 -I../include -static"
LDFLAGS="-lpthread -lrt"
@@ -18,7 +19,7 @@ AC_CHECK_LIB([pthread], [pthread_create], [],
[AC_MSG_ERROR([required library pthread missing])])
# Checks for header files.
-AC_CHECK_HEADERS_ONCE([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h sysfs/libsysfs.h])
+AC_CHECK_HEADERS_ONCE([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T