/[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.1 by fx, Thu Jun 5 18:23:04 2003 UTC revision 1.2.2.1.2.1 by fx, Mon Jun 16 15:19:52 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,Hans.Boehm@hp.com)
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
# Line 64  AC_ARG_ENABLE(parallel-mark, Line 64  AC_ARG_ENABLE(parallel-mark,
64  )  )
65    
66  AC_ARG_ENABLE(cplusplus,  AC_ARG_ENABLE(cplusplus,
67  [  --enable-cplusplus           include C++ support in GC library and include directory],  [  --enable-cplusplus           install C++ support],
68  )  )
69    
70  INCLUDES=-I${srcdir}/include  INCLUDES=-I${srcdir}/include
# Line 89  case "$THREADS" in Line 89  case "$THREADS" in
89          AC_DEFINE(GC_LINUX_THREADS)          AC_DEFINE(GC_LINUX_THREADS)
90          AC_DEFINE(_REENTRANT)          AC_DEFINE(_REENTRANT)
91          ;;          ;;
92         *-*-aix*)
93            AC_DEFINE(GC_AIX_THREADS)
94            AC_DEFINE(_REENTRANT)
95            ;;
96       *-*-hpux*)       *-*-hpux*)
97          AC_MSG_WARN("Only HP/UX 11 threads are supported.")          AC_MSG_WARN("Only HP/UX 11 threads are supported.")
98          AC_DEFINE(GC_HPUX_THREADS)          AC_DEFINE(GC_HPUX_THREADS)
# Line 116  case "$THREADS" in Line 120  case "$THREADS" in
120          AC_DEFINE(GC_WIN32_THREADS)          AC_DEFINE(GC_WIN32_THREADS)
121          ;;          ;;
122       *-*-darwin*)       *-*-darwin*)
123          AC_DEFINE(GC_MACOSX_THREADS)          AC_DEFINE(GC_DARWIN_THREADS)
124            AC_DEFINE(THREAD_LOCAL_ALLOC)
125            if test "${enable_parallel_mark}" = yes; then
126              AC_DEFINE(PARALLEL_MARK)
127            fi
128          ;;          ;;
129       *-*-osf*)       *-*-osf*)
130          AC_DEFINE(GC_OSF1_THREADS)          AC_DEFINE(GC_OSF1_THREADS)
# Line 159  AC_MSG_RESULT($THREADLIBS) Line 167  AC_MSG_RESULT($THREADLIBS)
167  esac  esac
168  AC_SUBST(THREADLIBS)  AC_SUBST(THREADLIBS)
169    
170  # I'm not too familiar with autoconf, is this the best way to do this? -Brian  case "$host" in
171       powerpc-*-darwin*)
172          powerpc_darwin=true
173          ;;
174    esac
175    AM_CONDITIONAL(POWERPC_DARWIN,test x$powerpc_darwin = xtrue)
176    
177    # We never want libdl on darwin. It is a fake libdl that just ends up making
178    # dyld calls anyway
179  case "$host" in  case "$host" in
180    *-*-darwin*) ;;    *-*-darwin*) ;;
181    *)    *)
# Line 183  TARGET_ECOS="$with_ecos" Line 199  TARGET_ECOS="$with_ecos"
199  )  )
200    
201  addobjs=  addobjs=
202    addlibs=
203  addincludes=  addincludes=
204  addtests=  addtests=
205  CXXINCLUDES=  CXXINCLUDES=
# Line 197  case "$TARGET_ECOS" in Line 214  case "$TARGET_ECOS" in
214  esac  esac
215    
216  if test "${enable_cplusplus}" = yes; then  if test "${enable_cplusplus}" = yes; then
       addobjs="$addobjs gc_cpp.lo"  
217        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
218        addtests="$addtests test_cpp"        addtests="$addtests test_cpp"
219  fi  fi
220    
221    AM_CONDITIONAL(CPLUSPLUS, test "${enable_cplusplus}" = yes)
222    
223  AC_SUBST(CXX)  AC_SUBST(CXX)
224    
225  AC_SUBST(INCLUDES)  AC_SUBST(INCLUDES)
# Line 276  fi Line 294  fi
294  addobjs="$addobjs $machdep"  addobjs="$addobjs $machdep"
295  AC_SUBST(addobjs)  AC_SUBST(addobjs)
296  AC_SUBST(addincludes)  AC_SUBST(addincludes)
297    AC_SUBST(addlibs)
298  AC_SUBST(addtests)  AC_SUBST(addtests)
299    
300  AC_PROG_LIBTOOL  AC_PROG_LIBTOOL

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.1.2.1

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