source: vendor/gcc/3.2.2/libjava/libltdl/configure.in

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.6 KB
Line 
1dnl Process this file with autoconf to create configure.
2
3AC_INIT(ltdl.c)
4
5AC_ARG_WITH(auxdir,
6[ --with-auxdir=DIR path to autoconf auxiliary files],
7[AC_CONFIG_AUX_DIR($with_auxdir)
8dnl This is here just to satisfy automake.
9ifelse(not,equal,[AC_CONFIG_AUX_DIR(../..)])],
10[AC_CONFIG_AUX_DIR_DEFAULT])
11
12# This is another blatant hack to work around automake bugs.
13mkinstalldirs="$ac_aux_dir/mkinstalldirs"
14AC_SUBST(mkinstalldirs)
15
16if 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
21 else
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?])
25 fi
26fi
27
28AM_INIT_AUTOMAKE(libltdl,1.1,-)
29AM_CONFIG_HEADER(config.h)
30AM_MAINTAINER_MODE
31
32AC_PROG_CC
33AC_C_CONST
34AC_C_INLINE
35
36AC_LIBTOOL_WIN32_DLL
37AM_PROG_LIBTOOL
38AC_SUBST(LIBTOOL_DEPS)
39
40AC_MSG_CHECKING([for garbage collector to use])
41AC_ARG_ENABLE(java-gc,
42changequote(<<,>>)dnl
43<< --enable-java-gc=TYPE choose garbage collector [boehm]>>,
44changequote([,])
45 GC=$enableval,
46 GC=boehm)
47
48GCINCS=
49if 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)
53fi
54AC_SUBST(GCINCS)
55
56AC_LIB_LTDL
57
58dnl Output the makefile
59AC_OUTPUT(Makefile)
60
61# Local Variables:
62# mode:shell-script
63# sh-indentation:2
64# End:
Note: See TracBrowser for help on using the repository browser.