1 dnl Process this file with autoconf to create configure.
6 [ --with-auxdir=DIR path to autoconf auxiliary files],
7 [AC_CONFIG_AUX_DIR($with_auxdir)
8 dnl This is here just to satisfy automake.
9 ifelse(not,equal,[AC_CONFIG_AUX_DIR(../..)])],
10 [AC_CONFIG_AUX_DIR_DEFAULT])
12 # This is another blatant hack to work around automake bugs.
13 mkinstalldirs="$ac_aux_dir/mkinstalldirs"
14 AC_SUBST(mkinstalldirs)
16 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
17 if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then
18 # if libltdl is libtoolized, it is assumed to be stand-alone and
19 # installed unless the command line overrides it (tested above)
20 enable_ltdl_install=yes
22 AC_MSG_WARN([*** The top-level configure must select either])
23 AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
24 AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
28 AM_INIT_AUTOMAKE(libltdl,1.1,-)
29 AM_CONFIG_HEADER(config.h)
38 AC_SUBST(LIBTOOL_DEPS)
40 AC_MSG_CHECKING([for garbage collector to use])
41 AC_ARG_ENABLE(java-gc,
43 << --enable-java-gc=TYPE choose garbage collector [boehm]>>,
49 if test "$GC" = "boehm"; then
50 GCINCS='-I$(top_srcdir)/../../boehm-gc/include'
51 GCINCS="$GCINCS `cat ../../boehm-gc/boehm-cflags`"
52 AC_DEFINE(HAVE_BOEHM_GC)
58 dnl Output the makefile