File: configure.in

package info (click to toggle)
libapache2-mod-defensible 1.4-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 1,368 kB
  • ctags: 45
  • sloc: sh: 8,963; ansic: 277; makefile: 52
file content (25 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (3)
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
# configure.in for mod_defensible
# © 2007 Julien Danjou <julien@danjou.info>

AC_INIT(mod_defensible)
AM_INIT_AUTOMAKE(mod_defensible, 1.2)

AC_CONFIG_SRCDIR(mod_defensible.c) 

AC_PROG_CC
AM_PROG_LIBTOOL

# check for apxs tool 
AC_PATH_PROG(APXS2, [apxs2])

AC_ARG_WITH(udns,
        [  --with-udns             use udns library to resolve (better performance)],
        [AC_CHECK_LIB([udns], [dns_init],
            ,
            AC_MSG_ERROR([udns not found]))
        ],
)
AC_SUBST(UDNS_LIBS)

AC_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile)