Fix Cygwin64 bug. No idea why this is needed, but TPTB have decreed it.
This commit is contained in:
parent
1253f4cade
commit
4de852447a
11
configure
vendored
11
configure
vendored
@ -10068,12 +10068,9 @@ fi
|
||||
|
||||
# The C++ compiler, if desired.
|
||||
|
||||
# Now actually check that the C++ compiler works if it is needed.
|
||||
want_cxx=no
|
||||
if test $enable_cxx != no; then
|
||||
test_CXXFLAGS=${CXXFLAGS+set}
|
||||
test_CXXFLAGS=${CXXFLAGS+set}
|
||||
|
||||
ac_ext=cpp
|
||||
ac_ext=cpp
|
||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
@ -10331,6 +10328,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
# Now actually check that the C++ compiler works if it is needed.
|
||||
want_cxx=no
|
||||
if test $enable_cxx != no; then
|
||||
|
||||
echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&5
|
||||
cxxflags_ac_prog_cxx=$CXXFLAGS
|
||||
cxxflags_list=ac_prog_cxx
|
||||
|
@ -1753,12 +1753,13 @@ AC_SUBST(MPIR_AS)
|
||||
|
||||
# The C++ compiler, if desired.
|
||||
|
||||
test_CXXFLAGS=${CXXFLAGS+set}
|
||||
|
||||
AC_PROG_CXX
|
||||
|
||||
# Now actually check that the C++ compiler works if it is needed.
|
||||
want_cxx=no
|
||||
if test $enable_cxx != no; then
|
||||
test_CXXFLAGS=${CXXFLAGS+set}
|
||||
|
||||
AC_PROG_CXX
|
||||
|
||||
echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AC_FD_CC
|
||||
cxxflags_ac_prog_cxx=$CXXFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user