1 dnl Process this file with autoconf to create configure.
5 dnl We shouldn't be using these internal macros of autoconf,
6 dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
8 [ --with-auxdir=DIR path to autoconf auxiliary files],
9 [AC_CONFIG_AUX_DIRS($with_auxdir)],
10 [AC_CONFIG_AUX_DIR_DEFAULT])
12 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
13 if test -f ${srcdir}/ltconfig && 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
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?])
24 AM_INIT_AUTOMAKE(libltdl,1.1,-)
25 AM_CONFIG_HEADER(config.h)
34 AC_SUBST(LIBTOOL_DEPS)
36 AC_MSG_CHECKING([for garbage collector to use])
37 AC_ARG_ENABLE(java-gc,
39 << --enable-java-gc=TYPE choose garbage collector [boehm]>>,
45 if test "$GC" = "boehm"; then
46 GCINCS='-I$(top_srcdir)/../../boehm-gc -I$(top_builddir)/../../boehm-gc'
47 GCINCS="$GCINCS `cat ../../boehm-gc/boehm-cflags`"
48 AC_DEFINE(HAVE_BOEHM_GC)
54 dnl Output the makefile