blob: ed549df8fdc546501959a5a2b818ed8746fcc449 [file] [log] [blame]
pkanwar8ba9c0c2017-02-08 19:05:01 -08001dnl Process this file with autoconf to create configure.
2
3AC_INIT(libnfnetlink, 1.0.1)
4AC_CONFIG_AUX_DIR([build-aux])
5AC_CONFIG_MACRO_DIR([m4])
6AC_CANONICAL_HOST
7
8AM_INIT_AUTOMAKE([-Wall foreign subdir-objects
9 tar-pax no-dist-gzip dist-bzip2 1.6])
10
11dnl kernel style compile messages
12m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
13
14AC_PROG_CC
15AM_PROG_CC_C_O
16AC_DISABLE_STATIC
17AM_PROG_LIBTOOL
18
19case "$host" in
20*-*-linux*) ;;
21*) AC_MSG_ERROR([Linux only, dude!]);;
22esac
23
24
25dnl--------------------------------
26dnl--------------------------------
27
28
29dnl Output the makefile
30AC_CONFIG_FILES([Makefile src/Makefile include/Makefile
31 include/libnfnetlink/Makefile utils/Makefile libnfnetlink.pc])
32AC_OUTPUT