mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
29 lines
412 B
Plaintext
29 lines
412 B
Plaintext
dnl Initialize the depdemo package.
|
|
AC_INIT(main.c)
|
|
AM_INIT_AUTOMAKE(depdemo,0.1)
|
|
|
|
AC_PROG_CC
|
|
AC_EXEEXT
|
|
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
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(
|
|
Makefile
|
|
l1/Makefile
|
|
l2/Makefile
|
|
l3/Makefile
|
|
l4/Makefile
|
|
)
|