From 3cf184a212678445ea3da3209cfd5da0b63feb41 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 6 Jan 2009 22:31:32 +0000 Subject: [PATCH] Regenerate. git-svn-id: https://svn.dealii.org/trunk@18105 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/deal.II/configure b/deal.II/configure index 589a50c270..aabb889d72 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 17948 . +# From configure.in Revision: 18101 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for deal.II 6.2.pre. # @@ -3004,8 +3004,21 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu CFLAGS="$OLDCFLAGS" -# Extract the first word of "$CC", so it can be a program name with args. -set dummy $CC; ac_word=$2 + + testprog="" + testargs="" + processingargs="no" + for i in $CC ; do + if test "$processingargs" = "no" ; then + testprog="$i" ; + processingargs="yes" ; + else + testargs="$testargs $i" ; + fi + done + + # Extract the first word of "$testprog", so it can be a program name with args. +set dummy $testprog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_CC+set}" = set; then @@ -3044,6 +3057,8 @@ echo "${ECHO_T}no" >&6; } fi + eval "CC=\"${CC} $testargs\"" + OLDCXXFLAGS="$CXXFLAGS" ac_ext=cpp @@ -3411,8 +3426,21 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu CXXFLAGS="$OLDCXXFLAGS" -# Extract the first word of "$CXX", so it can be a program name with args. -set dummy $CXX; ac_word=$2 + + testprog="" + testargs="" + processingargs="no" + for i in $CXX ; do + if test "$processingargs" = "no" ; then + testprog="$i" ; + processingargs="yes" ; + else + testargs="$testargs $i" ; + fi + done + + # Extract the first word of "$testprog", so it can be a program name with args. +set dummy $testprog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_CXX+set}" = set; then @@ -3451,6 +3479,8 @@ echo "${ECHO_T}no" >&6; } fi + eval "CXX=\"${CXX} $testargs\"" + if test "$GXX" = "yes" ; then -- 2.39.5