mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
1c0ec8cf1c
multi-language-branch. * configure.in: Added pdemo and tagdemo to CONF_SUBDIRS and merged references to CXX and GCJ from multi-language-branch. *pdemo: Added test directory from multi-language-branch. *tagdemo: Added test directory from multi-language-branch. *tests/Makefile.am: Merged additional tests from multi-language-branch. *tests/pdemo-*.test: ditto. *tests/tagdemo-*.test: ditto.
30 lines
543 B
Plaintext
30 lines
543 B
Plaintext
dnl Process this file with autoconf to create configure.
|
|
|
|
AC_INIT(longer_file_name_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
|
|
AC_SUBST(LIBM)
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|