mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-15 06:49:57 +08:00
d71a558fe0
* demo/configure.in: use AC_LIBTOOL_DLOPEN * libtool.m4: added AC_ENABLE/DISABLE_FAST_INSTALL macro * ltconfig.in: added --disable-fast-install flag * ltmain.in: partially reverted Alexandre's patch and implemented on-demand linking in such a way that the old developer-friendly linking style is optional, don't hardcode library paths that are in the system search path, fixed a typo in lib_search_path, implemented -export-symbols-regex for programs
27 lines
463 B
Plaintext
27 lines
463 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
|
|
|
|
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)
|