mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
b94899573d
ltdl.m4. * libltdl/configure.in: Removed header checks, as they are * libltdl/ltdl.m4: Added header checks from configure.in, so that AC_LIB_LTDL is sufficient to compile ltdl.c. Reported by Stephan Kulow <coolo@kde.org>.
36 lines
877 B
Plaintext
36 lines
877 B
Plaintext
dnl Process this file with autoconf to create configure.
|
|
|
|
AC_INIT(ltdl.c)
|
|
|
|
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
|
|
if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then
|
|
# if libltdl is libtoolized, it is assumed to be stand-alone and
|
|
# installed unless the command line overrides it (tested above)
|
|
enable_ltdl_install=yes
|
|
else
|
|
AC_MSG_WARN([*** The top-level configure must select either])
|
|
AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
|
|
AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
|
|
fi
|
|
fi
|
|
|
|
AM_INIT_AUTOMAKE(libltdl,1.0,-)
|
|
AM_CONFIG_HEADER(config.h)
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_PROG_CC
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
|
|
AC_LIB_LTDL
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|
|
|
|
# Local Variables:
|
|
# mode:shell-script
|
|
# sh-indentation:2
|
|
# End:
|