1999-03-20 08:27:33 +08:00
|
|
|
dnl Process this file with autoconf to create configure.
|
|
|
|
|
1998-11-25 04:32:39 +08:00
|
|
|
AC_INIT(main.c)
|
1998-12-16 14:22:02 +08:00
|
|
|
AM_INIT_AUTOMAKE(depdemo,0.1)
|
1998-11-25 04:32:39 +08:00
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_EXEEXT
|
1999-01-27 13:36:49 +08:00
|
|
|
AM_PROG_LIBTOOL
|
1999-03-12 05:28:36 +08:00
|
|
|
AC_SUBST(LIBTOOL_DEPS)
|
1998-11-25 04:32:39 +08:00
|
|
|
|
1999-03-14 01:41:49 +08:00
|
|
|
if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
|
|
|
|
STATIC=-static
|
|
|
|
else
|
|
|
|
STATIC=
|
|
|
|
fi
|
|
|
|
AC_SUBST(STATIC)
|
|
|
|
|
1999-01-09 17:51:44 +08:00
|
|
|
AC_CHECK_HEADERS(math.h)
|
|
|
|
|
1999-02-13 23:43:04 +08:00
|
|
|
AC_CHECK_LIBM
|
1999-03-31 03:22:41 +08:00
|
|
|
AC_SUBST(LIBM)
|
1998-11-25 04:32:39 +08:00
|
|
|
|
|
|
|
dnl Output the makefile
|
1999-03-14 01:41:49 +08:00
|
|
|
AC_OUTPUT(
|
|
|
|
Makefile
|
|
|
|
l1/Makefile
|
|
|
|
l2/Makefile
|
|
|
|
l3/Makefile
|
|
|
|
l4/Makefile
|
|
|
|
)
|