[Gc] Tweaks to configure.ac and Makefile.direct

Petter Urkedal petter.urkedal at nordita.dk
Thu May 12 12:08:28 PDT 2005


Hans,

Thanks for including the Automake patche in alpha3.  Unfortunately I
didn't provide corresponding updates to Makefile.direct.  I see you did
most of it, but also boehm-gc.pc.in is needed in the source tree.  If
the pkg-config file and also autogen.sh were accepted, the
Makefile.direct tweak below should fix it.  I also "misspelled"
atomic_ops.h in configure.ac.


Others who run into the problem,

Say "touch boehm-gc.pc.in" in the source dir as a workaround.


Sincerely,
Petter


diff -c gc7.0alpha3/configure.ac gc-7.0_alpha3/configure.ac 
*** gc7.0alpha3.orig/configure.ac	2005-04-20 02:44:58.000000000 +0200
--- gc7.0alpha3/configure.ac	2005-05-12 20:05:24.584899432 +0200
***************
*** 490,496 ****
  dnl Atomic Ops
  dnl ----------
  
! AC_CHECK_HEADER(libatomic_ops.h,
    [ AC_MSG_NOTICE([Using pre-installed libatomic_ops]) ],
    [ ao_dir=
      for candidate in ${srcdir}/libatomic_ops*; do
--- 490,496 ----
  dnl Atomic Ops
  dnl ----------
  
! AC_CHECK_HEADER(atomic_ops.h,
    [ AC_MSG_NOTICE([Using pre-installed libatomic_ops]) ],
    [ ao_dir=
      for candidate in ${srcdir}/libatomic_ops*; do
diff -c gc7.0alpha3/Makefile.direct gc-7.0_alpha3/Makefile.direct 
*** gc7.0alpha3.orig/Makefile.direct	2005-04-20 02:51:05.000000000 +0200
--- gc7.0alpha3/Makefile.direct	2005-05-12 20:37:29.266303384 +0200
***************
*** 364,369 ****
--- 364,370 ----
             Mac_files/MacOS_config.h Mac_files/MacOS_Test_config.h \
             add_gc_prefix.c gc_cpp.cpp \
  	   version.h AmigaOS.c \
+ 	   boehm-gc.pc.in autogen.sh \
  	   $(TESTS) $(GNU_BUILD_FILES) $(OTHER_MAKEFILES)
  
  CORD_INCLUDE_FILES= $(srcdir)/include/gc.h $(srcdir)/include/cord.h \



More information about the Gc mailing list