revision 1.309 of configure
revision 1.319 of configure.in
Use somewhat longer C++ program to detect whether linking requires the C++
compiler. Fixes #559429. 2.2 bugfix candidate.
#! /bin/sh
-# From configure.in Revision: 1.288.6.5
+# From configure.in Revision: 1.288.6.6
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
if test -z "$CXX"; then
LINKCC="\$(PURIFY) \$(CC)"
else
- echo 'int main(){return 0;}' > conftest.$ac_ext
+ echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
$CXX -c conftest.$ac_ext 2>&5
if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
&& test -s conftest$ac_exeext && ./conftest$ac_exeext
if test -z "$CXX"; then
LINKCC="\$(PURIFY) \$(CC)"
else
- echo 'int main(){return 0;}' > conftest.$ac_ext
+ echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
$CXX -c conftest.$ac_ext 2>&5
if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
&& test -s conftest$ac_exeext && ./conftest$ac_exeext