blob: e77b4f20ebf17c30047553b52983578b360c9aba [file] [log] [blame]
Ravi Gummadidala5dcfae22013-01-23 20:13:27 -08001# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.65])
5AC_INIT(data-ipa, 1.0.0)
6AM_INIT_AUTOMAKE(data-ipa, 1.0.0)
7AC_OUTPUT(Makefile ipanat/src/Makefile ipacm/src/Makefile)
8AC_CONFIG_SRCDIR([ipanat/src/ipa_nat_drv.c])
9AC_CONFIG_HEADERS([config.h])
10AC_CONFIG_MACRO_DIR([m4])
11
12# Checks for programs.
13AC_PROG_CC
14AC_PROG_LIBTOOL
15AC_PROG_CXX
16
Ekta Shah17889f92013-03-06 18:20:32 -080017PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
18AC_SUBST([LIBXML_CFLAGS])
19AC_SUBST([LIBXML_LIBS])
Ravi Gummadidala5dcfae22013-01-23 20:13:27 -080020
21# Checks for libraries.
22
23# Checks for header files.
24AC_CHECK_HEADERS([fcntl.h netinet/in.h sys/ioctl.h unistd.h])
25
26# Checks for typedefs, structures, and compiler characteristics.
27AC_TYPE_OFF_T
28
29# Checks for library functions.
30AC_FUNC_MALLOC
31AC_FUNC_MMAP
32AC_CHECK_FUNCS([memset munmap])
33
34AC_OUTPUT