mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-09 06:40:24 +08:00
c7c23418fd
* */Makefile.am $(OBJECTS): depend on libtool (libtool): rebuild automatically
28 lines
486 B
Plaintext
28 lines
486 B
Plaintext
dnl Initialize the hell package.
|
|
AC_INIT(hello.c)
|
|
AM_INIT_AUTOMAKE(hell,1.0)
|
|
|
|
AC_PROG_CC
|
|
AC_C_CONST
|
|
AC_EXEEXT
|
|
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)
|
|
|
|
AM_CONDITIONAL(BINARY_HELLDL, [dnl
|
|
grep '^global_symbol_pipe=..*$' ./libtool >/dev/null])
|
|
|
|
AC_CHECK_HEADERS(string.h math.h)
|
|
|
|
AC_CHECK_LIBM
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|