-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
executable file
·36 lines (28 loc) · 1008 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## Process this file with autoconf to produce configure.
## In general, the safest way to proceed is to run the following:
## % aclocal -I . -I `pwd`/../autoconf && autoheader && autoconf && automake
##
## The above line didn't work for me, but this one did:
## aclocal && libtoolize && autoheader && autoconf && automake --add-missing
# make sure we're interpreted by some minimal autoconf
AC_PREREQ(2.57)
AC_INIT([dnswall], [0.1.4], [opensource@google.com])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/dnswall.c])
AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_LANG([C++])
AC_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h stdlib.h string.h strings.h sys/socket.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CHECK_FUNCS([bzero socket])
AC_CONFIG_FILES([Makefile
src/Makefile
test/Makefile])
AC_OUTPUT