mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
68799c0077
new macros * NEWS: ditto * libltdl/configure.in: if none of the new macros or configure arguments are used, warn and build convenience library only * libltdl/Makefile.am: conditionally build convenience libltdl.la * mdemo/configure.in: use AC_LIBLTDL_CONVENIENCE * mdemo/Makefile.am: refer to @LIBLTDL@
31 lines
641 B
Plaintext
31 lines
641 B
Plaintext
dnl Initialize the mdemo package.
|
|
AC_INIT(main.c)
|
|
AM_INIT_AUTOMAKE(mdemo,0.1)
|
|
|
|
AC_PROG_CC
|
|
AC_C_CONST
|
|
AC_EXEEXT
|
|
AC_LIBTOOL_DLOPEN
|
|
AM_PROG_LIBTOOL
|
|
|
|
dnl AC_LIBLTDL_CONVENIENCE(['${top_builddir}/../libltdl'])
|
|
dnl Since the package is flat, we need not use the line above,
|
|
dnl and not having macros in LIBLTDL allows us to build LIBLTDL
|
|
dnl on demand even with broken makes
|
|
AC_LIBLTDL_CONVENIENCE(../libltdl)
|
|
AC_SUBST(LIBLTDL)
|
|
|
|
if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
|
|
STATIC=-static
|
|
else
|
|
STATIC=
|
|
fi
|
|
AC_SUBST(STATIC)
|
|
|
|
AC_CHECK_HEADERS(math.h)
|
|
|
|
AC_CHECK_LIBM
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|