This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch, libjava]: Fix broken test for LIBFFINCS


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
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]