aclocal.m4 (gcc_version_trigger): Use robust path construction.

* aclocal.m4 (gcc_version_trigger): Use robust path construction.
	* configure: Rebuilt.

From-SVN: r52331
This commit is contained in:
Loren J. Rittle 2002-04-15 20:42:28 +00:00 committed by Loren J. Rittle
parent 8fe2d85392
commit a2b3412ca3
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-04-15 Loren J. Rittle <ljrittle@acm.org>
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
* configure: Rebuilt.
2002-04-11 Toon Moene <toon@moene.indiv.nluug.nl> 2002-04-11 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/lio.h: Treat INTEGER*1 as signed char. * libI77/lio.h: Treat INTEGER*1 as signed char.

2
libf2c/aclocal.m4 vendored
View File

@ -179,7 +179,7 @@ version_specific_libs=no)dnl
# Option set, now we can test it. # Option set, now we can test it.
AC_MSG_RESULT($version_specific_libs) AC_MSG_RESULT($version_specific_libs)
gcc_version_trigger=${srcdir}/../gcc/version.c gcc_version_trigger=${toplevel_srcdir}/gcc/version.c
gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'` gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/'`
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'` gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
AC_SUBST(gcc_version) AC_SUBST(gcc_version)

2
libf2c/configure vendored
View File

@ -1252,7 +1252,7 @@ fi
# Option set, now we can test it. # Option set, now we can test it.
echo "$ac_t""$version_specific_libs" 1>&6 echo "$ac_t""$version_specific_libs" 1>&6
gcc_version_trigger=${srcdir}/../gcc/version.c gcc_version_trigger=${toplevel_srcdir}/gcc/version.c
gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'` gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'` gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`