Ignore:
Timestamp:
Aug 4, 2005, 12:55:39 PM (15 years ago)
Author:
pguyot (Paul Guyot)
Message:

Removed useless fork test (since fork just doesn't work with Tcl).
Configure now tests if threads are enabled (generate an errors if they are not)
and if the thread package is present. If it is not, our own thread package
is installed (I decided to take the vanilla tarball and to patch it to get
it installed into $prefix/share/darwinports/Tcl/).
Removed the wrapper for porttrace, using only the thread flavor of the slave
implementation (the fork implementation never really worked).

I haven't tested this on 10.3 yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure.ac

    r13243 r13350  
    8181OD_TCL_PACKAGE_DIR
    8282
     83# Check if thread package is already installed.
     84OD_TCL_THREAD_SUPPORT
     85
     86# If thread package isn't installed, configure and install thread package.
     87if test "$with_tclthread" = "yes"; then
     88        OUR_TCL_THREAD_PACKAGE=thread2.6.2
     89        AC_CONFIG_SUBDIRS([src/thread2.6.2])
     90        # Extract thread package
     91        (cd src/; gzip -d < thread2.6.2.tar.gz | tar xf -)
     92        # Patch thread package (so thread2.6.2 is the vanilla distribution directory)
     93        patch -p0 < src/thread2.6.2.diff
     94else
     95        OUR_TCL_THREAD_PACKAGE=
     96fi
     97AC_SUBST(OUR_TCL_THREAD_PACKAGE)
     98
    8399# Allows building of shared libraries
    84100SC_ENABLE_SHARED
     
    137153        doc/macosx.mtree
    138154        doc/ports.conf
     155        src/Makefile
    139156        src/darwinports1.0/darwinports_autoconf.tcl
    140157        src/port1.0/port_autoconf.tcl
Note: See TracChangeset for help on using the changeset viewer.