re PR libgcj/33278 (libjava fails to compile if configure argument contains "version")

2007-09-05  Matthias Klose  <doko@ubuntu.com>

	PR libgcj/33278
	* configure.ac: Robustify extraction of gcj version.
	* configure: Regenerate.

From-SVN: r128104
This commit is contained in:
Matthias Klose 2007-09-04 21:32:41 +00:00 committed by Matthias Klose
parent b2e34bc125
commit acd29efb0f
3 changed files with 8 additions and 2 deletions

2
libjava/configure vendored
View file

@ -26188,7 +26188,7 @@ esac
# Determine gcj and libgcj version number.
gcjversion=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
gcjversion=`cat "$srcdir/../gcc/BASE-VER"`
libgcj_soversion=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
GCJVERSION=$gcjversion