diff options
Diffstat (limited to 'libf2c/configure.in')
-rw-r--r-- | libf2c/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libf2c/configure.in b/libf2c/configure.in index a4c502c2424..6d18744034d 100644 --- a/libf2c/configure.in +++ b/libf2c/configure.in @@ -202,7 +202,7 @@ test -f libU77/makefile && mv libU77/makefile libU77/makefile.ori # Get the version trigger filename from the toplevel if [[ "${with_gcc_version_trigger+set}" = set ]]; then gcc_version_trigger=$with_gcc_version_trigger - gcc_version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${gcc_version_trigger}` + gcc_version=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'` else gcc_version_trigger= gcc_version=UNKNOWN |