OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / component / cfgroot / libltdl / configure.in
1 dnl Process this file with autoconf to create configure.
2
3 AC_INIT(ltdl.c)
4 AC_CONFIG_AUX_DIR(../../../config)
5
6 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
7   if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then
8     # if libltdl is libtoolized, it is assumed to be stand-alone and
9     # installed unless the command line overrides it (tested above)
10     enable_ltdl_install=yes
11   else
12     AC_MSG_WARN([*** The top-level configure must select either])
13     AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
14     AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
15   fi
16 fi
17
18 AM_INIT_AUTOMAKE(libltdl,1.1,-)
19 AM_CONFIG_HEADER(config.h)
20 AM_MAINTAINER_MODE
21
22 AC_PROG_CC
23 AC_C_CONST
24 AC_C_INLINE
25
26 AC_LIBTOOL_WIN32_DLL
27 AM_PROG_LIBTOOL
28 AC_SUBST(LIBTOOL_DEPS)
29
30 AC_LIB_LTDL
31
32 dnl Output the makefile
33 AC_OUTPUT(Makefile)
34
35 # Local Variables:
36 # mode:shell-script
37 # sh-indentation:2
38 # End: