This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, libjava]: Fix broken test for LIBFFINCS
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch, libjava]: Fix broken test for LIBFFINCS
- From: Manfred Hollstein <manfredh at redhat dot com>
- Date: Mon, 10 Sep 2001 18:24:24 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- Reply-To: Manfred Hollstein <manfred dot h at gmx dot net>
Building the current tree shows this when running configure in
libjava's builddir:
/home/gnu/work/GNU/gcc-20010910/libjava/configure: top_srcdir: command not found
/home/gnu/work/GNU/gcc-20010910/libjava/configure: MULTIBUILDTOP: command not found
This is caused by using $(...) inside "..." quotes while '...' should
have been used. If nobody beats me to it, I'll be checking in the
patch below under the "fixes an obvious bug" rule.
Cheers.
l8er
manfred
2001-09-10 Manfred Hollstein <manfredh@redhat.com>
* configure.in (LIBFFIINCS): Quote uses of $(top_srcdir)
and $(MULTIBUILDTOP).
* configure: Re-generate.
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el gcc-20010910.orig/libjava/configure.in gcc-20010910/libjava/configure.in
--- gcc-20010910.orig/libjava/configure.in Fri Aug 17 11:11:03 2001
+++ gcc-20010910/libjava/configure.in Mon Sep 10 16:41:40 2001
@@ -170,7 +170,7 @@ LIBFFIINCS=
if test "$with_libffi" != no; then
AC_DEFINE(USE_LIBFFI)
LIBFFI=../libffi/libfficonvenience.la
- LIBFFIINCS="-I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include"
+ LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include'
fi
AC_SUBST(LIBFFI)
AC_SUBST(LIBFFIINCS)
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el gcc-20010910.orig/libjava/configure gcc-20010910/libjava/configure
--- gcc-20010910.orig/libjava/configure Fri Aug 17 11:11:49 2001
+++ gcc-20010910/libjava/configure Mon Sep 10 16:42:04 2001
@@ -2834,7 +2834,7 @@ if test "$with_libffi" != no; then
EOF
LIBFFI=../libffi/libfficonvenience.la
- LIBFFIINCS="-I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include"
+ LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I$(MULTIBUILDTOP)../libffi/include'
fi