One more try at correct paths to f771 headers.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 1998 22:46:10 +0000 (22:46 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 1998 22:46:10 +0000 (22:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19456 138bc75d-0d04-0410-961f-82ee72b054a4

libf2c/configure
libf2c/configure.in

index b4bfd40..45788f6 100755 (executable)
@@ -1719,15 +1719,15 @@ fi
 echo $ac_n "checking f2c integer type""... $ac_c" 1>&6
 echo "configure:1721: checking f2c integer type" >&5
 late_ac_cpp=$ac_cpp
-if test "$srcdir" = . ; then
-  ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
-else
-  ac_cpp="$late_ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
+ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
+if test "$subdir" != . ; then
+  ac_cpp="$ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
 fi
 if eval "test \"`echo '$''{'g77_cv_sys_f2cinteger'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
-  cat > conftest.$ac_ext <<EOF
+  echo "configure:1730: using $ac_cpp" >&5
+cat > conftest.$ac_ext <<EOF
 #line 1732 "configure"
 #include "confdefs.h"
 #include "proj.h"
@@ -1750,8 +1750,9 @@ fi
 rm -f conftest*
 
 if test "$g77_cv_sys_f2cinteger" = ""; then
+echo "configure:1754: using $ac_cpp" >&5
   cat > conftest.$ac_ext <<EOF
-#line 1755 "configure"
+#line 1756 "configure"
 #include "confdefs.h"
 #include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
@@ -1786,18 +1787,18 @@ ac_cpp=$late_ac_cpp
 
 
 echo $ac_n "checking f2c long int type""... $ac_c" 1>&6
-echo "configure:1790: checking f2c long int type" >&5
+echo "configure:1791: checking f2c long int type" >&5
 late_ac_cpp=$ac_cpp
-if test "$srcdir" = . ; then
-  ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
-else
-  ac_cpp="$late_ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
+ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
+if test "$subdir" != . ; then
+  ac_cpp="$ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
 fi
 if eval "test \"`echo '$''{'g77_cv_sys_f2clongint'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
-  cat > conftest.$ac_ext <<EOF
-#line 1801 "configure"
+  echo "configure:1800: using $ac_cpp" >&5
+cat > conftest.$ac_ext <<EOF
+#line 1802 "configure"
 #include "confdefs.h"
 #include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
@@ -1819,8 +1820,9 @@ fi
 rm -f conftest*
 
 if test "$g77_cv_sys_f2clongint" = ""; then
+echo "configure:1824: using $ac_cpp" >&5
   cat > conftest.$ac_ext <<EOF
-#line 1824 "configure"
+#line 1826 "configure"
 #include "confdefs.h"
 #include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
index 3320f48..69d05d7 100644 (file)
@@ -253,12 +253,12 @@ fi
 # is in ../.. and the config files are in $srcdir/../../config.
 AC_MSG_CHECKING(f2c integer type)
 late_ac_cpp=$ac_cpp
-if test "$srcdir" = . ; then
-  ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
-else
-  ac_cpp="$late_ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
+ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
+if test "$subdir" != . ; then
+  ac_cpp="$ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
 fi
 AC_CACHE_VAL(g77_cv_sys_f2cinteger,
+echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
 AC_EGREP_CPP(F2C_INTEGER=long int,
 [#include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
@@ -273,6 +273,7 @@ F2C_INTEGER=int
 ],
  g77_cv_sys_f2cinteger="long int",)
 if test "$g77_cv_sys_f2cinteger" = ""; then
+echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
   AC_EGREP_CPP(F2C_INTEGER=int,
 [#include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
@@ -299,12 +300,12 @@ AC_SUBST(F2C_INTEGER)
 
 AC_MSG_CHECKING(f2c long int type)
 late_ac_cpp=$ac_cpp
-if test "$srcdir" = . ; then
-  ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
-else
-  ac_cpp="$late_ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
+ac_cpp="$late_ac_cpp -I../../gcc/f  -I../../gcc -I../../gcc/config"
+if test "$subdir" != . ; then
+  ac_cpp="$ac_cpp -I$srcdir/../gcc/f -I$srcdir/../gcc -I$srcdir/../gcc/config"
 fi
 AC_CACHE_VAL(g77_cv_sys_f2clongint,
+echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
 AC_EGREP_CPP(F2C_LONGINT=long int,
 [#include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1
@@ -319,6 +320,7 @@ F2C_LONGINT=long long int
 ],
  g77_cv_sys_f2clongint="long int",)
 if test "$g77_cv_sys_f2clongint" = ""; then
+echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
   AC_EGREP_CPP(F2C_LONGINT=long long int,
 [#include "proj.h"
 #define FFECOM_DETERMINE_TYPES 1