xref: /aosp_15_r20/external/libnfnetlink/configure.ac (revision a376eb3279f225b393114c4820c780cbda860a6c)
1*a376eb32SXin Lidnl Process this file with autoconf to create configure.
2*a376eb32SXin Li
3*a376eb32SXin LiAC_INIT(libnfnetlink, 1.0.1)
4*a376eb32SXin LiAC_CONFIG_AUX_DIR([build-aux])
5*a376eb32SXin LiAC_CONFIG_MACRO_DIR([m4])
6*a376eb32SXin LiAC_CANONICAL_HOST
7*a376eb32SXin Li
8*a376eb32SXin LiAM_INIT_AUTOMAKE([-Wall foreign subdir-objects
9*a376eb32SXin Li	tar-pax no-dist-gzip dist-bzip2 1.6])
10*a376eb32SXin Li
11*a376eb32SXin Lidnl kernel style compile messages
12*a376eb32SXin Lim4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
13*a376eb32SXin Li
14*a376eb32SXin LiAC_PROG_CC
15*a376eb32SXin LiAM_PROG_CC_C_O
16*a376eb32SXin LiAC_DISABLE_STATIC
17*a376eb32SXin LiAM_PROG_LIBTOOL
18*a376eb32SXin Li
19*a376eb32SXin Licase "$host" in
20*a376eb32SXin Li*-*-linux*) ;;
21*a376eb32SXin Li*) AC_MSG_ERROR([Linux only, dude!]);;
22*a376eb32SXin Liesac
23*a376eb32SXin Li
24*a376eb32SXin Li
25*a376eb32SXin Lidnl--------------------------------
26*a376eb32SXin Lidnl--------------------------------
27*a376eb32SXin Li
28*a376eb32SXin Li
29*a376eb32SXin Lidnl Output the makefile
30*a376eb32SXin LiAC_CONFIG_FILES([Makefile src/Makefile include/Makefile
31*a376eb32SXin Li	include/libnfnetlink/Makefile utils/Makefile libnfnetlink.pc])
32*a376eb32SXin LiAC_OUTPUT
33