libtool/mdemo/configure.in
Thomas Tanner e65f46d3fc * use the same header in all configure.in's and Makefile.am's
* NEWS: improved support for BeOS and Cygwin
* TODO: ILD branch was merged, all internal variables and macros
  are now documented
* demo/Makefile.am: use $(LIBS) instead of -lm
* doc/libtool.texi: documented new variable hardcode_into_libs
  and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros
  to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN
* libltdl/ltdl.c: added two new error messages (cannot_open_error,
  cannot_close_error), use them where approriate,
  BeOS support (thanks to Xavier Pianet), on BeOS search modules
  additionally in ADDON_PATH
* libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have
  libm and *-ncr-sysv4.3* requires libmw
* ltconfig.in: don't check for LoadLibrary, hardcode dlopen
  configuration for BeOS and Cygwin
* ltmain.in: fix sourcing of .la files on Solaris
  (patch by Raja R Harinath)
1999-03-20 00:27:33 +00:00

33 lines
688 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
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
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)