~ubuntu-branches/ubuntu/hardy/freeradius/hardy-proposed

« back to all changes in this revision

Viewing changes to libltdl/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
 
dnl Process this file with autoconf to create configure.
2
 
 
3
 
AC_INIT(ltdl.c)
4
 
 
5
 
dnl We shouldn't be using these internal macros of autoconf,
6
 
dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
7
 
AC_ARG_WITH(auxdir,
8
 
[  --with-auxdir=DIR   path to autoconf auxiliary files],
9
 
[AC_CONFIG_AUX_DIRS($with_auxdir)],
10
 
[AC_CONFIG_AUX_DIR_DEFAULT])
11
 
 
12
 
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
13
 
  if test -f ${srcdir}/ltmain.sh; then
14
 
    # if libltdl is libtoolized, it is assumed to be stand-alone and
15
 
    # installed unless the command line overrides it (tested above)
16
 
    enable_ltdl_install=yes
17
 
  else
18
 
    AC_MSG_WARN([*** The top-level configure must select either])
19
 
    AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
20
 
    AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
21
 
  fi
22
 
fi
23
 
 
24
 
AM_INIT_AUTOMAKE(libltdl,1.2,-)
25
 
AM_CONFIG_HEADER(config.h:config-h.in)
26
 
AM_MAINTAINER_MODE
27
 
 
28
 
AC_PROG_CC
29
 
AC_C_CONST
30
 
AC_C_INLINE
31
 
 
32
 
AC_LIBTOOL_WIN32_DLL
33
 
AM_PROG_LIBTOOL
34
 
AC_SUBST(LIBTOOL_DEPS)
35
 
 
36
 
AC_LIB_LTDL
37
 
 
38
 
dnl Output the makefile
39
 
AC_OUTPUT(Makefile)
40
 
 
41
 
# Local Variables:
42
 
# mode:shell-script
43
 
# sh-indentation:2
44
 
# End: