libtool/mdemo/configure.in
Gary V. Vaughan e196a092e6 * mdemo/README: Explain the deliberate incompleteness of the
Windows port.
* mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL.
* mdemo/Makefile.am (LDFLAGS):  Add -no-undefined.
2000-01-14 13:50:21 +00:00

36 lines
725 B
Plaintext

dnl Process this file with autoconf to create configure.
AC_INIT(main.c)
AM_INIT_AUTOMAKE(mdemo,0.1)
AC_PROG_CC
AC_C_CONST
AC_EXEEXT
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)
AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
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
AC_SUBST(LIBM)
dnl Output the makefile
AC_OUTPUT(Makefile)