OSDN Git Service

2010-01-26 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2010 21:32:28 +0000 (21:32 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Jan 2010 21:32:28 +0000 (21:32 +0000)
* configure.ac: Test for executability of _the first word_ of GFORTRAN.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156264 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/configure
libgomp/configure.ac

index 4b20087..eab2079 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-26  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure.ac: Test for executability of _the first word_ of GFORTRAN.
+       * configure: Regenerate.
+
 2010-01-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR fortran/42866
index 2362500..d2018b8 100755 (executable)
@@ -11459,7 +11459,8 @@ case `echo $GFORTRAN` in
   -* | no* )
     FC=no ;;
   *)
-    if test -x "$GFORTRAN"; then
+    set dummy $GFORTRAN; ac_word=$2
+    if test -x "$ac_word"; then
       FC="$GFORTRAN"
     else
       FC=no
index 96c958a..fefffe9 100644 (file)
@@ -146,7 +146,8 @@ case `echo $GFORTRAN` in
   -* | no* )
     FC=no ;;
   *)
-    if test -x "$GFORTRAN"; then
+    set dummy $GFORTRAN; ac_word=$2
+    if test -x "$ac_word"; then
       FC="$GFORTRAN"
     else
       FC=no