This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/33278] [4.3 Regression] libjava fails to compile if configure argument contains "version"
- From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2007 12:28:45 -0000
- Subject: [Bug libgcj/33278] [4.3 Regression] libjava fails to compile if configure argument contains "version"
- References: <bug-33278-7958@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from belyshev at depni dot sinp dot msu dot ru 2007-09-02 12:28 -------
(In reply to comment #1)
>> doesn't look robust either; what about
>
> gcjversion=`cat $srcdir/../gcc/BASE-VER`
>
Agreed, that's much better. To be even more robust, add quotes:
gcjversion=`cat "$srcdir/../gcc/BASE-VER"`
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33278