]> granicus.if.org Git - gc/commitdiff
boehm-gc:
authorro@138bc75d-0d04-0410-961f-82ee72b054a4 <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2003 21:34:19 +0000 (21:34 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:23 +0000 (10:54 +0400)
* configure.in: Set INCLUDES to absolute path.
Save $INCLUDES in boehm-cflags, too.
Set INCLUDES so it's available to config.status.
* configure: Regenerate.

libjava:
* configure.in: Don't initialize GCINCS to boehm-gc/include.
* configure: Regenerate.

libjava/libltdl:
* configure.in: Don't initialize GCINCS to boehm-gc/include.
* Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70233 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.in

index 7e0d91098297a67b723040e0b7701604ca76b4f8..f1dc38fe10ffabbc61e2adbebee412c8adb2a10c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+           Roger Sayle <roger@eyesopen.com>
+
+       * configure.in: Set INCLUDES to absolute path.
+       Save $INCLUDES in boehm-cflags, too.
+       Set INCLUDES so it's available to config.status.
+       * configure: Regenerate.
+
 2003-07-31  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/gc.h (GC_CreateThread): Declare with WINAPI
index e8ca37d9e8af5c927b7666b6d814f0eadcbeb825..05905ca355786c8f341a5f25e811d32f0b966f3c 100755 (executable)
--- a/configure
+++ b/configure
@@ -2722,7 +2722,7 @@ if test "${enable_parallel_mark+set}" = set; then
 fi
 
 
-INCLUDES=-I${srcdir}/include
+INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
 THREADLIBS=
 case "$THREADS" in
  no | none | single)
@@ -3792,11 +3792,12 @@ gc_basedir=${gc_basedir}
 CC="${CC}"
 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
 DEFS="$DEFS"
+INCLUDES="$INCLUDES"
 
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 
-echo "$DEFS" > boehm-cflags
+echo "$INCLUDES $DEFS" > boehm-cflags
 
 if test -n "$CONFIG_FILES"; then
   LD="${ORIGINAL_LD_FOR_MULTILIBS}"
index 99686242214cf0595237cbe089dde60dc9e31d4a..637c8ad35fdca5469c0b65e7c025a028539361a2 100644 (file)
@@ -63,7 +63,7 @@ AC_ARG_ENABLE(parallel-mark,
     esac]
 )
 
-INCLUDES=-I${srcdir}/include
+INCLUDES="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
 THREADLIBS=
 case "$THREADS" in
  no | none | single)
@@ -436,8 +436,8 @@ else
 fi
 
 AC_OUTPUT(Makefile include/Makefile, [
-dnl Put all the -D options in a file.
-echo "$DEFS" > boehm-cflags
+dnl Put all the -I and -D options in a file.
+echo "$INCLUDES $DEFS" > boehm-cflags
 
 if test -n "$CONFIG_FILES"; then
   LD="${ORIGINAL_LD_FOR_MULTILIBS}"
@@ -453,4 +453,5 @@ gc_basedir=${gc_basedir}
 CC="${CC}"
 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
 DEFS="$DEFS"
+INCLUDES="$INCLUDES"
 )