This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] libjava/configure.in for build in $srcdir
- From: DJ Delorie <dj at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 Apr 2002 22:03:05 -0400
- Subject: [patch] libjava/configure.in for build in $srcdir
With this patch, I can build both 3.1 and head in $srcdir.
I've applied it to head. Mark - OK for 3.1?
2002-04-15 DJ Delorie <dj@redhat.com>
* configure.in: Allow building in $srcdir.
* configure: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.in,v
retrieving revision 1.114.2.12
diff -p -2 -r1.114.2.12 configure.in
*** configure.in 11 Apr 2002 22:20:43 -0000 1.114.2.12
--- configure.in 16 Apr 2002 01:57:27 -0000
*************** AC_SUBST(THREADSPEC)
*** 429,433 ****
AC_SUBST(THREADLDFLAGS)
! AC_LINK_FILES(sysdep/$sysdeps_dir, sysdep)
HASH_SYNC_SPEC=
--- 429,434 ----
AC_SUBST(THREADLDFLAGS)
! if test -d sysdep; then true; else mkdir sysdep; fi
! AC_LINK_FILES(sysdep/$sysdeps_dir/locks.h, sysdep/locks.h)
HASH_SYNC_SPEC=
*************** GCC_UNWIND_INCLUDE='-I$(libgcj_basedir)/
*** 451,455 ****
# Figure out where generated headers like libgcj-config.h get installed.
changequote(,)dnl
! gcc_version_trigger=${srcdir}/../gcc/version.c
gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
--- 452,456 ----
# Figure out where generated headers like libgcj-config.h get installed.
changequote(,)dnl
! gcc_version_trigger=${libgcj_basedir}/../gcc/version.c
gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`