1dnl Process this file with autoconf to create configure. 2 3AC_INIT(ltdl.c) 4 5dnl We shouldn't be using these internal macros of autoconf, 6dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake. 7AC_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 12if 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 22fi 23 24AM_INIT_AUTOMAKE(libltdl,1.2,-) 25AM_CONFIG_HEADER(config.h:config-h.in) 26AM_MAINTAINER_MODE 27 28AC_PROG_CC 29AC_C_CONST 30AC_C_INLINE 31 32AC_LIBTOOL_WIN32_DLL 33AM_PROG_LIBTOOL 34AC_SUBST(LIBTOOL_DEPS) 35 36AC_LIB_LTDL 37 38dnl Output the makefile 39AC_OUTPUT(Makefile) 40 41# Local Variables: 42# mode:shell-script 43# sh-indentation:2 44# End: 45