mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
ad4654e94a
recognize it and fail, better keep using AM_PROG_LIBTOOL until the next release of automake * demo/configure.in, cdemo/configure.in: ditto * depdemo/configure.in, mdemo/configure.in: ditto
24 lines
399 B
Plaintext
24 lines
399 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
|
|
AM_PROG_LIBTOOL
|
|
|
|
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_LIB(m, cos, LIBADD_M="-lm", LIBADD_M=)
|
|
AC_SUBST(LIBADD_M)
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|