+2005-12-08 Peter O'Gorman <peter@pogma.com>
+
+ * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
+ [darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
+ Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
2005-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bootstrap: always remove Makefile, to avoid triggering the
# by either setting the environment variable LT_MULTI_MODULE
# non-empty at configure time, or by adding -multi-module to the
# link flags.
- echo "int foo(void){return 1;}" > conftest.$ac_ext
- $CC $CLFAGS $LDFLAGS -o libconftest.dylib \
- -dynamiclib ${wl}-single_module conftest.$ac_ext
+ echo "int foo(void){return 1;}" > conftest.c
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib ${wl}-single_module conftest.c
if test -f libconftest.dylib; then
lt_cv_apple_cc_single_mod=yes
rm libconftest.dylib
# by either setting the environment variable LT_MULTI_MODULE
# non-empty at configure time, or by adding -multi-module to the
# link flags.
- echo "int foo(void){return 1;}" > conftest.$ac_ext
- $CC $CLFAGS $LDFLAGS -o libconftest.dylib \
- -dynamiclib ${wl}-single_module conftest.$ac_ext
+ echo "int foo(void){return 1;}" > conftest.c
+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+ -dynamiclib ${wl}-single_module conftest.c
if test -f libconftest.dylib; then
lt_cv_apple_cc_single_mod=yes
rm libconftest.dylib