AC_PREREQ([2.64])
AC_INIT([network],
- [008],
+ [009],
[info@ipfire.org],
[network],
[http://www.ipfire.org/])
])
AM_SILENT_RULES([yes])
+LT_INIT([
+ disable-static
+ pic-only
+])
+
AC_PROG_LN_S
AC_PROG_MKDIR_P
AC_PROG_SED
-Wl,-z,now])
AC_SUBST([OUR_LDFLAGS], $with_ldflags)
+# ------------------------------------------------------------------------------
+
+AC_CHECK_HEADERS_ONCE([
+ ctype.h
+ errno.h
+ net/if.h
+ stdarg.h
+ stdio.h
+ stdlib.h
+ string.h
+ syslog.h
+])
+
+AC_CHECK_FUNCS([ \
+ __secure_getenv \
+ secure_getenv \
+])
+
# ------------------------------------------------------------------------------
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
AM_CONDITIONAL(HAVE_UDEV, [test -n "$with_udevdir"])
# ------------------------------------------------------------------------------
+
+PKG_CHECK_MODULES([LIBNL], [libnl-3.0 libnl-genl-3.0])
+
+# ------------------------------------------------------------------------------
+
+AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
Makefile
])