From: Richard Henderson Date: Mon, 27 Apr 1998 22:46:10 +0000 (-0700) Subject: One more try at correct paths to f771 headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8746c235643f933be01161215004993606b94a8a;p=gcc.git One more try at correct paths to f771 headers. From-SVN: r19456 --- diff --git a/libf2c/configure b/libf2c/configure index b4bfd40bc7c..45788f63e75 100755 --- a/libf2c/configure +++ b/libf2c/configure @@ -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 <&5 +cat > conftest.$ac_ext <&5 cat > conftest.$ac_ext <&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 <&5 +cat > conftest.$ac_ext <&5 cat > conftest.$ac_ext <&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