~ubuntu-branches/ubuntu/feisty/freeradius/feisty-security

« back to all changes in this revision

Viewing changes to src/modules/rlm_checkval/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AC_INIT(rlm_checkval.c)
2
 
AC_REVISION($Revision: 1.2 $)
 
2
AC_REVISION($Revision: 1.2.6.1 $)
3
3
AC_DEFUN(modname,[rlm_checkval])
4
4
 
5
5
if test x$with_[]modname != xno; then
6
6
 
7
 
        AC_PROG_CC
8
 
        AC_PROG_CPP
9
 
 
10
 
        ## We may need more complex checking here.  Assume for now that 
11
 
        ## everyone has it.
12
 
        AC_CHECK_HEADERS(regex.h)
 
7
        dnl  This module doesn't need any autoconf test which is not already
 
8
        dnl  in top-level configure.
13
9
 
14
10
        targetname=modname
15
11
else
17
13
        echo \*\*\* module modname is disabled.
18
14
fi
19
15
 
20
 
dnl  Don't change this section.
21
 
if test x"$fail" != x""; then
22
 
        if test x"${enable_strict_dependencies}" = x"yes"; then
23
 
                AC_MSG_ERROR([set --without-]modname[ to disable it explicitly.])
24
 
        else
25
 
                AC_MSG_WARN([silently not building ]modname[.])
26
 
                AC_MSG_WARN([FAILURE: ]modname[ requires: $fail.]); 
27
 
                targetname=""
28
 
        fi
29
 
fi
30
 
 
31
 
 
32
 
AC_SUBST(checkval_cflags)
33
 
AC_SUBST(checkval_ldflags)
34
 
 
35
 
AC_CONFIG_HEADER(config.h)  # delete if you don't want a config.h file.
36
 
 
37
16
AC_SUBST(targetname)
38
17
AC_OUTPUT(Makefile)