/[emacs]/emacs/gc/configure.in
ViewVC logotype

Diff of /emacs/gc/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.2 by fx, Fri Jun 6 09:42:46 2003 UTC revision 1.2.2.3 by fx, Mon Jun 16 15:36:45 2003 UTC
# Line 17  dnl Process this file with autoconf to p Line 17  dnl Process this file with autoconf to p
17  # Initialization  # Initialization
18  # ==============  # ==============
19    
20  AC_INIT(gc,6.2alpha4,Hans.Boehm@hp.com)  AC_INIT(gc,[6.2alpha6, modified for Emacs])
21      ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?      ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
22  AC_CONFIG_SRCDIR(gcj_mlc.c)  AC_CONFIG_SRCDIR(gcj_mlc.c)
23  AC_CANONICAL_TARGET  AC_CANONICAL_TARGET
24  AC_PREREQ(2.53)  AC_PREREQ(2.53)
 AC_REVISION($Revision$)  
25  GC_SET_VERSION  GC_SET_VERSION
26  AM_INIT_AUTOMAKE  AM_INIT_AUTOMAKE
27    
# Line 64  AC_ARG_ENABLE(parallel-mark, Line 63  AC_ARG_ENABLE(parallel-mark,
63  )  )
64    
65  AC_ARG_ENABLE(cplusplus,  AC_ARG_ENABLE(cplusplus,
66  [  --enable-cplusplus           include C++ support in GC library and include directory],  [  --enable-cplusplus           install C++ support],
67  )  )
68    
69  AC_ARG_ENABLE(cppflags,  AC_ARG_ENABLE(cppflags,
# Line 99  case "$THREADS" in Line 98  case "$THREADS" in
98          AC_DEFINE(GC_LINUX_THREADS)          AC_DEFINE(GC_LINUX_THREADS)
99          AC_DEFINE(_REENTRANT)          AC_DEFINE(_REENTRANT)
100          ;;          ;;
101         *-*-aix*)
102            AC_DEFINE(GC_AIX_THREADS)
103            AC_DEFINE(_REENTRANT)
104            ;;
105       *-*-hpux*)       *-*-hpux*)
106          AC_MSG_WARN("Only HP/UX 11 threads are supported.")          AC_MSG_WARN("Only HP/UX 11 threads are supported.")
107          AC_DEFINE(GC_HPUX_THREADS)          AC_DEFINE(GC_HPUX_THREADS)
# Line 126  case "$THREADS" in Line 129  case "$THREADS" in
129          AC_DEFINE(GC_WIN32_THREADS)          AC_DEFINE(GC_WIN32_THREADS)
130          ;;          ;;
131       *-*-darwin*)       *-*-darwin*)
132          AC_DEFINE(GC_MACOSX_THREADS)          AC_DEFINE(GC_DARWIN_THREADS)
133            AC_DEFINE(THREAD_LOCAL_ALLOC)
134            if test "${enable_parallel_mark}" = yes; then
135              AC_DEFINE(PARALLEL_MARK)
136            fi
137          ;;          ;;
138       *-*-osf*)       *-*-osf*)
139          AC_DEFINE(GC_OSF1_THREADS)          AC_DEFINE(GC_OSF1_THREADS)
# Line 169  AC_MSG_RESULT($THREADLIBS) Line 176  AC_MSG_RESULT($THREADLIBS)
176  esac  esac
177  AC_SUBST(THREADLIBS)  AC_SUBST(THREADLIBS)
178    
179  # I'm not too familiar with autoconf, is this the best way to do this? -Brian  case "$host" in
180       powerpc-*-darwin*)
181          powerpc_darwin=true
182          ;;
183    esac
184    AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue)
185    
186    # We never want libdl on darwin. It is a fake libdl that just ends up making
187    # dyld calls anyway
188  case "$host" in  case "$host" in
189    *-*-darwin*) ;;    *-*-darwin*) ;;
190    *)    *)
# Line 193  TARGET_ECOS="$with_ecos" Line 208  TARGET_ECOS="$with_ecos"
208  )  )
209    
210  addobjs=  addobjs=
211    addlibs=
212  addincludes=  addincludes=
213  addtests=  addtests=
214  CXXINCLUDES=  CXXINCLUDES=
# Line 207  case "$TARGET_ECOS" in Line 223  case "$TARGET_ECOS" in
223  esac  esac
224    
225  if test "${enable_cplusplus}" = yes; then  if test "${enable_cplusplus}" = yes; then
       addobjs="$addobjs gc_cpp.lo"  
226        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
227        addtests="$addtests test_cpp"        addtests="$addtests test_cpp"
228  fi  fi
229    
230    AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes)
231    
232  AC_SUBST(CXX)  AC_SUBST(CXX)
233    
234  AC_SUBST(INCLUDES)  AC_SUBST(INCLUDES)
# Line 286  fi Line 303  fi
303  addobjs="$addobjs $machdep"  addobjs="$addobjs $machdep"
304  AC_SUBST(addobjs)  AC_SUBST(addobjs)
305  AC_SUBST(addincludes)  AC_SUBST(addincludes)
306    AC_SUBST(addlibs)
307  AC_SUBST(addtests)  AC_SUBST(addtests)
308    
309  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26