diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-01-24 19:50:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-01-24 19:50:36 +0000 |
commit | 3f5d3ceed000edc91d94944672acedfec741633f (patch) | |
tree | 82a628174d30d200b263c3004735256437fb9df5 /configure | |
parent | 47ccf37c62e364e75342de7e62d27d539c65dc14 (diff) | |
download | postgresql-3f5d3ceed000edc91d94944672acedfec741633f.tar.gz |
Cope with gcc that outputs a multiline version string, per Trond.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1481,7 +1481,7 @@ else if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.C | *.o | *.obj) ;; + *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -1629,7 +1629,7 @@ fi # Create compiler version string if test x"$GCC" = x"yes" ; then - cc_string="GCC `${CC} --version`" + cc_string="GCC `${CC} --version | head -1`" else cc_string=$CC fi |