Index: configure =================================================================== diff -u -rb6d3b46941433b8c7321a6bcbfd9f6a407003559 -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- configure (.../configure) (revision b6d3b46941433b8c7321a6bcbfd9f6a407003559) +++ configure (.../configure) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -1365,6 +1365,9 @@ --with-all=yes|no, --without-all disables built of all --with-tclinclude directory containing the public Tcl header files. + --with-expat=sys assumes a system-wide expat installation, + --with-expat= point to a custom expat installation, + --without-expat falls back to the bundled expat installation --with-tcl directory containing tcl configuration (tclConfig.sh) --with-tk directory containing tk configuration (tkConfig.sh) @@ -1831,15 +1834,15 @@ The PACKAGE_NAME variable must be defined by your TEA configure.in" >&2;} { (exit 1); exit 1; }; } fi - if test x"3.6" = x ; then + if test x"3.7" = x ; then { { echo "$as_me:$LINENO: error: TEA version not specified." >&5 echo "$as_me: error: TEA version not specified." >&2;} { (exit 1); exit 1; }; } - elif test "3.6" != "${TEA_VERSION}" ; then - { echo "$as_me:$LINENO: result: warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&5 -echo "${ECHO_T}warning: requested TEA version \"3.6\", have \"${TEA_VERSION}\"" >&6; } + elif test "3.7" != "${TEA_VERSION}" ; then + { echo "$as_me:$LINENO: result: warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&5 +echo "${ECHO_T}warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&6; } else { echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5 echo "${ECHO_T}ok (TEA ${TEA_VERSION})" >&6; } @@ -2010,20 +2013,20 @@ fi -# Check whether --with-all was given. -if test "${with_all+set}" = set; then - withval=$with_all; with_all=$withval -else - with_all=no -fi - - # Check whether --with-tclinclude was given. if test "${with_tclinclude+set}" = set; then withval=$with_tclinclude; with_tclinclude=${withval} fi +# Check whether --with-expat was given. +if test "${with_expat+set}" = set; then + withval=$with_expat; with_expat=$withval +else + with_expat=bundle +fi + + subdirs="" if test "$with_all" = yes; then @@ -2046,6 +2049,11 @@ test_actiweb="" libdirs_actiweb="" apps_actiweb="" + if ! test "${with_expat}" = bundle ; then + { echo "$as_me:$LINENO: result: WARNING: expat configuration ${with_expat} ignored" >&5 +echo "${ECHO_T}WARNING: expat configuration ${with_expat} ignored" >&6; } + with_expat="bundle" + fi fi @@ -12747,7 +12755,7 @@ mkdir -p $subdir confdir=${srcdir}/$subdir fi - (cd $subdir; echo $SHELL ${confdir}/configure ${ac_configure_args} --with-xotcl=${here}; eval $SHELL ${confdir}/configure ${ac_configure_args} --with-xotcl=${here}) + (cd $subdir; echo $SHELL ${confdir}/configure ${ac_configure_args} --prefix=${prefix} --with-xotcl=${here}; eval $SHELL ${confdir}/configure ${ac_configure_args} --prefix=${prefix} --with-xotcl=${here}) done Index: configure.in =================================================================== diff -u -r0c6d577dc881e3d2bcedbab0306d6d6853f69f9b -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- configure.in (.../configure.in) (revision 0c6d577dc881e3d2bcedbab0306d6d6853f69f9b) +++ configure.in (.../configure.in) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -19,7 +19,7 @@ # This will define a ${TEA_PLATFORM} variable == "unix" or "windows". #-------------------------------------------------------------------- -TEA_INIT([3.6]) +TEA_INIT([3.7]) AC_CONFIG_AUX_DIR(config) #-------------------------------------------------------------------- @@ -54,6 +54,11 @@ AC_ARG_WITH(tclinclude, [ --with-tclinclude directory containing the public Tcl header files.], with_tclinclude=${withval}) +AC_ARG_WITH(expat, + [ --with-expat=sys assumes a system-wide expat installation, + --with-expat= point to a custom expat installation, + --without-expat falls back to the bundled expat installation], + [with_expat=$withval],[with_expat=bundle]) subdirs="" @@ -69,17 +74,18 @@ libdirs_actiweb="actiweb rdf registry store xml patterns" apps_actiweb="actiweb persistence" subdirs="$subdirs library/store/XOTclSdbm/" -dnl AC_CONFIG_SUBDIRS(library/store/XOTclSdbm/) if ! test "$with_gdbm" = no; then subdirs="$subdirs library/store/XOTclGdbm/" -dnl AC_CONFIG_SUBDIRS(library/store/XOTclGdbm/) fi subdirs="$subdirs library/xml/TclExpat-1.1/" -dnl AC_CONFIG_SUBDIRS(library/xml/TclExpat-1.1/) else test_actiweb="" libdirs_actiweb="" apps_actiweb="" + if ! test "${with_expat}" = bundle ; then + AC_MSG_RESULT([WARNING: expat configuration ${with_expat} ignored]) + with_expat="bundle" + fi fi AC_SUBST(subdirs) @@ -454,7 +460,7 @@ mkdir -p $subdir confdir=${srcdir}/$subdir fi - (cd $subdir; echo $SHELL ${confdir}/configure ${ac_configure_args} --with-xotcl=${here}; eval $SHELL ${confdir}/configure ${ac_configure_args} --with-xotcl=${here}) + (cd $subdir; echo $SHELL ${confdir}/configure ${ac_configure_args} --prefix=${prefix} --with-xotcl=${here}; eval $SHELL ${confdir}/configure ${ac_configure_args} --prefix=${prefix} --with-xotcl=${here}) done Index: library/store/XOTclSdbm/Makefile =================================================================== diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/store/XOTclSdbm/Makefile (.../Makefile) (revision c72f9f638677608fab1502cd696c8f2d6b2952f9) +++ library/store/XOTclSdbm/Makefile (.../Makefile) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: Makefile,v 1.30 2007/09/13 15:21:54 neumann Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.5 2007/08/14 16:38:26 neumann Exp $ #======================================================================== # Add additional lines to handle any additional AC_SUBST cases that @@ -68,13 +68,13 @@ SHELL = /bin/sh srcdir = . -prefix = /usr/local/aolserver-4.5 -exec_prefix = /usr/local/aolserver-4.5 +prefix = /usr/local +exec_prefix = /usr/local bindir = ${exec_prefix}/bin libdir = ${exec_prefix}/lib datadir = ${prefix}/share -mandir = ${prefix}/man +mandir = ${prefix}/share/man includedir = ${prefix}/include DESTDIR = @@ -94,7 +94,7 @@ PACKAGE_NAME = xotclsdbm PACKAGE_VERSION = 1.2 CC = gcc -CFLAGS_DEFAULT = -Os +CFLAGS_DEFAULT = -g CFLAGS_WARNING = -Wall -Wno-implicit-int CLEANFILES = pkgIndex.tcl EXEEXT = @@ -109,11 +109,11 @@ SHLIB_CFLAGS = -fno-common SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ -SHLIB_LD_LIBS = ${LIBS} -L/usr/local/aolserver-4.5/lib -ltclstub8.4 +SHLIB_LD_LIBS = ${LIBS} -L/usr/local/src/tcl8.6b1/unix -ltclstub8.6 STLIB_LD = ${AR} cr -TCL_DEFS = -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DHAVE_PTHREAD_ATFORK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -TCL_BIN_DIR = /usr/local/aolserver-4.5/lib -TCL_SRC_DIR = /usr/local/src/tcl8.4.14 +TCL_DEFS = -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 +TCL_BIN_DIR = /usr/local/src/tcl8.6b1/unix +TCL_SRC_DIR = /usr/local/src/tcl8.6b1 # This is necessary for packages that use private Tcl headers #TCL_TOP_DIR_NATIVE = @TCL_TOP_DIR_NATIVE@ # Not used, but retained for reference of what libs Tcl required @@ -131,11 +131,11 @@ DYLD_LIBRARY_PATH="$(EXTRA_PATH):$(DYLD_LIBRARY_PATH)" \ PATH="$(EXTRA_PATH):$(PATH)" \ TCLLIBPATH="$(top_builddir)" -TCLSH_PROG = /usr/local/aolserver-4.5/bin/tclsh8.4 +TCLSH_PROG = /usr/local/src/tcl8.6b1/unix/tclsh TCLSH = $(TCLSH_ENV) $(TCLSH_PROG) SHARED_BUILD = 1 -INCLUDES = -I/Users/neumann/src/xotcl-1.5.5/generic -I./generic -I"/usr/local/aolserver-4.5/include" +INCLUDES = -I/Users/neumann/src/xotcl-1.6.6/generic -I./generic -I"/usr/local/src/tcl8.6b1/generic" EXTRA_CFLAGS = @@ -144,13 +144,13 @@ # that your library may use. TCL_DEFS can actually be a problem if # you do not compile with a similar machine setup as the Tcl core was # compiled with. -#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) -DEFS = -DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) +#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) +DEFS = -DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) CONFIG_CLEAN_FILES = Makefile CPPFLAGS = -LIBS = -L/Users/neumann/src/xotcl-1.5.5 -lxotclstub1.5.5 -L/Users/neumann/src/xotcl-1.5.5 -lxotcl1.5.5 +LIBS = -L/Users/neumann/src/xotcl-1.6.6 -lxotclstub1.6.6 -L/Users/neumann/src/xotcl-1.6.6 -lxotcl1.6.6 AR = ar CFLAGS = -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) Index: library/store/XOTclSdbm/config.log =================================================================== diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/store/XOTclSdbm/config.log (.../config.log) (revision c72f9f638677608fab1502cd696c8f2d6b2952f9) +++ library/store/XOTclSdbm/config.log (.../config.log) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -2,248 +2,217 @@ running configure, to aid debugging if configure makes a mistake. It was created by xotclsdbm configure 1.2, which was -generated by GNU Autoconf 2.57. Invocation command line was +generated by GNU Autoconf 2.61. Invocation command line was - $ ./configure --prefix=/usr --enable-threads --prefix=/usr --with-all --cache-file=/dev/null --srcdir=. + $ ./configure --with-tcl=/usr/local/src/tcl8.6b1/unix/ --enable-symbols --with-actiweb --prefix=/usr/local --with-xotcl=/Users/neumann/src/xotcl-1.6.6 ## --------- ## ## Platform. ## ## --------- ## -hostname = localhost.localdomain -uname -m = i686 -uname -r = 2.4.22-1.2188.nptl -uname -s = Linux -uname -v = #1 Wed Apr 21 20:36:05 EDT 2004 +hostname = imac.lan +uname -m = i386 +uname -r = 10.2.0 +uname -s = Darwin +uname -v = Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 -/usr/bin/uname -p = unknown +/usr/bin/uname -p = i386 /bin/uname -X = unknown -/bin/arch = i686 +/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown -hostinfo = unknown +/usr/bin/hostinfo = Mach kernel version: + Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 +Kernel configured for up to 2 processors. +2 processors are physically available. +2 processors are logically available. +Processor type: i486 (Intel 80486) +Processors active: 0 1 +Primary memory available: 8.00 gigabytes +Default processor set: 108 tasks, 490 threads, 2 processors +Load average: 1.86, Mach factor: 0.73 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: . -PATH: /home/neumann/bin -PATH: . -PATH: /home/neumann/bin -PATH: /usr/local/bin +PATH: /Library/Frameworks/Python.framework/Versions/Current/bin +PATH: /opt/local/bin +PATH: /opt/local/sbin +PATH: /sw/bin +PATH: /sw/sbin PATH: /usr/bin PATH: /bin -PATH: /usr/X11R6/bin -PATH: /usr/X11R6/bin -PATH: /sbin PATH: /usr/sbin -PATH: /opt/bin -PATH: /usr/X11R6/bin PATH: /sbin -PATH: /usr/sbin -PATH: /opt/bin +PATH: /usr/local/bin +PATH: /usr/X11/bin +PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## -configure:1294: checking for correct TEA configuration -configure:1313: result: ok -configure:1433: checking for Tcl configuration -configure:1505: result: found /usr/lib/tclConfig.sh -configure:1511: checking for existence of /usr/lib/tclConfig.sh -configure:1515: result: loading -configure:1670: checking for gcc -configure:1686: found /usr/bin/gcc -configure:1696: result: gcc -configure:1940: checking for C compiler version -configure:1943: gcc --version &5 -gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1) -Copyright (C) 2003 Free Software Foundation, Inc. +configure:1772: checking for correct TEA configuration +configure:1788: result: warning: requested TEA version "3.5", have "3.6" +configure:1940: checking for Tcl configuration +configure:2056: result: found /usr/local/src/tcl8.6b1/unix/tclConfig.sh +configure:2062: checking for existence of /usr/local/src/tcl8.6b1/unix/tclConfig.sh +configure:2066: result: loading +configure:2164: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local +configure:2240: checking for gcc +configure:2256: found /usr/bin/gcc +configure:2267: result: gcc +configure:2505: checking for C compiler version +configure:2512: gcc --version >&5 +i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) +Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:1946: $? = 0 -configure:1948: gcc -v &5 -Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux +configure:2515: $? = 0 +configure:2522: gcc -v >&5 +Using built-in specs. +Target: i686-apple-darwin10 +Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 Thread model: posix -gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1) -configure:1951: $? = 0 -configure:1953: gcc -V &5 -gcc: `-V' option must have argument -configure:1956: $? = 1 -configure:1980: checking for C compiler default output -configure:1983: gcc conftest.c >&5 -configure:1986: $? = 0 -configure:2032: result: a.out -configure:2037: checking whether the C compiler works -configure:2043: ./a.out -configure:2046: $? = 0 -configure:2063: result: yes -configure:2070: checking whether we are cross compiling -configure:2072: result: no -configure:2075: checking for suffix of executables -configure:2077: gcc -o conftest conftest.c >&5 -configure:2080: $? = 0 -configure:2105: result: -configure:2111: checking for suffix of object files -configure:2133: gcc -c conftest.c >&5 -configure:2136: $? = 0 -configure:2158: result: o -configure:2162: checking whether we are using the GNU C compiler -configure:2187: gcc -c conftest.c >&5 -configure:2190: $? = 0 -configure:2193: test -s conftest.o -configure:2196: $? = 0 -configure:2209: result: yes -configure:2215: checking whether gcc accepts -g -configure:2237: gcc -c -g conftest.c >&5 -configure:2240: $? = 0 -configure:2243: test -s conftest.o -configure:2246: $? = 0 -configure:2257: result: yes -configure:2274: checking for gcc option to accept ANSI C -configure:2335: gcc -c conftest.c >&5 -configure:2338: $? = 0 -configure:2341: test -s conftest.o -configure:2344: $? = 0 -configure:2362: result: none needed -configure:2380: gcc -c conftest.c >&5 -conftest.c:2: error: syntax error before "me" -configure:2383: $? = 1 +gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) +configure:2525: $? = 0 +configure:2532: gcc -V >&5 +gcc-4.2: argument to `-V' is missing +configure:2535: $? = 1 +configure:2558: checking for C compiler default output file name +configure:2585: gcc conftest.c >&5 +configure:2588: $? = 0 +configure:2626: result: a.out +configure:2643: checking whether the C compiler works +configure:2653: ./a.out +configure:2656: $? = 0 +configure:2673: result: yes +configure:2680: checking whether we are cross compiling +configure:2682: result: no +configure:2685: checking for suffix of executables +configure:2692: gcc -o conftest conftest.c >&5 +configure:2695: $? = 0 +configure:2719: result: +configure:2725: checking for suffix of object files +configure:2751: gcc -c conftest.c >&5 +configure:2754: $? = 0 +configure:2777: result: o +configure:2781: checking whether we are using the GNU C compiler +configure:2810: gcc -c conftest.c >&5 +configure:2816: $? = 0 +configure:2833: result: yes +configure:2838: checking whether gcc accepts -g +configure:2868: gcc -c -g conftest.c >&5 +configure:2874: $? = 0 +configure:2973: result: yes +configure:2990: checking for gcc option to accept ISO C89 +configure:3064: gcc -c conftest.c >&5 +configure:3070: $? = 0 +configure:3093: result: none needed +configure:3116: checking how to run the C preprocessor +configure:3156: gcc -E conftest.c +configure:3162: $? = 0 +configure:3193: gcc -E conftest.c +conftest.c:8:28: error: ac_nonexistent.h: No such file or directory +configure:3199: $? = 1 configure: failed program was: -| #ifndef __cplusplus -| choke me -| #endif -configure:2497: checking how to run the C preprocessor -configure:2533: gcc -E conftest.c -configure:2539: $? = 0 -configure:2571: gcc -E conftest.c -configure:2570:28: ac_nonexistent.h: No such file or directory -configure:2577: $? = 1 -configure: failed program was: -| #line 2562 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "xotclsdbm 1.2" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include -configure:2615: result: gcc -E -configure:2640: gcc -E conftest.c -configure:2646: $? = 0 -configure:2678: gcc -E conftest.c -configure:2677:28: ac_nonexistent.h: No such file or directory -configure:2684: $? = 1 +configure:3232: result: gcc -E +configure:3261: gcc -E conftest.c +configure:3267: $? = 0 +configure:3298: gcc -E conftest.c +conftest.c:8:28: error: ac_nonexistent.h: No such file or directory +configure:3304: $? = 1 configure: failed program was: -| #line 2669 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "xotclsdbm 1.2" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include -configure:2739: checking for a BSD-compatible install -configure:2793: result: /usr/bin/install -c -configure:2809: checking whether make sets $(MAKE) -configure:2829: result: yes -configure:2884: checking for ranlib -configure:2900: found /usr/bin/ranlib -configure:2911: result: ranlib -configure:2933: checking for egrep -configure:2943: result: grep -E -configure:2948: checking for ANSI C header files -configure:2974: gcc -c conftest.c >&5 -configure:2977: $? = 0 -configure:2980: test -s conftest.o -configure:2983: $? = 0 -configure:3072: gcc -o conftest conftest.c >&5 -configure:3075: $? = 0 -configure:3077: ./conftest -configure:3080: $? = 0 -configure:3095: result: yes -configure:3119: checking for sys/types.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for sys/stat.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for stdlib.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for string.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for memory.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for strings.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for inttypes.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for stdint.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for unistd.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3178: checking if the compiler understands -pipe -configure:3199: gcc -pipe -c conftest.c >&5 -configure:3202: $? = 0 -configure:3205: test -s conftest.o -configure:3208: $? = 0 -configure:3210: result: yes -configure:3228: checking for required early compiler flags -configure:3252: gcc -pipe -c conftest.c >&5 -configure:3255: $? = 0 -configure:3258: test -s conftest.o -configure:3261: $? = 0 -configure:3338: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3343: error: storage size of `buf' isn't known -configure:3341: $? = 1 +configure:3355: checking for a BSD-compatible install +configure:3411: result: /usr/bin/install -c +configure:3427: checking whether make sets $(MAKE) +configure:3448: result: yes +configure:3505: checking for ranlib +configure:3521: found /usr/bin/ranlib +configure:3532: result: ranlib +configure:3568: checking for grep that handles long lines and -e +configure:3642: result: /usr/bin/grep +configure:3647: checking for egrep +configure:3725: result: /usr/bin/grep -E +configure:3730: checking for ANSI C header files +configure:3760: gcc -c conftest.c >&5 +configure:3766: $? = 0 +configure:3865: gcc -o conftest conftest.c >&5 +configure:3868: $? = 0 +configure:3874: ./conftest +configure:3877: $? = 0 +configure:3894: result: yes +configure:3918: checking for sys/types.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for sys/stat.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for stdlib.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for string.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for memory.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for strings.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for inttypes.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for stdint.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3918: checking for unistd.h +configure:3939: gcc -c conftest.c >&5 +configure:3945: $? = 0 +configure:3961: result: yes +configure:3983: checking if the compiler understands -pipe +configure:4011: gcc -c -pipe conftest.c >&5 +configure:4017: $? = 0 +configure:4033: result: yes +configure:4044: checking whether byte ordering is bigendian +configure:4077: gcc -c -pipe conftest.c >&5 +configure:4083: $? = 0 +configure:4115: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:25: error: 'not' undeclared (first use in this function) +conftest.c:25: error: (Each undeclared identifier is reported only once +conftest.c:25: error: for each function it appears in.) +conftest.c:25: error: expected ';' before 'big' +configure:4121: $? = 1 configure: failed program was: -| #line 3321 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -260,31 +229,32 @@ | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ -| #include +| #include +| #include +| | int | main () | { -| struct stat64 buf; int i = stat64("/", &buf); +| #if BYTE_ORDER != BIG_ENDIAN +| not big endian +| #endif +| | ; | return 0; | } -configure:3372: gcc -pipe -c conftest.c >&5 -configure:3375: $? = 0 -configure:3378: test -s conftest.o -configure:3381: $? = 0 -configure:3407: result: _LARGEFILE64_SOURCE -configure:3412: checking for 64-bit integer type -configure:3435: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3441: error: `__int64' undeclared (first use in this function) -configure:3441: error: (Each undeclared identifier is reported only once -configure:3441: error: for each function it appears in.) -configure:3441: error: syntax error before "value" -configure:3438: $? = 1 +configure:4261: result: no +configure:4289: checking for sin +configure:4345: gcc -o conftest -pipe conftest.c >&5 +conftest.c:41: warning: conflicting types for built-in function 'sin' +configure:4351: $? = 0 +configure:4368: result: yes +configure:4376: checking for main in -lieee +configure:4405: gcc -o conftest -pipe conftest.c -lieee >&5 +ld: library not found for -lieee +collect2: ld returned 1 exit status +configure:4411: $? = 1 configure: failed program was: -| #line 3418 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -300,31 +270,24 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 | /* end confdefs.h. */ | +| | int | main () | { -| __int64 value = (__int64) 0; +| return main (); | ; | return 0; | } -configure:3471: gcc -pipe -o conftest conftest.c >&5 -configure:3474: $? = 0 -configure:3476: ./conftest -configure:3479: $? = 0 -configure:3507: result: long long -configure:3511: checking for struct dirent64 -configure:3535: gcc -pipe -c conftest.c >&5 -configure:3538:24: sys/dirent.h: No such file or directory -configure: In function `main': -configure:3542: error: storage size of `p' isn't known -configure:3538: $? = 1 +configure:4429: result: no +configure:4441: checking for main in -linet +configure:4470: gcc -o conftest -pipe conftest.c -linet >&5 +ld: library not found for -linet +collect2: ld returned 1 exit status +configure:4476: $? = 1 configure: failed program was: -| #line 3517 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -340,47 +303,23 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long | /* end confdefs.h. */ -| #include -| #include +| +| | int | main () | { -| struct dirent64 p; +| return main (); | ; | return 0; | } -configure:3562: result: no -configure:3565: checking for struct stat64 -configure:3589: gcc -pipe -c conftest.c >&5 -configure:3592: $? = 0 -configure:3595: test -s conftest.o -configure:3598: $? = 0 -configure:3616: result: yes -configure:3619: checking for off64_t -configure:3643: gcc -pipe -c conftest.c >&5 -configure:3646: $? = 0 -configure:3649: test -s conftest.o -configure:3652: $? = 0 -configure:3670: result: yes -configure:3674: checking whether byte ordering is bigendian -configure:3702: gcc -pipe -c conftest.c >&5 -configure:3705: $? = 0 -configure:3708: test -s conftest.o -configure:3711: $? = 0 -configure:3736: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3743: error: `not' undeclared (first use in this function) -configure:3743: error: (Each undeclared identifier is reported only once -configure:3743: error: for each function it appears in.) -configure:3743: error: syntax error before "big" -configure:3739: $? = 1 +configure:4494: result: no +configure:4510: checking net/errno.h usability +configure:4527: gcc -c -pipe conftest.c >&5 +conftest.c:51:23: error: net/errno.h: No such file or directory +configure:4533: $? = 1 configure: failed program was: -| #line 3714 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -396,37 +335,48 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 | /* end confdefs.h. */ -| #include -| #include -| -| int -| main () -| { -| #if BYTE_ORDER != BIG_ENDIAN -| not big endian +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include | #endif -| -| ; -| return 0; -| } -configure:3859: result: no -configure:3887: checking for sin -configure:3937: gcc -pipe -o conftest conftest.c >&5 -configure:3930: warning: conflicting types for built-in function `sin' -/tmp/ccK1sUVc.o(.text+0x16): In function `main': -: undefined reference to `sin' -/tmp/ccK1sUVc.o(.data+0x0): undefined reference to `sin' -collect2: ld returned 1 exit status -configure:3940: $? = 1 +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:4547: result: no +configure:4551: checking net/errno.h presence +configure:4566: gcc -E conftest.c +conftest.c:18:23: error: net/errno.h: No such file or directory +configure:4572: $? = 1 configure: failed program was: -| #line 3892 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -442,63 +392,256 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 | /* end confdefs.h. */ -| /* System header to define __stub macros and hopefully few prototypes, -| which can conflict with char sin (); below. -| Prefer to if __STDC__ is defined, since -| exists even on freestanding compilers. */ -| #ifdef __STDC__ -| # include -| #else -| # include +| #include +configure:4586: result: no +configure:4614: checking for net/errno.h +configure:4621: result: no +configure:4655: checking for connect +configure:4711: gcc -o conftest -pipe conftest.c >&5 +configure:4717: $? = 0 +configure:4734: result: yes +configure:4988: checking for gethostbyname +configure:5044: gcc -o conftest -pipe conftest.c >&5 +configure:5050: $? = 0 +configure:5067: result: yes +configure:5148: checking dirent.h +configure:5194: gcc -o conftest -pipe conftest.c >&5 +configure:5200: $? = 0 +configure:5217: result: yes +configure:5238: checking errno.h usability +configure:5255: gcc -c -pipe conftest.c >&5 +configure:5261: $? = 0 +configure:5275: result: yes +configure:5279: checking errno.h presence +configure:5294: gcc -E conftest.c +configure:5300: $? = 0 +configure:5314: result: yes +configure:5342: checking for errno.h +configure:5349: result: yes +configure:5374: checking float.h usability +configure:5391: gcc -c -pipe conftest.c >&5 +configure:5397: $? = 0 +configure:5411: result: yes +configure:5415: checking float.h presence +configure:5430: gcc -E conftest.c +configure:5436: $? = 0 +configure:5450: result: yes +configure:5478: checking for float.h +configure:5485: result: yes +configure:5510: checking values.h usability +configure:5527: gcc -c -pipe conftest.c >&5 +conftest.c:51:20: error: values.h: No such file or directory +configure:5533: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclsdbm" +| #define PACKAGE_TARNAME "xotclsdbm" +| #define PACKAGE_VERSION "1.2" +| #define PACKAGE_STRING "xotclsdbm 1.2" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include | #endif -| /* Override any gcc2 internal prototype to avoid an error. */ -| #ifdef __cplusplus -| extern "C" -| { +| #ifdef HAVE_SYS_STAT_H +| # include | #endif -| /* We use char because int might match the return type of a gcc2 -| builtin and then its argument prototype would still apply. */ -| char sin (); -| /* The GNU C library defines this for functions which it implements -| to always fail with ENOSYS. Some functions are actually named -| something starting with __ and the normal name is an alias. */ -| #if defined (__stub_sin) || defined (__stub___sin) -| choke me +| #ifdef STDC_HEADERS +| # include +| # include | #else -| char (*f) () = sin; +| # ifdef HAVE_STDLIB_H +| # include +| # endif | #endif -| #ifdef __cplusplus -| } +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include | #endif -| +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5547: result: no +configure:5551: checking values.h presence +configure:5566: gcc -E conftest.c +conftest.c:18:20: error: values.h: No such file or directory +configure:5572: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclsdbm" +| #define PACKAGE_TARNAME "xotclsdbm" +| #define PACKAGE_VERSION "1.2" +| #define PACKAGE_STRING "xotclsdbm 1.2" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:5586: result: no +configure:5614: checking for values.h +configure:5621: result: no +configure:5646: checking limits.h usability +configure:5663: gcc -c -pipe conftest.c >&5 +configure:5669: $? = 0 +configure:5683: result: yes +configure:5687: checking limits.h presence +configure:5702: gcc -E conftest.c +configure:5708: $? = 0 +configure:5722: result: yes +configure:5750: checking for limits.h +configure:5757: result: yes +configure:5777: checking for stdlib.h +configure:5782: result: yes +configure:5967: checking for string.h +configure:5972: result: yes +configure:6154: checking sys/wait.h usability +configure:6171: gcc -c -pipe conftest.c >&5 +configure:6177: $? = 0 +configure:6191: result: yes +configure:6195: checking sys/wait.h presence +configure:6210: gcc -E conftest.c +configure:6216: $? = 0 +configure:6230: result: yes +configure:6258: checking for sys/wait.h +configure:6265: result: yes +configure:6290: checking dlfcn.h usability +configure:6307: gcc -c -pipe conftest.c >&5 +configure:6313: $? = 0 +configure:6327: result: yes +configure:6331: checking dlfcn.h presence +configure:6346: gcc -E conftest.c +configure:6352: $? = 0 +configure:6366: result: yes +configure:6394: checking for dlfcn.h +configure:6401: result: yes +configure:6433: checking sys/param.h usability +configure:6450: gcc -c -pipe conftest.c >&5 +configure:6456: $? = 0 +configure:6470: result: yes +configure:6474: checking sys/param.h presence +configure:6489: gcc -E conftest.c +configure:6495: $? = 0 +configure:6509: result: yes +configure:6537: checking for sys/param.h +configure:6545: result: yes +configure:6570: Reading file /Users/neumann/src/xotcl-1.6.6/xotclConfig.sh +configure:6733: checking for Tcl public headers +configure:6807: result: /usr/local/src/tcl8.6b1/generic +configure:6875: checking for pthread_mutex_init in -lpthread +configure:6910: gcc -o conftest -pipe conftest.c -lpthread >&5 +configure:6916: $? = 0 +configure:6934: result: yes +configure:7243: checking for building with threads +configure:7251: result: yes (default) +configure:7292: checking how to build libraries +configure:7310: result: shared +configure:7337: checking if 64bit support is requested +configure:7346: result: no +configure:7351: checking if 64bit Sparc VIS support is requested +configure:7360: result: no +configure:7388: checking system version +configure:7418: result: Darwin-10.2.0 +configure:7426: checking for dlopen in -ldl +configure:7461: gcc -o conftest -pipe conftest.c -ldl >&5 +configure:7467: $? = 0 +configure:7485: result: yes +configure:7526: checking for ar +configure:7542: found /usr/bin/ar +configure:7553: result: ar +configure:8804: checking if ld accepts -single_module flag +configure:8833: gcc -o conftest -pipe -dynamiclib -Wl,-single_module conftest.c >&5 +configure:8839: $? = 0 +configure:8857: result: yes +configure:8871: checking if ld accepts -search_paths_first flag +configure:8900: gcc -o conftest -pipe -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 +configure:8906: $? = 0 +configure:8924: result: yes +configure:9361: checking for required early compiler flags +configure:9389: gcc -c -pipe conftest.c >&5 +configure:9395: $? = 0 +configure:9486: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:29: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) +configure:9492: $? = 0 +configure:9583: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:29: error: 'open64' undeclared (first use in this function) +conftest.c:29: error: (Each undeclared identifier is reported only once +conftest.c:29: error: for each function it appears in.) +configure:9589: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclsdbm" +| #define PACKAGE_TARNAME "xotclsdbm" +| #define PACKAGE_VERSION "1.2" +| #define PACKAGE_STRING "xotclsdbm 1.2" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 +| /* end confdefs.h. */ +| #include | int | main () | { -| return f != sin; +| char *p = (char *)open64; | ; | return 0; | } -configure:3957: result: no -configure:3965: checking for main in -lieee -configure:3990: gcc -pipe -o conftest conftest.c -lieee >&5 -configure:3993: $? = 0 -configure:3996: test -s conftest -configure:3999: $? = 0 -configure:4011: result: yes -configure:4023: checking for main in -linet -configure:4048: gcc -pipe -o conftest conftest.c -linet >&5 -/usr/bin/ld: cannot find -linet -collect2: ld returned 1 exit status -configure:4051: $? = 1 +configure:9621: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:30: error: 'open64' undeclared (first use in this function) +conftest.c:30: error: (Each undeclared identifier is reported only once +conftest.c:30: error: for each function it appears in.) +configure:9627: $? = 1 configure: failed program was: -| #line 4030 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -514,29 +657,34 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 | /* end confdefs.h. */ -| -| +| #define _LARGEFILE_SOURCE64 1 +| #include | int | main () | { -| main (); +| char *p = (char *)open64; | ; | return 0; | } -configure:4069: result: no -configure:4085: checking net/errno.h usability -configure:4098: gcc -pipe -c conftest.c >&5 -configure:4143:23: net/errno.h: No such file or directory -configure:4101: $? = 1 +configure:9656: result: none +configure:9664: checking for 64-bit integer type +configure:9693: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:29: error: '__int64' undeclared (first use in this function) +conftest.c:29: error: (Each undeclared identifier is reported only once +conftest.c:29: error: for each function it appears in.) +conftest.c:29: error: expected ';' before 'value' +configure:9699: $? = 1 configure: failed program was: -| #line 4087 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -552,55 +700,29 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 | /* end confdefs.h. */ -| #include -| #if HAVE_SYS_TYPES_H -| # include -| #endif -| #if HAVE_SYS_STAT_H -| # include -| #endif -| #if STDC_HEADERS -| # include -| # include -| #else -| # if HAVE_STDLIB_H -| # include -| # endif -| #endif -| #if HAVE_STRING_H -| # if !STDC_HEADERS && HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #if HAVE_STRINGS_H -| # include -| #endif -| #if HAVE_INTTYPES_H -| # include -| #else -| # if HAVE_STDINT_H -| # include -| # endif -| #endif -| #if HAVE_UNISTD_H -| # include -| #endif -| #include -configure:4117: result: no -configure:4121: checking net/errno.h presence -configure:4132: gcc -E conftest.c -configure:4145:23: net/errno.h: No such file or directory -configure:4138: $? = 1 +| +| int +| main () +| { +| __int64 value = (__int64) 0; +| ; +| return 0; +| } +configure:9739: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:30: error: duplicate case value +conftest.c:30: error: previously used here +configure:9745: $? = 1 configure: failed program was: -| #line 4123 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclsdbm" | #define PACKAGE_TARNAME "xotclsdbm" | #define PACKAGE_VERSION "1.2" @@ -616,200 +738,57 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 | /* end confdefs.h. */ -| #include -configure:4157: result: no -configure:4193: checking for net/errno.h -configure:4200: result: no -configure:4232: checking for connect -configure:4282: gcc -pipe -o conftest conftest.c >&5 -configure:4285: $? = 0 -configure:4288: test -s conftest -configure:4291: $? = 0 -configure:4302: result: yes -configure:4531: checking for gethostbyname -configure:4581: gcc -pipe -o conftest conftest.c >&5 -configure:4584: $? = 0 -configure:4587: test -s conftest -configure:4590: $? = 0 -configure:4601: result: yes -configure:4675: checking dirent.h -configure:4713: gcc -pipe -o conftest conftest.c >&5 -configure:4716: $? = 0 -configure:4719: test -s conftest -configure:4722: $? = 0 -configure:4740: result: yes -configure:4752: checking errno.h usability -configure:4765: gcc -pipe -c conftest.c >&5 -configure:4768: $? = 0 -configure:4771: test -s conftest.o -configure:4774: $? = 0 -configure:4784: result: yes -configure:4788: checking errno.h presence -configure:4799: gcc -E conftest.c -configure:4805: $? = 0 -configure:4824: result: yes -configure:4860: checking for errno.h -configure:4867: result: yes -configure:4891: checking float.h usability -configure:4904: gcc -pipe -c conftest.c >&5 -configure:4907: $? = 0 -configure:4910: test -s conftest.o -configure:4913: $? = 0 -configure:4923: result: yes -configure:4927: checking float.h presence -configure:4938: gcc -E conftest.c -configure:4944: $? = 0 -configure:4963: result: yes -configure:4999: checking for float.h -configure:5006: result: yes -configure:5030: checking values.h usability -configure:5043: gcc -pipe -c conftest.c >&5 -configure:5046: $? = 0 -configure:5049: test -s conftest.o -configure:5052: $? = 0 -configure:5062: result: yes -configure:5066: checking values.h presence -configure:5077: gcc -E conftest.c -configure:5083: $? = 0 -configure:5102: result: yes -configure:5138: checking for values.h -configure:5145: result: yes -configure:5169: checking limits.h usability -configure:5182: gcc -pipe -c conftest.c >&5 -configure:5185: $? = 0 -configure:5188: test -s conftest.o -configure:5191: $? = 0 -configure:5201: result: yes -configure:5205: checking limits.h presence -configure:5216: gcc -E conftest.c -configure:5222: $? = 0 -configure:5241: result: yes -configure:5277: checking for limits.h -configure:5284: result: yes -configure:5299: checking for stdlib.h -configure:5304: result: yes -configure:5495: checking for string.h -configure:5500: result: yes -configure:5687: checking sys/wait.h usability -configure:5700: gcc -pipe -c conftest.c >&5 -configure:5703: $? = 0 -configure:5706: test -s conftest.o -configure:5709: $? = 0 -configure:5719: result: yes -configure:5723: checking sys/wait.h presence -configure:5734: gcc -E conftest.c -configure:5740: $? = 0 -configure:5759: result: yes -configure:5795: checking for sys/wait.h -configure:5802: result: yes -configure:5826: checking dlfcn.h usability -configure:5839: gcc -pipe -c conftest.c >&5 -configure:5842: $? = 0 -configure:5845: test -s conftest.o -configure:5848: $? = 0 -configure:5858: result: yes -configure:5862: checking dlfcn.h presence -configure:5873: gcc -E conftest.c -configure:5879: $? = 0 -configure:5898: result: yes -configure:5934: checking for dlfcn.h -configure:5941: result: yes -configure:5967: checking for limits.h -configure:5972: result: yes -configure:5967: checking for unistd.h -configure:5972: result: yes -configure:5976: checking sys/param.h usability -configure:5989: gcc -pipe -c conftest.c >&5 -configure:5992: $? = 0 -configure:5995: test -s conftest.o -configure:5998: $? = 0 -configure:6008: result: yes -configure:6012: checking sys/param.h presence -configure:6023: gcc -E conftest.c -configure:6029: $? = 0 -configure:6048: result: yes -configure:6084: checking for sys/param.h -configure:6091: result: yes -configure:6139: checking for XOTcl configuration -configure:6200: result: found /home/neumann/xotcl-1.2.1/xotclConfig.sh -configure:6206: checking for existence of /home/neumann/xotcl-1.2.1/xotclConfig.sh -configure:6210: result: loading -configure:6379: checking for Tcl public headers -configure:6434: result: /usr/include -configure:6482: checking for pthread_mutex_init in -lpthread -configure:6513: gcc -pipe -o conftest conftest.c -lpthread >&5 -configure:6516: $? = 0 -configure:6519: test -s conftest -configure:6522: $? = 0 -configure:6534: result: yes -configure:6821: checking for pthread_attr_setstacksize -configure:6871: gcc -pipe -o conftest conftest.c -lpthread >&5 -configure:6874: $? = 0 -configure:6877: test -s conftest -configure:6880: $? = 0 -configure:6891: result: yes -configure:6906: checking for readdir_r -configure:6956: gcc -pipe -o conftest conftest.c >&5 -configure:6959: $? = 0 -configure:6962: test -s conftest -configure:6965: $? = 0 -configure:6976: result: yes -configure:6991: checking for building with threads -configure:6998: result: yes -configure:7037: checking how to build libraries -configure:7055: result: shared -configure:7081: checking if 64bit support is enabled -configure:7090: result: no -configure:7095: checking if 64bit Sparc VIS support is requested -configure:7104: result: no -configure:7132: checking system version (for dynamic loading) -configure:7155: result: Linux-2.4.22-1.2188.nptl -configure:7163: checking for dlopen in -ldl -configure:7194: gcc -pipe -o conftest conftest.c -ldl >&5 -configure:7197: $? = 0 -configure:7200: test -s conftest -configure:7203: $? = 0 -configure:7215: result: yes -configure:7245: checking for ar -configure:7261: found /usr/bin/ar -configure:7271: result: ar -configure:9157: checking for build with symbols -configure:9171: result: no -configure:9306: checking for tclsh -configure:9337: result: /usr/lib/../bin/tclsh8.4 -configure:9481: creating ./config.status +| +| int +| main () +| { +| switch (0) { +| case 1: case (sizeof(long long)==sizeof(long)): ; +| } +| ; +| return 0; +| } +configure:9767: result: using long +configure:10072: checking for build with symbols +configure:10091: result: yes (standard debugging) +configure:10224: checking for tclsh +configure:10251: result: /usr/local/src/tcl8.6b1/unix/tclsh +configure:10396: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by xotclsdbm config.status 1.2, which was -generated by GNU Autoconf 2.57. Invocation command line was +generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status -on localhost.localdomain +on imac.lan -config.status:675: creating Makefile +config.status:634: creating Makefile +config.status:769: WARNING: Makefile.in seems to ignore the --datarootdir setting ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes -ac_cv_c_tclconfig=/usr/lib -ac_cv_c_tclh=/usr/include -ac_cv_c_xotclconfig=/home/neumann/xotcl-1.2.1 +ac_cv_c_tclconfig=/usr/local/src/tcl8.6b1/unix +ac_cv_c_tclh=/usr/local/src/tcl8.6b1/generic ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= @@ -820,18 +799,17 @@ ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= -ac_cv_exeext= ac_cv_func_connect=yes ac_cv_func_gethostbyname=yes -ac_cv_func_pthread_attr_setstacksize=yes -ac_cv_func_readdir_r=yes -ac_cv_func_sin=no +ac_cv_func_sin=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_float_h=yes @@ -849,68 +827,69 @@ ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes -ac_cv_header_values_h=yes +ac_cv_header_values_h=no ac_cv_lib_dl_dlopen=yes -ac_cv_lib_ieee_main=yes +ac_cv_lib_ieee_main=no ac_cv_lib_inet_main=no ac_cv_lib_pthread_pthread_mutex_init=yes ac_cv_objext=o +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_tclsh=/usr/lib/../bin/tclsh8.4 ac_cv_prog_AR=ar ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes -ac_cv_prog_cc_stdc= -ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes +tcl_cv_cc_pipe=yes +tcl_cv_dirent_h=yes tcl_cv_flag__isoc99_source=no -tcl_cv_flag__largefile64_source=yes -tcl_cv_struct_dirent64=no -tcl_cv_struct_stat64=yes -tcl_cv_type_64bit='long long' -tcl_cv_type_off64_t=yes +tcl_cv_flag__largefile64_source=no +tcl_cv_flag__largefile_source64=no +tcl_cv_ld_search_paths_first=yes +tcl_cv_ld_single_module=yes +tcl_cv_sys_version=Darwin-10.2.0 +tcl_cv_type_64bit=none ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' -CC='gcc -pipe' -CFLAGS=' ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' +CC='gcc' +CELIB_DIR='' +CFLAGS='-pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} ' CFLAGS_DEBUG='-g' -CFLAGS_DEFAULT='-O' -CFLAGS_OPTIMIZE='-O' -CFLAGS_WARNING='-Wall -Wconversion -Wno-implicit-int' +CFLAGS_DEFAULT='-g' +CFLAGS_OPTIMIZE='-Os' +CFLAGS_WARNING='-Wall -Wno-implicit-int' CLEANFILES='pkgIndex.tcl' CPP='gcc -E' CPPFLAGS='' CYGPATH='echo' -DEFS='-DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 ' -DL_LIBS='-ldl' -ECHO_C='' -ECHO_N='-n' +DEFS='-DPACKAGE_NAME=\"xotclsdbm\" -DPACKAGE_TARNAME=\"xotclsdbm\" -DPACKAGE_VERSION=\"1.2\" -DPACKAGE_STRING=\"xotclsdbm\ 1.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1' +DL_LIBS='' +ECHO_C='ECHO_N='' ECHO_T='' -EGREP='grep -E' +EGREP='/usr/bin/grep -E' EXEEXT='' -EXTRA_CFLAGS='' +GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' -LDFLAGS='-rdynamic' -LDFLAGS_DEBUG='' -LDFLAGS_DEFAULT='-rdynamic' -LDFLAGS_OPTIMIZE='' -LD_LIBRARY_PATH_VAR='LD_LIBRARY_PATH' +LDFLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LDFLAGS_DEFAULT=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LD_LIBRARY_PATH_VAR='DYLD_LIBRARY_PATH' LIBOBJS='' LIBS='' LTLIBOBJS='' -MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_FLAGS} ${SHLIB_LD_LIBS} ' -MAKE_SHARED_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_FLAGS} ${SHLIB_LD_LIBS}' +MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} ' +MAKE_SHARED_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}' MAKE_STATIC_LIB='${STLIB_LD} $@ $(PKG_OBJECTS)' MAKE_STUB_LIB='${STLIB_LD} $@ $(PKG_STUB_OBJECTS)' -MATH_LIBS='-lieee -lm' +MATH_LIBS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='xotclsdbm' @@ -920,9 +899,9 @@ PATH_SEPARATOR=':' PKG_CFLAGS=' ' PKG_HEADERS='' -PKG_INCLUDES=' -I/home/neumann/xotcl-1.2.1/generic' -PKG_LIBS=' -L/home/neumann/xotcl-1.2.1 -lxotclstub1.2.1' -PKG_LIB_FILE='libxotclsdbm1.2.so' +PKG_INCLUDES=' -I/Users/neumann/src/xotcl-1.6.6/generic -I./generic' +PKG_LIBS=' -L/Users/neumann/src/xotcl-1.6.6 -lxotclstub1.6.6 -L/Users/neumann/src/xotcl-1.6.6 -lxotcl1.6.6' +PKG_LIB_FILE='libxotclsdbm1.2.dylib' PKG_OBJECTS=' hash.o pair.o sdbm.o xotclsdbm.o' PKG_SOURCES=' hash.c pair.c sdbm.c xotclsdbm.c' PKG_STUB_LIB_FILE='libxotclsdbmstub1.2.a' @@ -934,56 +913,50 @@ SET_MAKE='' SHARED_BUILD='1' SHELL='/bin/sh' -SHLIB_CFLAGS='-fPIC' -SHLIB_LD='gcc -pipe -shared' -SHLIB_LD_FLAGS='' -SHLIB_LD_LIBS='${LIBS} -L/usr/lib -ltclstub8.4' +SHLIB_CFLAGS='-fno-common' +SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module' +SHLIB_LD_LIBS='${LIBS} -L/usr/local/src/tcl8.6b1/unix -ltclstub8.6' STLIB_LD='${AR} cr' -TCLSH_PROG='/usr/lib/../bin/tclsh8.4' -TCL_BIN_DIR='/usr/lib' +TCLSH_PROG='/usr/local/src/tcl8.6b1/unix/tclsh' +TCL_BIN_DIR='/usr/local/src/tcl8.6b1/unix' TCL_DBGX='' -TCL_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 ' -TCL_EXTRA_CFLAGS='' -TCL_INCLUDES='-I"/usr/include"' -TCL_LD_FLAGS='-rdynamic' +TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 ' +TCL_EXTRA_CFLAGS='-pipe ' +TCL_INCLUDES='-I"/usr/local/src/tcl8.6b1/generic"' +TCL_LD_FLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' -TCL_LIB_FILE='libtcl8.4.so' -TCL_LIB_FLAG='-ltcl8.4' -TCL_LIB_SPEC='-L/usr/lib -ltcl8.4' +TCL_LIB_FILE='libtcl8.6.dylib' +TCL_LIB_FLAG='-ltcl8.6' +TCL_LIB_SPEC='-L/usr/local/src/tcl8.6b1/unix -ltcl8.6' TCL_SHLIB_LD_LIBS='${LIBS}' -TCL_SRC_DIR='/home/neumann/tcl8.4.5' -TCL_STUB_LIB_FILE='libtclstub8.4.a' -TCL_STUB_LIB_FLAG='-ltclstub8.4' -TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.4' +TCL_SRC_DIR='/usr/local/src/tcl8.6b1' +TCL_STUB_LIB_FILE='libtclstub8.6.a' +TCL_STUB_LIB_FLAG='-ltclstub8.6' +TCL_STUB_LIB_SPEC='-L/usr/local/src/tcl8.6b1/unix -ltclstub8.6' TCL_THREADS='1' -TCL_VERSION='8.4' -XOTCL_BUILD_LIB_SPEC='-L/home/neumann/xotcl-1.2.1 -lxotcl1.2.1' -XOTCL_BUILD_STUB_LIB_SPEC='-L/home/neumann/xotcl-1.2.1 -lxotclstub1.2.1' -XOTCL_LIB_FILE='libxotcl1.2.1.so' -XOTCL_LIB_SPEC='-L/usr/lib -lxotcl1.2.1' -XOTCL_MAJOR_VERSION='1' -XOTCL_MINOR_VERSION='2' -XOTCL_RELEASE_LEVEL='.1' -XOTCL_SRC_DIR='/home/neumann/xotcl-1.2.1' -XOTCL_STUB_LIB_FILE='' -XOTCL_STUB_LIB_SPEC='-L/usr/lib -lxotclstub1.2.1' -XOTCL_VERSION='1.2' +TCL_VERSION='8.6' ac_ct_CC='gcc' -ac_ct_RANLIB='ranlib' bindir='${exec_prefix}/bin' build_alias='' -datadir='${prefix}/share' -exec_prefix='/usr' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='/usr/local' host_alias='' +htmldir='${docdir}' includedir='${prefix}/include' -infodir='${prefix}/info' +infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' localstatedir='${prefix}/var' -mandir='${prefix}/man' +mandir='${datarootdir}/man' oldincludedir='/usr/include' -prefix='/usr' +pdfdir='${docdir}' +prefix='/usr/local' program_transform_name='s,x,x,' +psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' @@ -993,34 +966,29 @@ ## confdefs.h. ## ## ----------- ## -#define HAVE_INTTYPES_H 1 -#define HAVE_LIMITS_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 -#define HAVE_READDIR_R 1 -#define HAVE_STDINT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_STRING_H 1 -#define HAVE_STRUCT_STAT64 1 -#define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_TYPE_OFF64_T 1 -#define HAVE_UNISTD_H 1 -#define HAVE_UNISTD_H 1 -#define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "xotclsdbm" -#define PACKAGE_STRING "xotclsdbm 1.2" #define PACKAGE_TARNAME "xotclsdbm" #define PACKAGE_VERSION "1.2" +#define PACKAGE_STRING "xotclsdbm 1.2" +#define PACKAGE_BUGREPORT "" #define STDC_HEADERS 1 -#define TCL_THREADS 1 -#define TCL_WIDE_INT_TYPE long long -#define USE_TCL_STUBS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define NO_VALUES_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_SYS_PARAM_H 1 #define USE_THREAD_ALLOC 1 -#define _LARGEFILE64_SOURCE 1 #define _REENTRANT 1 #define _THREAD_SAFE 1 +#define TCL_THREADS 1 +#define TCL_WIDE_INT_IS_LONG 1 +#define USE_TCL_STUBS 1 configure: exit 0 Index: library/xml/TclExpat-1.1/Makefile =================================================================== diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/xml/TclExpat-1.1/Makefile (.../Makefile) (revision c72f9f638677608fab1502cd696c8f2d6b2952f9) +++ library/xml/TclExpat-1.1/Makefile (.../Makefile) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -12,7 +12,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: Makefile,v 1.30 2007/09/13 15:21:54 neumann Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.5 2007/08/14 16:38:27 neumann Exp $ #======================================================================== # Add additional lines to handle any additional AC_SUBST cases that @@ -68,13 +68,13 @@ SHELL = /bin/sh srcdir = . -prefix = /usr/local/aolserver-4.5 -exec_prefix = /usr/local/aolserver-4.5 +prefix = /usr/local +exec_prefix = /usr/local bindir = ${exec_prefix}/bin libdir = ${exec_prefix}/lib datadir = ${prefix}/share -mandir = ${prefix}/man +mandir = ${prefix}/share/man includedir = ${prefix}/include DESTDIR = @@ -94,8 +94,8 @@ PACKAGE_NAME = xotclexpat PACKAGE_VERSION = 0.9 CC = gcc -CFLAGS_DEFAULT = -Os -CFLAGS_WARNING = -Wall -Wno-implicit-int +CFLAGS_DEFAULT = -g +CFLAGS_WARNING = -Wall CLEANFILES = pkgIndex.tcl EXEEXT = LDFLAGS_DEFAULT = -prebind -headerpad_max_install_names -Wl,-search_paths_first @@ -107,13 +107,13 @@ RANLIB = : RANLIB_STUB = ranlib SHLIB_CFLAGS = -fno-common -SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module +SHLIB_LD = ${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 0.9 -compatibility_version 0.9 SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ -SHLIB_LD_LIBS = ${LIBS} -L/usr/local/aolserver-4.5/lib -ltclstub8.4 +SHLIB_LD_LIBS = ${LIBS} -L/usr/local/src/tcl8.6b1/unix -ltclstub8.6 STLIB_LD = ${AR} cr -TCL_DEFS = -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1 -DHAVE_COPYFILE=1 -DHAVE_LIBKERN_OSATOMIC_H=1 -DHAVE_OSSPINLOCKLOCK=1 -DHAVE_PTHREAD_ATFORK=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -TCL_BIN_DIR = /usr/local/aolserver-4.5/lib -TCL_SRC_DIR = /usr/local/src/tcl8.4.14 +TCL_DEFS = -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 +TCL_BIN_DIR = /usr/local/src/tcl8.6b1/unix +TCL_SRC_DIR = /usr/local/src/tcl8.6b1 # This is necessary for packages that use private Tcl headers #TCL_TOP_DIR_NATIVE = @TCL_TOP_DIR_NATIVE@ # Not used, but retained for reference of what libs Tcl required @@ -131,11 +131,11 @@ DYLD_LIBRARY_PATH="$(EXTRA_PATH):$(DYLD_LIBRARY_PATH)" \ PATH="$(EXTRA_PATH):$(PATH)" \ TCLLIBPATH="$(top_builddir)" -TCLSH_PROG = /usr/local/aolserver-4.5/bin/tclsh8.4 +TCLSH_PROG = /usr/local/src/tcl8.6b1/unix/tclsh TCLSH = $(TCLSH_ENV) $(TCLSH_PROG) SHARED_BUILD = 1 -INCLUDES = -I/Users/neumann/src/xotcl-1.5.5/generic -I./generic -I"/usr/local/aolserver-4.5/include" +INCLUDES = -I/Users/neumann/src/xotcl-1.6.6/generic -I./generic -I"/usr/local/src/tcl8.6b1/generic" EXTRA_CFLAGS = @@ -144,13 +144,13 @@ # that your library may use. TCL_DEFS can actually be a problem if # you do not compile with a similar machine setup as the Tcl core was # compiled with. -#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) -DEFS = -DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) +#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) +DEFS = -DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 $(EXTRA_CFLAGS) CONFIG_CLEAN_FILES = Makefile CPPFLAGS = -LIBS = -L/Users/neumann/src/xotcl-1.5.5 -lxotclstub1.5.5 +LIBS = -L/Users/neumann/src/xotcl-1.6.6 -lxotclstub1.6.6 AR = ar CFLAGS = -pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) Index: library/xml/TclExpat-1.1/config.log =================================================================== diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/xml/TclExpat-1.1/config.log (.../config.log) (revision c72f9f638677608fab1502cd696c8f2d6b2952f9) +++ library/xml/TclExpat-1.1/config.log (.../config.log) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -2,248 +2,217 @@ running configure, to aid debugging if configure makes a mistake. It was created by xotclexpat configure 0.9, which was -generated by GNU Autoconf 2.57. Invocation command line was +generated by GNU Autoconf 2.61. Invocation command line was - $ ./configure --prefix=/usr --enable-threads --prefix=/usr --with-all --cache-file=/dev/null --srcdir=. + $ ./configure --with-tcl=/usr/local/src/tcl8.6b1/unix/ --enable-symbols --with-actiweb --prefix=/usr/local --with-xotcl=/Users/neumann/src/xotcl-1.6.6 ## --------- ## ## Platform. ## ## --------- ## -hostname = localhost.localdomain -uname -m = i686 -uname -r = 2.4.22-1.2188.nptl -uname -s = Linux -uname -v = #1 Wed Apr 21 20:36:05 EDT 2004 +hostname = imac.lan +uname -m = i386 +uname -r = 10.2.0 +uname -s = Darwin +uname -v = Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 -/usr/bin/uname -p = unknown +/usr/bin/uname -p = i386 /bin/uname -X = unknown -/bin/arch = i686 +/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown -hostinfo = unknown +/usr/bin/hostinfo = Mach kernel version: + Darwin Kernel Version 10.2.0: Tue Nov 3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386 +Kernel configured for up to 2 processors. +2 processors are physically available. +2 processors are logically available. +Processor type: i486 (Intel 80486) +Processors active: 0 1 +Primary memory available: 8.00 gigabytes +Default processor set: 108 tasks, 490 threads, 2 processors +Load average: 1.20, Mach factor: 0.86 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: . -PATH: /home/neumann/bin -PATH: . -PATH: /home/neumann/bin -PATH: /usr/local/bin +PATH: /Library/Frameworks/Python.framework/Versions/Current/bin +PATH: /opt/local/bin +PATH: /opt/local/sbin +PATH: /sw/bin +PATH: /sw/sbin PATH: /usr/bin PATH: /bin -PATH: /usr/X11R6/bin -PATH: /usr/X11R6/bin -PATH: /sbin PATH: /usr/sbin -PATH: /opt/bin -PATH: /usr/X11R6/bin PATH: /sbin -PATH: /usr/sbin -PATH: /opt/bin +PATH: /usr/local/bin +PATH: /usr/X11/bin +PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## -configure:1294: checking for correct TEA configuration -configure:1313: result: ok -configure:1433: checking for Tcl configuration -configure:1505: result: found /usr/lib/tclConfig.sh -configure:1511: checking for existence of /usr/lib/tclConfig.sh -configure:1515: result: loading -configure:1670: checking for gcc -configure:1686: found /usr/bin/gcc -configure:1696: result: gcc -configure:1940: checking for C compiler version -configure:1943: gcc --version &5 -gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1) -Copyright (C) 2003 Free Software Foundation, Inc. +configure:1776: checking for correct TEA configuration +configure:1795: result: ok (TEA 3.7) +configure:1987: checking for Tcl configuration +configure:2113: result: found /usr/local/src/tcl8.6b1/unix/tclConfig.sh +configure:2119: checking for existence of /usr/local/src/tcl8.6b1/unix/tclConfig.sh +configure:2123: result: loading +configure:2282: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local +configure:2358: checking for gcc +configure:2374: found /usr/bin/gcc +configure:2385: result: gcc +configure:2623: checking for C compiler version +configure:2630: gcc --version >&5 +i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) +Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -configure:1946: $? = 0 -configure:1948: gcc -v &5 -Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs -Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux +configure:2633: $? = 0 +configure:2640: gcc -v >&5 +Using built-in specs. +Target: i686-apple-darwin10 +Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 Thread model: posix -gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1) -configure:1951: $? = 0 -configure:1953: gcc -V &5 -gcc: `-V' option must have argument -configure:1956: $? = 1 -configure:1980: checking for C compiler default output -configure:1983: gcc conftest.c >&5 -configure:1986: $? = 0 -configure:2032: result: a.out -configure:2037: checking whether the C compiler works -configure:2043: ./a.out -configure:2046: $? = 0 -configure:2063: result: yes -configure:2070: checking whether we are cross compiling -configure:2072: result: no -configure:2075: checking for suffix of executables -configure:2077: gcc -o conftest conftest.c >&5 -configure:2080: $? = 0 -configure:2105: result: -configure:2111: checking for suffix of object files -configure:2133: gcc -c conftest.c >&5 -configure:2136: $? = 0 -configure:2158: result: o -configure:2162: checking whether we are using the GNU C compiler -configure:2187: gcc -c conftest.c >&5 -configure:2190: $? = 0 -configure:2193: test -s conftest.o -configure:2196: $? = 0 -configure:2209: result: yes -configure:2215: checking whether gcc accepts -g -configure:2237: gcc -c -g conftest.c >&5 -configure:2240: $? = 0 -configure:2243: test -s conftest.o -configure:2246: $? = 0 -configure:2257: result: yes -configure:2274: checking for gcc option to accept ANSI C -configure:2335: gcc -c conftest.c >&5 -configure:2338: $? = 0 -configure:2341: test -s conftest.o -configure:2344: $? = 0 -configure:2362: result: none needed -configure:2380: gcc -c conftest.c >&5 -conftest.c:2: error: syntax error before "me" -configure:2383: $? = 1 +gcc version 4.2.1 (Apple Inc. build 5646) (dot 1) +configure:2643: $? = 0 +configure:2650: gcc -V >&5 +gcc-4.2: argument to `-V' is missing +configure:2653: $? = 1 +configure:2676: checking for C compiler default output file name +configure:2703: gcc conftest.c >&5 +configure:2706: $? = 0 +configure:2744: result: a.out +configure:2761: checking whether the C compiler works +configure:2771: ./a.out +configure:2774: $? = 0 +configure:2791: result: yes +configure:2798: checking whether we are cross compiling +configure:2800: result: no +configure:2803: checking for suffix of executables +configure:2810: gcc -o conftest conftest.c >&5 +configure:2813: $? = 0 +configure:2837: result: +configure:2843: checking for suffix of object files +configure:2869: gcc -c conftest.c >&5 +configure:2872: $? = 0 +configure:2895: result: o +configure:2899: checking whether we are using the GNU C compiler +configure:2928: gcc -c conftest.c >&5 +configure:2934: $? = 0 +configure:2951: result: yes +configure:2956: checking whether gcc accepts -g +configure:2986: gcc -c -g conftest.c >&5 +configure:2992: $? = 0 +configure:3091: result: yes +configure:3108: checking for gcc option to accept ISO C89 +configure:3182: gcc -c conftest.c >&5 +configure:3188: $? = 0 +configure:3211: result: none needed +configure:3234: checking how to run the C preprocessor +configure:3274: gcc -E conftest.c +configure:3280: $? = 0 +configure:3311: gcc -E conftest.c +conftest.c:8:28: error: ac_nonexistent.h: No such file or directory +configure:3317: $? = 1 configure: failed program was: -| #ifndef __cplusplus -| choke me -| #endif -configure:2497: checking how to run the C preprocessor -configure:2533: gcc -E conftest.c -configure:2539: $? = 0 -configure:2571: gcc -E conftest.c -configure:2570:28: ac_nonexistent.h: No such file or directory -configure:2577: $? = 1 -configure: failed program was: -| #line 2562 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "xotclexpat 0.9" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include -configure:2615: result: gcc -E -configure:2640: gcc -E conftest.c -configure:2646: $? = 0 -configure:2678: gcc -E conftest.c -configure:2677:28: ac_nonexistent.h: No such file or directory -configure:2684: $? = 1 +configure:3350: result: gcc -E +configure:3379: gcc -E conftest.c +configure:3385: $? = 0 +configure:3416: gcc -E conftest.c +conftest.c:8:28: error: ac_nonexistent.h: No such file or directory +configure:3422: $? = 1 configure: failed program was: -| #line 2669 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" | #define PACKAGE_STRING "xotclexpat 0.9" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include -configure:2739: checking for a BSD-compatible install -configure:2793: result: /usr/bin/install -c -configure:2809: checking whether make sets $(MAKE) -configure:2829: result: yes -configure:2884: checking for ranlib -configure:2900: found /usr/bin/ranlib -configure:2911: result: ranlib -configure:2933: checking for egrep -configure:2943: result: grep -E -configure:2948: checking for ANSI C header files -configure:2974: gcc -c conftest.c >&5 -configure:2977: $? = 0 -configure:2980: test -s conftest.o -configure:2983: $? = 0 -configure:3072: gcc -o conftest conftest.c >&5 -configure:3075: $? = 0 -configure:3077: ./conftest -configure:3080: $? = 0 -configure:3095: result: yes -configure:3119: checking for sys/types.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for sys/stat.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for stdlib.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for string.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for memory.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for strings.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for inttypes.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for stdint.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3119: checking for unistd.h -configure:3136: gcc -c conftest.c >&5 -configure:3139: $? = 0 -configure:3142: test -s conftest.o -configure:3145: $? = 0 -configure:3156: result: yes -configure:3178: checking if the compiler understands -pipe -configure:3199: gcc -pipe -c conftest.c >&5 -configure:3202: $? = 0 -configure:3205: test -s conftest.o -configure:3208: $? = 0 -configure:3210: result: yes -configure:3228: checking for required early compiler flags -configure:3252: gcc -pipe -c conftest.c >&5 -configure:3255: $? = 0 -configure:3258: test -s conftest.o -configure:3261: $? = 0 -configure:3338: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3343: error: storage size of `buf' isn't known -configure:3341: $? = 1 +configure:3473: checking for a BSD-compatible install +configure:3529: result: /usr/bin/install -c +configure:3545: checking whether make sets $(MAKE) +configure:3566: result: yes +configure:3623: checking for ranlib +configure:3639: found /usr/bin/ranlib +configure:3650: result: ranlib +configure:3686: checking for grep that handles long lines and -e +configure:3760: result: /usr/bin/grep +configure:3765: checking for egrep +configure:3843: result: /usr/bin/grep -E +configure:3848: checking for ANSI C header files +configure:3878: gcc -c conftest.c >&5 +configure:3884: $? = 0 +configure:3983: gcc -o conftest conftest.c >&5 +configure:3986: $? = 0 +configure:3992: ./conftest +configure:3995: $? = 0 +configure:4012: result: yes +configure:4036: checking for sys/types.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for sys/stat.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for stdlib.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for string.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for memory.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for strings.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for inttypes.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for stdint.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4036: checking for unistd.h +configure:4057: gcc -c conftest.c >&5 +configure:4063: $? = 0 +configure:4079: result: yes +configure:4101: checking if the compiler understands -pipe +configure:4129: gcc -c -pipe conftest.c >&5 +configure:4135: $? = 0 +configure:4151: result: yes +configure:4162: checking whether byte ordering is bigendian +configure:4195: gcc -c -pipe conftest.c >&5 +configure:4201: $? = 0 +configure:4233: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:25: error: 'not' undeclared (first use in this function) +conftest.c:25: error: (Each undeclared identifier is reported only once +conftest.c:25: error: for each function it appears in.) +conftest.c:25: error: expected ';' before 'big' +configure:4239: $? = 1 configure: failed program was: -| #line 3321 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -260,31 +229,32 @@ | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ -| #include +| #include +| #include +| | int | main () | { -| struct stat64 buf; int i = stat64("/", &buf); +| #if BYTE_ORDER != BIG_ENDIAN +| not big endian +| #endif +| | ; | return 0; | } -configure:3372: gcc -pipe -c conftest.c >&5 -configure:3375: $? = 0 -configure:3378: test -s conftest.o -configure:3381: $? = 0 -configure:3407: result: _LARGEFILE64_SOURCE -configure:3412: checking for 64-bit integer type -configure:3435: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3441: error: `__int64' undeclared (first use in this function) -configure:3441: error: (Each undeclared identifier is reported only once -configure:3441: error: for each function it appears in.) -configure:3441: error: syntax error before "value" -configure:3438: $? = 1 +configure:4379: result: no +configure:4407: checking for sin +configure:4463: gcc -o conftest -pipe conftest.c >&5 +conftest.c:41: warning: conflicting types for built-in function 'sin' +configure:4469: $? = 0 +configure:4486: result: yes +configure:4494: checking for main in -lieee +configure:4523: gcc -o conftest -pipe conftest.c -lieee >&5 +ld: library not found for -lieee +collect2: ld returned 1 exit status +configure:4529: $? = 1 configure: failed program was: -| #line 3418 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -300,31 +270,24 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 | /* end confdefs.h. */ | +| | int | main () | { -| __int64 value = (__int64) 0; +| return main (); | ; | return 0; | } -configure:3471: gcc -pipe -o conftest conftest.c >&5 -configure:3474: $? = 0 -configure:3476: ./conftest -configure:3479: $? = 0 -configure:3507: result: long long -configure:3511: checking for struct dirent64 -configure:3535: gcc -pipe -c conftest.c >&5 -configure:3538:24: sys/dirent.h: No such file or directory -configure: In function `main': -configure:3542: error: storage size of `p' isn't known -configure:3538: $? = 1 +configure:4547: result: no +configure:4559: checking for main in -linet +configure:4588: gcc -o conftest -pipe conftest.c -linet >&5 +ld: library not found for -linet +collect2: ld returned 1 exit status +configure:4594: $? = 1 configure: failed program was: -| #line 3517 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -340,47 +303,23 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long | /* end confdefs.h. */ -| #include -| #include +| +| | int | main () | { -| struct dirent64 p; +| return main (); | ; | return 0; | } -configure:3562: result: no -configure:3565: checking for struct stat64 -configure:3589: gcc -pipe -c conftest.c >&5 -configure:3592: $? = 0 -configure:3595: test -s conftest.o -configure:3598: $? = 0 -configure:3616: result: yes -configure:3619: checking for off64_t -configure:3643: gcc -pipe -c conftest.c >&5 -configure:3646: $? = 0 -configure:3649: test -s conftest.o -configure:3652: $? = 0 -configure:3670: result: yes -configure:3674: checking whether byte ordering is bigendian -configure:3702: gcc -pipe -c conftest.c >&5 -configure:3705: $? = 0 -configure:3708: test -s conftest.o -configure:3711: $? = 0 -configure:3736: gcc -pipe -c conftest.c >&5 -configure: In function `main': -configure:3743: error: `not' undeclared (first use in this function) -configure:3743: error: (Each undeclared identifier is reported only once -configure:3743: error: for each function it appears in.) -configure:3743: error: syntax error before "big" -configure:3739: $? = 1 +configure:4612: result: no +configure:4628: checking net/errno.h usability +configure:4645: gcc -c -pipe conftest.c >&5 +conftest.c:51:23: error: net/errno.h: No such file or directory +configure:4651: $? = 1 configure: failed program was: -| #line 3714 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -396,37 +335,48 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 | /* end confdefs.h. */ -| #include -| #include -| -| int -| main () -| { -| #if BYTE_ORDER != BIG_ENDIAN -| not big endian +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include | #endif -| -| ; -| return 0; -| } -configure:3859: result: no -configure:3887: checking for sin -configure:3937: gcc -pipe -o conftest conftest.c >&5 -configure:3930: warning: conflicting types for built-in function `sin' -/tmp/ccY0yOcH.o(.text+0x16): In function `main': -: undefined reference to `sin' -/tmp/ccY0yOcH.o(.data+0x0): undefined reference to `sin' -collect2: ld returned 1 exit status -configure:3940: $? = 1 +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:4665: result: no +configure:4669: checking net/errno.h presence +configure:4684: gcc -E conftest.c +conftest.c:18:23: error: net/errno.h: No such file or directory +configure:4690: $? = 1 configure: failed program was: -| #line 3892 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -442,63 +392,264 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 | /* end confdefs.h. */ -| /* System header to define __stub macros and hopefully few prototypes, -| which can conflict with char sin (); below. -| Prefer to if __STDC__ is defined, since -| exists even on freestanding compilers. */ -| #ifdef __STDC__ -| # include -| #else -| # include +| #include +configure:4704: result: no +configure:4732: checking for net/errno.h +configure:4739: result: no +configure:4773: checking for connect +configure:4829: gcc -o conftest -pipe conftest.c >&5 +configure:4835: $? = 0 +configure:4852: result: yes +configure:5106: checking for gethostbyname +configure:5162: gcc -o conftest -pipe conftest.c >&5 +configure:5168: $? = 0 +configure:5185: result: yes +configure:5266: checking dirent.h +configure:5312: gcc -o conftest -pipe conftest.c >&5 +configure:5318: $? = 0 +configure:5335: result: yes +configure:5357: checking errno.h usability +configure:5374: gcc -c -pipe conftest.c >&5 +configure:5380: $? = 0 +configure:5394: result: yes +configure:5398: checking errno.h presence +configure:5413: gcc -E conftest.c +configure:5419: $? = 0 +configure:5433: result: yes +configure:5461: checking for errno.h +configure:5468: result: yes +configure:5493: checking float.h usability +configure:5510: gcc -c -pipe conftest.c >&5 +configure:5516: $? = 0 +configure:5530: result: yes +configure:5534: checking float.h presence +configure:5549: gcc -E conftest.c +configure:5555: $? = 0 +configure:5569: result: yes +configure:5597: checking for float.h +configure:5604: result: yes +configure:5629: checking values.h usability +configure:5646: gcc -c -pipe conftest.c >&5 +conftest.c:51:20: error: values.h: No such file or directory +configure:5652: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclexpat" +| #define PACKAGE_TARNAME "xotclexpat" +| #define PACKAGE_VERSION "0.9" +| #define PACKAGE_STRING "xotclexpat 0.9" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include | #endif -| /* Override any gcc2 internal prototype to avoid an error. */ -| #ifdef __cplusplus -| extern "C" -| { +| #ifdef HAVE_SYS_STAT_H +| # include | #endif -| /* We use char because int might match the return type of a gcc2 -| builtin and then its argument prototype would still apply. */ -| char sin (); -| /* The GNU C library defines this for functions which it implements -| to always fail with ENOSYS. Some functions are actually named -| something starting with __ and the normal name is an alias. */ -| #if defined (__stub_sin) || defined (__stub___sin) -| choke me +| #ifdef STDC_HEADERS +| # include +| # include | #else -| char (*f) () = sin; +| # ifdef HAVE_STDLIB_H +| # include +| # endif | #endif -| #ifdef __cplusplus -| } +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include | #endif -| +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5666: result: no +configure:5670: checking values.h presence +configure:5685: gcc -E conftest.c +conftest.c:18:20: error: values.h: No such file or directory +configure:5691: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclexpat" +| #define PACKAGE_TARNAME "xotclexpat" +| #define PACKAGE_VERSION "0.9" +| #define PACKAGE_STRING "xotclexpat 0.9" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| /* end confdefs.h. */ +| #include +configure:5705: result: no +configure:5733: checking for values.h +configure:5740: result: no +configure:5765: checking limits.h usability +configure:5782: gcc -c -pipe conftest.c >&5 +configure:5788: $? = 0 +configure:5802: result: yes +configure:5806: checking limits.h presence +configure:5821: gcc -E conftest.c +configure:5827: $? = 0 +configure:5841: result: yes +configure:5869: checking for limits.h +configure:5876: result: yes +configure:5896: checking for stdlib.h +configure:5901: result: yes +configure:6086: checking for string.h +configure:6091: result: yes +configure:6273: checking sys/wait.h usability +configure:6290: gcc -c -pipe conftest.c >&5 +configure:6296: $? = 0 +configure:6310: result: yes +configure:6314: checking sys/wait.h presence +configure:6329: gcc -E conftest.c +configure:6335: $? = 0 +configure:6349: result: yes +configure:6377: checking for sys/wait.h +configure:6384: result: yes +configure:6409: checking dlfcn.h usability +configure:6426: gcc -c -pipe conftest.c >&5 +configure:6432: $? = 0 +configure:6446: result: yes +configure:6450: checking dlfcn.h presence +configure:6465: gcc -E conftest.c +configure:6471: $? = 0 +configure:6485: result: yes +configure:6513: checking for dlfcn.h +configure:6520: result: yes +configure:6552: checking sys/param.h usability +configure:6569: gcc -c -pipe conftest.c >&5 +configure:6575: $? = 0 +configure:6589: result: yes +configure:6593: checking sys/param.h presence +configure:6608: gcc -E conftest.c +configure:6614: $? = 0 +configure:6628: result: yes +configure:6656: checking for sys/param.h +configure:6664: result: yes +configure:6689: Reading file /Users/neumann/src/xotcl-1.6.6/xotclConfig.sh +configure:6710: result: using bundled expat distribution +configure:6922: checking for Tcl public headers +configure:6997: result: /usr/local/src/tcl8.6b1/generic +configure:7065: checking for pthread_mutex_init in -lpthread +configure:7100: gcc -o conftest -pipe conftest.c -lpthread >&5 +configure:7106: $? = 0 +configure:7124: result: yes +configure:7433: checking for building with threads +configure:7441: result: yes (default) +configure:7482: checking how to build libraries +configure:7500: result: shared +configure:7527: checking if 64bit support is requested +configure:7536: result: no +configure:7541: checking if 64bit Sparc VIS support is requested +configure:7550: result: no +configure:7561: checking if compiler supports visibility "hidden" +configure:7591: gcc -o conftest -pipe -Werror conftest.c >&5 +configure:7597: $? = 0 +configure:7615: result: yes +configure:7630: checking if rpath support is requested +configure:7639: result: yes +configure:7665: checking system version +configure:7696: result: Darwin-10.2.0 +configure:7704: checking for dlopen in -ldl +configure:7739: gcc -o conftest -pipe conftest.c -ldl >&5 +configure:7745: $? = 0 +configure:7763: result: yes +configure:7809: checking for ar +configure:7825: found /usr/bin/ar +configure:7836: result: ar +configure:9336: checking if ld accepts -single_module flag +configure:9365: gcc -o conftest -pipe -dynamiclib -Wl,-single_module conftest.c >&5 +configure:9371: $? = 0 +configure:9389: result: yes +configure:9412: checking if ld accepts -search_paths_first flag +configure:9441: gcc -o conftest -pipe -prebind -headerpad_max_install_names -Wl,-search_paths_first conftest.c >&5 +configure:9447: $? = 0 +configure:9465: result: yes +configure:10167: checking for required early compiler flags +configure:10195: gcc -c -pipe conftest.c >&5 +configure:10201: $? = 0 +configure:10292: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:30: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465) +configure:10298: $? = 0 +configure:10389: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:30: error: 'open64' undeclared (first use in this function) +conftest.c:30: error: (Each undeclared identifier is reported only once +conftest.c:30: error: for each function it appears in.) +configure:10395: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "xotclexpat" +| #define PACKAGE_TARNAME "xotclexpat" +| #define PACKAGE_VERSION "0.9" +| #define PACKAGE_STRING "xotclexpat 0.9" +| #define PACKAGE_BUGREPORT "" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 +| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) +| /* end confdefs.h. */ +| #include | int | main () | { -| return f != sin; +| char *p = (char *)open64; | ; | return 0; | } -configure:3957: result: no -configure:3965: checking for main in -lieee -configure:3990: gcc -pipe -o conftest conftest.c -lieee >&5 -configure:3993: $? = 0 -configure:3996: test -s conftest -configure:3999: $? = 0 -configure:4011: result: yes -configure:4023: checking for main in -linet -configure:4048: gcc -pipe -o conftest conftest.c -linet >&5 -/usr/bin/ld: cannot find -linet -collect2: ld returned 1 exit status -configure:4051: $? = 1 +configure:10427: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:31: error: 'open64' undeclared (first use in this function) +conftest.c:31: error: (Each undeclared identifier is reported only once +conftest.c:31: error: for each function it appears in.) +configure:10433: $? = 1 configure: failed program was: -| #line 4030 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -514,29 +665,35 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 +| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) | /* end confdefs.h. */ -| -| +| #define _LARGEFILE_SOURCE64 1 +| #include | int | main () | { -| main (); +| char *p = (char *)open64; | ; | return 0; | } -configure:4069: result: no -configure:4085: checking net/errno.h usability -configure:4098: gcc -pipe -c conftest.c >&5 -configure:4143:23: net/errno.h: No such file or directory -configure:4101: $? = 1 +configure:10462: result: none +configure:10470: checking for 64-bit integer type +configure:10499: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:30: error: '__int64' undeclared (first use in this function) +conftest.c:30: error: (Each undeclared identifier is reported only once +conftest.c:30: error: for each function it appears in.) +conftest.c:30: error: expected ';' before 'value' +configure:10505: $? = 1 configure: failed program was: -| #line 4087 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -552,55 +709,30 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 +| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) | /* end confdefs.h. */ -| #include -| #if HAVE_SYS_TYPES_H -| # include -| #endif -| #if HAVE_SYS_STAT_H -| # include -| #endif -| #if STDC_HEADERS -| # include -| # include -| #else -| # if HAVE_STDLIB_H -| # include -| # endif -| #endif -| #if HAVE_STRING_H -| # if !STDC_HEADERS && HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #if HAVE_STRINGS_H -| # include -| #endif -| #if HAVE_INTTYPES_H -| # include -| #else -| # if HAVE_STDINT_H -| # include -| # endif -| #endif -| #if HAVE_UNISTD_H -| # include -| #endif -| #include -configure:4117: result: no -configure:4121: checking net/errno.h presence -configure:4132: gcc -E conftest.c -configure:4145:23: net/errno.h: No such file or directory -configure:4138: $? = 1 +| +| int +| main () +| { +| __int64 value = (__int64) 0; +| ; +| return 0; +| } +configure:10545: gcc -c -pipe conftest.c >&5 +conftest.c: In function 'main': +conftest.c:31: error: duplicate case value +conftest.c:31: error: previously used here +configure:10551: $? = 1 configure: failed program was: -| #line 4123 "configure" | /* confdefs.h. */ -| | #define PACKAGE_NAME "xotclexpat" | #define PACKAGE_TARNAME "xotclexpat" | #define PACKAGE_VERSION "0.9" @@ -616,200 +748,58 @@ | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 -| #define _LARGEFILE64_SOURCE 1 -| #define TCL_WIDE_INT_TYPE long long -| #define HAVE_STRUCT_STAT64 1 -| #define HAVE_TYPE_OFF64_T 1 +| #define NO_VALUES_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define USE_THREAD_ALLOC 1 +| #define _REENTRANT 1 +| #define _THREAD_SAFE 1 +| #define TCL_THREADS 1 +| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) | /* end confdefs.h. */ -| #include -configure:4157: result: no -configure:4193: checking for net/errno.h -configure:4200: result: no -configure:4232: checking for connect -configure:4282: gcc -pipe -o conftest conftest.c >&5 -configure:4285: $? = 0 -configure:4288: test -s conftest -configure:4291: $? = 0 -configure:4302: result: yes -configure:4531: checking for gethostbyname -configure:4581: gcc -pipe -o conftest conftest.c >&5 -configure:4584: $? = 0 -configure:4587: test -s conftest -configure:4590: $? = 0 -configure:4601: result: yes -configure:4675: checking dirent.h -configure:4713: gcc -pipe -o conftest conftest.c >&5 -configure:4716: $? = 0 -configure:4719: test -s conftest -configure:4722: $? = 0 -configure:4740: result: yes -configure:4752: checking errno.h usability -configure:4765: gcc -pipe -c conftest.c >&5 -configure:4768: $? = 0 -configure:4771: test -s conftest.o -configure:4774: $? = 0 -configure:4784: result: yes -configure:4788: checking errno.h presence -configure:4799: gcc -E conftest.c -configure:4805: $? = 0 -configure:4824: result: yes -configure:4860: checking for errno.h -configure:4867: result: yes -configure:4891: checking float.h usability -configure:4904: gcc -pipe -c conftest.c >&5 -configure:4907: $? = 0 -configure:4910: test -s conftest.o -configure:4913: $? = 0 -configure:4923: result: yes -configure:4927: checking float.h presence -configure:4938: gcc -E conftest.c -configure:4944: $? = 0 -configure:4963: result: yes -configure:4999: checking for float.h -configure:5006: result: yes -configure:5030: checking values.h usability -configure:5043: gcc -pipe -c conftest.c >&5 -configure:5046: $? = 0 -configure:5049: test -s conftest.o -configure:5052: $? = 0 -configure:5062: result: yes -configure:5066: checking values.h presence -configure:5077: gcc -E conftest.c -configure:5083: $? = 0 -configure:5102: result: yes -configure:5138: checking for values.h -configure:5145: result: yes -configure:5169: checking limits.h usability -configure:5182: gcc -pipe -c conftest.c >&5 -configure:5185: $? = 0 -configure:5188: test -s conftest.o -configure:5191: $? = 0 -configure:5201: result: yes -configure:5205: checking limits.h presence -configure:5216: gcc -E conftest.c -configure:5222: $? = 0 -configure:5241: result: yes -configure:5277: checking for limits.h -configure:5284: result: yes -configure:5299: checking for stdlib.h -configure:5304: result: yes -configure:5495: checking for string.h -configure:5500: result: yes -configure:5687: checking sys/wait.h usability -configure:5700: gcc -pipe -c conftest.c >&5 -configure:5703: $? = 0 -configure:5706: test -s conftest.o -configure:5709: $? = 0 -configure:5719: result: yes -configure:5723: checking sys/wait.h presence -configure:5734: gcc -E conftest.c -configure:5740: $? = 0 -configure:5759: result: yes -configure:5795: checking for sys/wait.h -configure:5802: result: yes -configure:5826: checking dlfcn.h usability -configure:5839: gcc -pipe -c conftest.c >&5 -configure:5842: $? = 0 -configure:5845: test -s conftest.o -configure:5848: $? = 0 -configure:5858: result: yes -configure:5862: checking dlfcn.h presence -configure:5873: gcc -E conftest.c -configure:5879: $? = 0 -configure:5898: result: yes -configure:5934: checking for dlfcn.h -configure:5941: result: yes -configure:5967: checking for limits.h -configure:5972: result: yes -configure:5967: checking for unistd.h -configure:5972: result: yes -configure:5976: checking sys/param.h usability -configure:5989: gcc -pipe -c conftest.c >&5 -configure:5992: $? = 0 -configure:5995: test -s conftest.o -configure:5998: $? = 0 -configure:6008: result: yes -configure:6012: checking sys/param.h presence -configure:6023: gcc -E conftest.c -configure:6029: $? = 0 -configure:6048: result: yes -configure:6084: checking for sys/param.h -configure:6091: result: yes -configure:6139: checking for XOTcl configuration -configure:6200: result: found /home/neumann/xotcl-1.2.1/xotclConfig.sh -configure:6206: checking for existence of /home/neumann/xotcl-1.2.1/xotclConfig.sh -configure:6210: result: loading -configure:6379: checking for Tcl public headers -configure:6434: result: /usr/include -configure:6482: checking for pthread_mutex_init in -lpthread -configure:6513: gcc -pipe -o conftest conftest.c -lpthread >&5 -configure:6516: $? = 0 -configure:6519: test -s conftest -configure:6522: $? = 0 -configure:6534: result: yes -configure:6821: checking for pthread_attr_setstacksize -configure:6871: gcc -pipe -o conftest conftest.c -lpthread >&5 -configure:6874: $? = 0 -configure:6877: test -s conftest -configure:6880: $? = 0 -configure:6891: result: yes -configure:6906: checking for readdir_r -configure:6956: gcc -pipe -o conftest conftest.c >&5 -configure:6959: $? = 0 -configure:6962: test -s conftest -configure:6965: $? = 0 -configure:6976: result: yes -configure:6991: checking for building with threads -configure:6998: result: yes -configure:7037: checking how to build libraries -configure:7055: result: shared -configure:7081: checking if 64bit support is enabled -configure:7090: result: no -configure:7095: checking if 64bit Sparc VIS support is requested -configure:7104: result: no -configure:7132: checking system version (for dynamic loading) -configure:7155: result: Linux-2.4.22-1.2188.nptl -configure:7163: checking for dlopen in -ldl -configure:7194: gcc -pipe -o conftest conftest.c -ldl >&5 -configure:7197: $? = 0 -configure:7200: test -s conftest -configure:7203: $? = 0 -configure:7215: result: yes -configure:7245: checking for ar -configure:7261: found /usr/bin/ar -configure:7271: result: ar -configure:9157: checking for build with symbols -configure:9171: result: no -configure:9306: checking for tclsh -configure:9337: result: /usr/lib/../bin/tclsh8.4 -configure:9481: creating ./config.status +| +| int +| main () +| { +| switch (0) { +| case 1: case (sizeof(long long)==sizeof(long)): ; +| } +| ; +| return 0; +| } +configure:10573: result: using long +configure:10878: checking for build with symbols +configure:10897: result: yes (standard debugging) +configure:11030: checking for tclsh +configure:11057: result: /usr/local/src/tcl8.6b1/unix/tclsh +configure:11202: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by xotclexpat config.status 0.9, which was -generated by GNU Autoconf 2.57. Invocation command line was +generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status -on localhost.localdomain +on imac.lan -config.status:675: creating Makefile +config.status:634: creating Makefile +config.status:769: WARNING: Makefile.in seems to ignore the --datarootdir setting ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes -ac_cv_c_tclconfig=/usr/lib -ac_cv_c_tclh=/usr/include -ac_cv_c_xotclconfig=/home/neumann/xotcl-1.2.1 +ac_cv_c_tclconfig=/usr/local/src/tcl8.6b1/unix +ac_cv_c_tclh=/usr/local/src/tcl8.6b1/generic ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= @@ -820,18 +810,17 @@ ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= -ac_cv_exeext= ac_cv_func_connect=yes ac_cv_func_gethostbyname=yes -ac_cv_func_pthread_attr_setstacksize=yes -ac_cv_func_readdir_r=yes -ac_cv_func_sin=no +ac_cv_func_sin=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_float_h=yes @@ -849,68 +838,70 @@ ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes -ac_cv_header_values_h=yes +ac_cv_header_values_h=no ac_cv_lib_dl_dlopen=yes -ac_cv_lib_ieee_main=yes +ac_cv_lib_ieee_main=no ac_cv_lib_inet_main=no ac_cv_lib_pthread_pthread_mutex_init=yes ac_cv_objext=o +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_tclsh=/usr/lib/../bin/tclsh8.4 ac_cv_prog_AR=ar ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes -ac_cv_prog_cc_stdc= -ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes +tcl_cv_cc_pipe=yes +tcl_cv_cc_visibility_hidden=yes +tcl_cv_dirent_h=yes tcl_cv_flag__isoc99_source=no -tcl_cv_flag__largefile64_source=yes -tcl_cv_struct_dirent64=no -tcl_cv_struct_stat64=yes -tcl_cv_type_64bit='long long' -tcl_cv_type_off64_t=yes +tcl_cv_flag__largefile64_source=no +tcl_cv_flag__largefile_source64=no +tcl_cv_ld_search_paths_first=yes +tcl_cv_ld_single_module=yes +tcl_cv_sys_version=Darwin-10.2.0 +tcl_cv_type_64bit=none ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' -CC='gcc -pipe' -CFLAGS=' ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS}' +CC='gcc' +CELIB_DIR='' +CFLAGS='-pipe ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} ' CFLAGS_DEBUG='-g' -CFLAGS_DEFAULT='-O' -CFLAGS_OPTIMIZE='-O' -CFLAGS_WARNING='-Wall -Wconversion -Wno-implicit-int' +CFLAGS_DEFAULT='-g' +CFLAGS_OPTIMIZE='-Os' +CFLAGS_WARNING='-Wall' CLEANFILES='pkgIndex.tcl' CPP='gcc -E' CPPFLAGS='' CYGPATH='echo' -DEFS='-DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 ' -DL_LIBS='-ldl' -ECHO_C='' -ECHO_N='-n' +DEFS='-DPACKAGE_NAME=\"xotclexpat\" -DPACKAGE_TARNAME=\"xotclexpat\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"xotclexpat\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1' +DL_LIBS='' +ECHO_C='ECHO_N='' ECHO_T='' -EGREP='grep -E' +EGREP='/usr/bin/grep -E' EXEEXT='' -EXTRA_CFLAGS='' +GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' -LDFLAGS='-rdynamic' -LDFLAGS_DEBUG='' -LDFLAGS_DEFAULT='-rdynamic' -LDFLAGS_OPTIMIZE='' -LD_LIBRARY_PATH_VAR='LD_LIBRARY_PATH' +LDFLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LDFLAGS_DEFAULT=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' +LD_LIBRARY_PATH_VAR='DYLD_LIBRARY_PATH' LIBOBJS='' LIBS='' LTLIBOBJS='' -MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_FLAGS} ${SHLIB_LD_LIBS} ' -MAKE_SHARED_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_FLAGS} ${SHLIB_LD_LIBS}' +MAKE_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} ' +MAKE_SHARED_LIB='${SHLIB_LD} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}' MAKE_STATIC_LIB='${STLIB_LD} $@ $(PKG_OBJECTS)' MAKE_STUB_LIB='${STLIB_LD} $@ $(PKG_STUB_OBJECTS)' -MATH_LIBS='-lieee -lm' +MATH_LIBS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='xotclexpat' @@ -920,9 +911,9 @@ PATH_SEPARATOR=':' PKG_CFLAGS=' ' PKG_HEADERS='' -PKG_INCLUDES=' -I/home/neumann/xotcl-1.2.1/generic' -PKG_LIBS=' -L/home/neumann/xotcl-1.2.1 -lxotclstub1.2.1' -PKG_LIB_FILE='libxotclexpat0.9.so' +PKG_INCLUDES=' -I/Users/neumann/src/xotcl-1.6.6/generic -I./generic' +PKG_LIBS=' -L/Users/neumann/src/xotcl-1.6.6 -lxotclstub1.6.6' +PKG_LIB_FILE='libxotclexpat0.9.dylib' PKG_OBJECTS=' xmltok.o unixfilemap.o xmlrole.o xmlwf.o codepage.o xmlparse.o hashtable.o tclexpat.o' PKG_SOURCES=' xmltok.c unixfilemap.c xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c' PKG_STUB_LIB_FILE='libxotclexpatstub0.9.a' @@ -934,56 +925,50 @@ SET_MAKE='' SHARED_BUILD='1' SHELL='/bin/sh' -SHLIB_CFLAGS='-fPIC' -SHLIB_LD='gcc -pipe -shared' -SHLIB_LD_FLAGS='' -SHLIB_LD_LIBS='${LIBS} -L/usr/lib -ltclstub8.4' +SHLIB_CFLAGS='-fno-common' +SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT} -Wl,-single_module -current_version 0.9 -compatibility_version 0.9' +SHLIB_LD_LIBS='${LIBS} -L/usr/local/src/tcl8.6b1/unix -ltclstub8.6' STLIB_LD='${AR} cr' -TCLSH_PROG='/usr/lib/../bin/tclsh8.4' -TCL_BIN_DIR='/usr/lib' +TCLSH_PROG='/usr/local/src/tcl8.6b1/unix/tclsh' +TCL_BIN_DIR='/usr/local/src/tcl8.6b1/unix' TCL_DBGX='' -TCL_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 ' -TCL_EXTRA_CFLAGS='' -TCL_INCLUDES='-I"/usr/include"' -TCL_LD_FLAGS='-rdynamic' +TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_MTSAFE_GETHOSTBYNAME=1 -DHAVE_MTSAFE_GETHOSTBYADDR=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_GETATTRLIST=1 -DHAVE_COPYFILE_H=1 -DHAVE_COPYFILE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_LOAD_FROM_MEMORY=1 -DTCL_WIDE_CLICKS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 ' +TCL_EXTRA_CFLAGS='-pipe ' +TCL_INCLUDES='-I"/usr/local/src/tcl8.6b1/generic"' +TCL_LD_FLAGS=' -prebind -headerpad_max_install_names -Wl,-search_paths_first ' TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' -TCL_LIB_FILE='libtcl8.4.so' -TCL_LIB_FLAG='-ltcl8.4' -TCL_LIB_SPEC='-L/usr/lib -ltcl8.4' +TCL_LIB_FILE='libtcl8.6.dylib' +TCL_LIB_FLAG='-ltcl8.6' +TCL_LIB_SPEC='-L/usr/local/src/tcl8.6b1/unix -ltcl8.6' TCL_SHLIB_LD_LIBS='${LIBS}' -TCL_SRC_DIR='/home/neumann/tcl8.4.5' -TCL_STUB_LIB_FILE='libtclstub8.4.a' -TCL_STUB_LIB_FLAG='-ltclstub8.4' -TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.4' +TCL_SRC_DIR='/usr/local/src/tcl8.6b1' +TCL_STUB_LIB_FILE='libtclstub8.6.a' +TCL_STUB_LIB_FLAG='-ltclstub8.6' +TCL_STUB_LIB_SPEC='-L/usr/local/src/tcl8.6b1/unix -ltclstub8.6' TCL_THREADS='1' -TCL_VERSION='8.4' -XOTCL_BUILD_LIB_SPEC='-L/home/neumann/xotcl-1.2.1 -lxotcl1.2.1' -XOTCL_BUILD_STUB_LIB_SPEC='-L/home/neumann/xotcl-1.2.1 -lxotclstub1.2.1' -XOTCL_LIB_FILE='libxotcl1.2.1.so' -XOTCL_LIB_SPEC='-L/usr/lib -lxotcl1.2.1' -XOTCL_MAJOR_VERSION='1' -XOTCL_MINOR_VERSION='2' -XOTCL_RELEASE_LEVEL='.1' -XOTCL_SRC_DIR='/home/neumann/xotcl-1.2.1' -XOTCL_STUB_LIB_FILE='' -XOTCL_STUB_LIB_SPEC='-L/usr/lib -lxotclstub1.2.1' -XOTCL_VERSION='1.2' +TCL_VERSION='8.6' ac_ct_CC='gcc' -ac_ct_RANLIB='ranlib' bindir='${exec_prefix}/bin' build_alias='' -datadir='${prefix}/share' -exec_prefix='/usr' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='/usr/local' host_alias='' +htmldir='${docdir}' includedir='${prefix}/include' -infodir='${prefix}/info' +infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' localstatedir='${prefix}/var' -mandir='${prefix}/man' +mandir='${datarootdir}/man' oldincludedir='/usr/include' -prefix='/usr' +pdfdir='${docdir}' +prefix='/usr/local' program_transform_name='s,x,x,' +psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' @@ -993,34 +978,30 @@ ## confdefs.h. ## ## ----------- ## -#define HAVE_INTTYPES_H 1 -#define HAVE_LIMITS_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 -#define HAVE_READDIR_R 1 -#define HAVE_STDINT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_STRING_H 1 -#define HAVE_STRUCT_STAT64 1 -#define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_TYPE_OFF64_T 1 -#define HAVE_UNISTD_H 1 -#define HAVE_UNISTD_H 1 -#define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "xotclexpat" -#define PACKAGE_STRING "xotclexpat 0.9" #define PACKAGE_TARNAME "xotclexpat" #define PACKAGE_VERSION "0.9" +#define PACKAGE_STRING "xotclexpat 0.9" +#define PACKAGE_BUGREPORT "" #define STDC_HEADERS 1 -#define TCL_THREADS 1 -#define TCL_WIDE_INT_TYPE long long -#define USE_TCL_STUBS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define NO_VALUES_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_SYS_PARAM_H 1 #define USE_THREAD_ALLOC 1 -#define _LARGEFILE64_SOURCE 1 #define _REENTRANT 1 #define _THREAD_SAFE 1 +#define TCL_THREADS 1 +#define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) +#define TCL_WIDE_INT_IS_LONG 1 +#define USE_TCL_STUBS 1 configure: exit 0 Index: library/xml/TclExpat-1.1/configure =================================================================== diff -u -r52b0abb34a3c71511ef678200f151d09e2b1273c -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/xml/TclExpat-1.1/configure (.../configure) (revision 52b0abb34a3c71511ef678200f151d09e2b1273c) +++ library/xml/TclExpat-1.1/configure (.../configure) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -707,9 +707,9 @@ SHLIB_LD_LIBS SHLIB_CFLAGS LD_LIBRARY_PATH_VAR -TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT +TCL_DBGX MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB @@ -1301,6 +1301,7 @@ --enable-shared build and link with shared libraries (default: on) --enable-64bit enable 64bit support (default: off) --enable-64bit-vis enable 64bit Sparc VIS support (default: off) + --disable-rpath disable rpath support (default: on) --enable-wince enable Win/CE support (where applicable) --enable-load allow dynamic loading and "load" command (default: on) @@ -1312,6 +1313,9 @@ --with-xotcl=DIR_CONTAINING_XOTCLCONFIG_SH absolute path to xotclConfig.sh, --without-xotcl disables, but this is pointless + --with-expat=sys assumes a system-wide expat installation, + --with-expat= point to a custom expat installation, + --without-expat falls back to the bundled expat installation --with-tcl directory containing tcl configuration (tclConfig.sh) --with-tclinclude directory containing the public Tcl header files @@ -1767,7 +1771,7 @@ # TEA extensions pass this us the version of TEA they think they # are compatible with. - TEA_VERSION="3.6" + TEA_VERSION="3.7" { echo "$as_me:$LINENO: checking for correct TEA configuration" >&5 echo $ECHO_N "checking for correct TEA configuration... $ECHO_C" >&6; } @@ -1778,21 +1782,21 @@ The PACKAGE_NAME variable must be defined by your TEA configure.in" >&2;} { (exit 1); exit 1; }; } fi - if test x"3.5" = x ; then + if test x"3.7" = x ; then { { echo "$as_me:$LINENO: error: TEA version not specified." >&5 echo "$as_me: error: TEA version not specified." >&2;} { (exit 1); exit 1; }; } - elif test "3.5" != "${TEA_VERSION}" ; then - { echo "$as_me:$LINENO: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5 -echo "${ECHO_T}warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&6; } + elif test "3.7" != "${TEA_VERSION}" ; then + { echo "$as_me:$LINENO: result: warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&5 +echo "${ECHO_T}warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&6; } else { echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5 echo "${ECHO_T}ok (TEA ${TEA_VERSION})" >&6; } fi case "`uname -s`" in - *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*) + *win32*|*WIN32*|*MINGW32_*) # Extract the first word of "cygpath", so it can be a program name with args. set dummy cygpath; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -1834,6 +1838,10 @@ EXEEXT=".exe" TEA_PLATFORM="windows" ;; + *CYGWIN_*) + # CYGPATH and TEA_PLATFORM are determined later + EXEEXT=".exe" + ;; *) CYGPATH=echo EXEEXT="" @@ -1916,6 +1924,45 @@ fi +# Check whether --with-expat was given. +if test "${with_expat+set}" = set; then + withval=$with_expat; with_expat=$withval +else + with_expat=bundle +fi + + +case $with_expat in + bundle) ;; + sys) + { echo "$as_me:$LINENO: result: search for expat in ${prefix} /usr/local /usr" >&5 +echo "${ECHO_T}search for expat in ${prefix} /usr/local /usr" >&6; } + for f in $prefix /usr/local /usr; do + if test -f "$f/include/expat.h" ; then + expat_dir=$f + EXPAT_INC_SPEC="-I`(cd $inc_dir; pwd)`" + break + fi + done + ;; + *) + inc_dir="`echo $with_expat |cut -f1 -d,`" + lib_dir="`echo $with_expat |cut -f2 -d, -s`" + if test -f "$inc_dir/expat.h"; then + EXPAT_INC_SPEC="-I`(cd $inc_dir; pwd)`" + else + { { echo "$as_me:$LINENO: error: ${inc_dir} directory does not contain expat.h" >&5 +echo "$as_me: error: ${inc_dir} directory does not contain expat.h" >&2;} + { (exit 1); exit 1; }; } + fi + expat_dir="`(cd $inc_dir/..; pwd)`" + if test -z "${lib_dir}"; then + EXPAT_LIB_SPEC="" + else + EXPAT_LIB_SPEC="-L`(cd $lib_dir; pwd)`" + fi +esac + #-------------------------------------------------------------------- # Load the tclConfig.sh file #-------------------------------------------------------------------- @@ -1978,6 +2025,11 @@ `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \ `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do + if test "${TEA_PLATFORM}" = "windows" \ + -a -f "$i/win/tclConfig.sh" ; then + ac_cv_c_tclconfig=`(cd $i/win; pwd)` + break + fi if test -f "$i/unix/tclConfig.sh" ; then ac_cv_c_tclconfig=`(cd $i/unix; pwd)` break @@ -1999,7 +2051,7 @@ done fi - # on Windows, check in common installation locations + # TEA specific: on Windows, check in common installation locations if test "${TEA_PLATFORM}" = "windows" \ -a x"${ac_cv_c_tclconfig}" = x ; then for i in `ls -d C:/Tcl/lib 2>/dev/null` \ @@ -2035,6 +2087,11 @@ `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \ `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do + if test "${TEA_PLATFORM}" = "windows" \ + -a -f "$i/win/tclConfig.sh" ; then + ac_cv_c_tclconfig=`(cd $i/win; pwd)` + break + fi if test -f "$i/unix/tclConfig.sh" ; then ac_cv_c_tclconfig=`(cd $i/unix; pwd)` break @@ -2047,9 +2104,9 @@ if test x"${ac_cv_c_tclconfig}" = x ; then TCL_BIN_DIR="# no Tcl configs found" - { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5 -echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;} - exit 0 + { { echo "$as_me:$LINENO: error: Can't find Tcl configuration definitions" >&5 +echo "$as_me: error: Can't find Tcl configuration definitions" >&2;} + { (exit 1); exit 1; }; } else no_tcl= TCL_BIN_DIR=${ac_cv_c_tclconfig} @@ -2088,7 +2145,7 @@ elif test "`uname -s`" = "Darwin"; then # If Tcl was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works - # against Tcl.framework installed in an arbitary location. + # against Tcl.framework installed in an arbitrary location. case ${TCL_DEFS} in *TCL_FRAMEWORK*) if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then @@ -2126,13 +2183,74 @@ + case "`uname -s`" in + *CYGWIN_*) + { echo "$as_me:$LINENO: checking for cygwin variant" >&5 +echo $ECHO_N "checking for cygwin variant... $ECHO_C" >&6; } + case ${TCL_EXTRA_CFLAGS} in + *-mwin32*|*-mno-cygwin*) + TEA_PLATFORM="windows" + { echo "$as_me:$LINENO: result: win32" >&5 +echo "${ECHO_T}win32" >&6; } + # Extract the first word of "cygpath", so it can be a program name with args. +set dummy cygpath; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CYGPATH+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CYGPATH"; then + ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CYGPATH="cygpath -w" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo" +fi +fi +CYGPATH=$ac_cv_prog_CYGPATH +if test -n "$CYGPATH"; then + { echo "$as_me:$LINENO: result: $CYGPATH" >&5 +echo "${ECHO_T}$CYGPATH" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + ;; + *) + TEA_PLATFORM="unix" + { echo "$as_me:$LINENO: result: unix" >&5 +echo "${ECHO_T}unix" >&6; } + ;; + esac + EXEEXT=".exe" + ;; + *) + ;; + esac + # TEA specific: + + + + #-------------------------------------------------------------------- # Load the tkConfig.sh file if necessary (Tk extension) #-------------------------------------------------------------------- @@ -5137,8 +5255,8 @@ fi - # Don't perform the eval of the libraries here because DL_LIBS - # won't be set until we call TEA_CONFIG_CFLAGS + # TEA specific: Don't perform the eval of the libraries here because + # DL_LIBS won't be set until we call TEA_CONFIG_CFLAGS TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' @@ -5225,6 +5343,7 @@ fi + # TEA specific: if test "${ac_cv_header_errno_h+set}" = set; then { echo "$as_me:$LINENO: checking for errno.h" >&5 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } @@ -6580,10 +6699,18 @@ # This defines PKG(_STUB)_SOURCES, PKG(_STUB)_OBJECTS, PKG_HEADERS # and PKG_TCL_SOURCES. #----------------------------------------------------------------------- - if test "${TEA_PLATFORM}" = "windows" ; then + filemap="win32filemap.c" +else + filemap="unixfilemap.c" +fi - vars="xmltok.c win32filemap.c xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c" +if test "${with_expat}" = bundle ; then + # 1) the bundled case + { echo "$as_me:$LINENO: result: using bundled expat distribution" >&5 +echo "${ECHO_T}using bundled expat distribution" >&6; } + + vars="xmltok.c ${filemap} xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c" for i in $vars; do case $i in \$*) @@ -6619,8 +6746,11 @@ else + # 2) the shared case + { echo "$as_me:$LINENO: result: using shared expat found in ${expat_dir}" >&5 +echo "${ECHO_T}using shared expat found in ${expat_dir}" >&6; } - vars="xmltok.c unixfilemap.c xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c" + vars="tclexpat.c" for i in $vars; do case $i in \$*) @@ -6655,9 +6785,28 @@ + + vars="${EXPAT_INC_SPEC}" + for i in $vars; do + PKG_INCLUDES="$PKG_INCLUDES $i" + done + + + + vars="${EXPAT_LIB_SPEC} -lexpat" + for i in $vars; do + if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then + # Convert foo.lib to -lfoo for GCC. No-op if not *.lib + i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` + fi + PKG_LIBS="$PKG_LIBS $i" + done + + fi + vars="" for i in $vars; do # check for existence, be strict because it is installed @@ -6795,6 +6944,7 @@ { (exit 1); exit 1; }; } fi else + list="" if test "`uname -s`" = "Darwin"; then # If Tcl was built as a framework, attempt to use # the framework's Headers directory @@ -7399,15 +7549,100 @@ { echo "$as_me:$LINENO: result: $do64bitVIS" >&5 echo "${ECHO_T}$do64bitVIS" >&6; } - + # Force 64bit on with VIS if test "$do64bitVIS" = "yes"; then - # Force 64bit on with VIS - do64bit=yes - fi + do64bit=yes +fi - # Step 0.c: Cross-compiling options for Windows/CE builds? - if test "${TEA_PLATFORM}" = "windows" ; then + # Step 0.c: Check if visibility support is available. Do this here so + # that platform specific alternatives can be used below if this fails. + + { echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5 +echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6; } +if test "${tcl_cv_cc_visibility_hidden+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + extern __attribute__((__visibility__("hidden"))) void f(void); + void f(void) {} +int +main () +{ +f(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + tcl_cv_cc_visibility_hidden=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + tcl_cv_cc_visibility_hidden=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS=$hold_cflags +fi +{ echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5 +echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6; } + if test $tcl_cv_cc_visibility_hidden = yes; then + + +cat >>confdefs.h <<\_ACEOF +#define MODULE_SCOPE extern __attribute__((__visibility__("hidden"))) +_ACEOF + + +fi + + + # Step 0.d: Disable -rpath support? + + { echo "$as_me:$LINENO: checking if rpath support is requested" >&5 +echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6; } + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval=$enable_rpath; doRpath=$enableval +else + doRpath=yes +fi + + { echo "$as_me:$LINENO: result: $doRpath" >&5 +echo "${ECHO_T}$doRpath" >&6; } + + # TEA specific: Cross-compiling options for Windows/CE builds? + + if test "${TEA_PLATFORM}" = windows; then + { echo "$as_me:$LINENO: checking if Windows/CE build is requested" >&5 echo $ECHO_N "checking if Windows/CE build is requested... $ECHO_C" >&6; } # Check whether --enable-wince was given. @@ -7419,8 +7654,10 @@ { echo "$as_me:$LINENO: result: $doWince" >&5 echo "${ECHO_T}$doWince" >&6; } - fi +fi + + # Step 1: set the variable "system" to hold the name and version number # for the system. @@ -7431,6 +7668,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else + # TEA specific: if test "${TEA_PLATFORM}" = "windows" ; then tcl_cv_sys_version=windows elif test -f /usr/lib/NextStep/software_version; then @@ -7547,17 +7785,22 @@ LDFLAGS_ARCH="" TCL_EXPORT_FILE_SUFFIX="" UNSHARED_LIB_SUFFIX="" + # TEA specific: use PACKAGE_VERSION instead of VERSION TCL_TRIM_DOTS='`echo ${PACKAGE_VERSION} | tr -d .`' ECHO_VERSION='`echo ${PACKAGE_VERSION}`' TCL_LIB_VERSIONS_OK=ok CFLAGS_DEBUG=-g CFLAGS_OPTIMIZE=-O - if test "$GCC" = "yes" ; then + if test "$GCC" = yes; then + + # TEA specific: CFLAGS_OPTIMIZE=-O2 - CFLAGS_WARNING="-Wall -Wno-implicit-int" - else - CFLAGS_WARNING="" - fi + CFLAGS_WARNING="-Wall" + +else + CFLAGS_WARNING="" +fi + TCL_NEEDS_EXP_FILE=0 TCL_BUILD_EXP_FILE="" TCL_EXP_FILE="" @@ -7600,7 +7843,12 @@ STLIB_LD='${AR} cr' LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" + if test "x$SHLIB_VERSION" = x; then + SHLIB_VERSION="1.0" +fi + case $system in + # TEA specific: windows) # This is a 2-stage check to make sure we have the 64-bit SDK # We have to know where the SDK is installed. @@ -7858,8 +8106,10 @@ PATHTYPE=-w # For information on what debugtype is most useful, see: # http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp + # and also + # http://msdn2.microsoft.com/en-us/library/y0zzbyt4%28VS.80%29.aspx # This essentially turns it all on. - LDFLAGS_DEBUG="-debug:full -debugtype:both -warn:2" + LDFLAGS_DEBUG="-debug -debugtype:cv" LDFLAGS_OPTIMIZE="-release" if test "$doWince" != "no" ; then LDFLAGS_CONSOLE="-link ${lflags}" @@ -7879,19 +8129,23 @@ DL_OBJS="tclLoadNone.obj" ;; AIX-*) - if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then + if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"; then + # AIX requires the _r compiler when gcc isn't being used case "${CC}" in - *_r) + *_r|*_r\ *) # ok ... ;; *) - CC=${CC}_r + # Make sure only first arg gets _r + CC=`echo "$CC" | sed -e 's/^\([^ ]*\)/\1_r/'` ;; esac { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5 echo "${ECHO_T}Using $CC for compiling with threads" >&6; } - fi + +fi + LIBS="$LIBS -lc" SHLIB_CFLAGS="" SHLIB_LD_LIBS='${LIBS}' @@ -7901,56 +8155,81 @@ LD_LIBRARY_PATH_VAR="LIBPATH" # Check to enable 64-bit flags for compiler/linker on AIX 4+ - if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then - if test "$GCC" = "yes" ; then + if test "$do64bit" = yes -a "`uname -v`" -gt 3; then + + if test "$GCC" = yes; then + { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} - else + +else + do64bit_ok=yes CFLAGS="$CFLAGS -q64" LDFLAGS_ARCH="-q64" RANLIB="${RANLIB} -X64" AR="${AR} -X64" SHLIB_LD_FLAGS="-b64" - fi - fi - if test "`uname -m`" = "ia64" ; then +fi + + +fi + + + if test "`uname -m`" = ia64; then + # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC SHLIB_LD="/usr/ccs/bin/ld -G -z text" # AIX-5 has dl* in libc.so DL_LIBS="" - if test "$GCC" = "yes" ; then + if test "$GCC" = yes; then + CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' - else + +else + CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' - fi + +fi + LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' - else - if test "$GCC" = "yes" ; then - SHLIB_LD="gcc -shared" - else + +else + + if test "$GCC" = yes; then + SHLIB_LD='${CC} -shared' +else + SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry" - fi + +fi + SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" DL_LIBS="-ldl" CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} TCL_NEEDS_EXP_FILE=1 + # TEA specific: use PACKAGE_VERSION instead of VERSION TCL_EXPORT_FILE_SUFFIX='${PACKAGE_VERSION}.exp' - fi +fi + + # AIX v<=4.1 has some different flags than 4.2+ - if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then + if test "$system" = "AIX-4.1" -o "`uname -v`" -lt 4; then + case " $LIBOBJS " in *" tclLoadAix.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;; esac DL_LIBS="-lld" - fi +fi + + # On AIX <=v4 systems, libbsd.a has to be linked in to support # non-blocking file IO. This library has to be linked in after # the MATH_LIBS or it breaks the pow() function. The way to @@ -8031,17 +8310,20 @@ fi if test $libbsd = yes; then + MATH_LIBS="$MATH_LIBS -lbsd" cat >>confdefs.h <<\_ACEOF #define USE_DELTA_FOR_TZ 1 _ACEOF - fi + +fi + ;; BeOS*) SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -nostart" + SHLIB_LD='${CC} -nostart' SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -8130,7 +8412,7 @@ ;; BSD/OS-4.*) SHLIB_CFLAGS="-export-dynamic -fPIC" - SHLIB_LD="cc -shared" + SHLIB_LD='${CC} -shared' SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -8141,34 +8423,113 @@ ;; dgux*) SHLIB_CFLAGS="-K PIC" - SHLIB_LD="cc -G" + SHLIB_LD='${CC} -G' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; + Haiku*) + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" + SHLIB_CFLAGS="-fPIC" + SHLIB_LD_LIBS='${LIBS}' + SHLIB_SUFFIX=".so" + SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-lroot" + { echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5 +echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6; } +if test "${ac_cv_lib_network_inet_ntoa+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnetwork $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char inet_ntoa (); +int +main () +{ +return inet_ntoa (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_network_inet_ntoa=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_network_inet_ntoa=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5 +echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6; } +if test $ac_cv_lib_network_inet_ntoa = yes; then + LIBS="$LIBS -lnetwork" +fi + + ;; HP-UX-*.11.*) # Use updated header definitions where possible cat >>confdefs.h <<\_ACEOF #define _XOPEN_SOURCE_EXTENDED 1 _ACEOF - # Needed by Tcl, but not most extensions + # TEA specific: Needed by Tcl, but not most extensions #AC_DEFINE(_XOPEN_SOURCE, 1, [Do we want to use the XOPEN network library?]) #LIBS="$LIBS -lxnet" # Use the XOPEN network library - if test "`uname -m`" = "ia64" ; then + if test "`uname -m`" = ia64; then + SHLIB_SUFFIX=".so" # Use newer C++ library for C++ extensions #if test "$GCC" != "yes" ; then # CPPFLAGS="-AA" #fi - else + +else + SHLIB_SUFFIX=".sl" - fi + +fi + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then @@ -8237,50 +8598,68 @@ fi if test "$tcl_ok" = yes; then - SHLIB_CFLAGS="+z" - SHLIB_LD="ld -b" + SHLIB_LD_LIBS='${LIBS}' DL_OBJS="tclLoadShl.o" DL_LIBS="-ldld" - LDFLAGS="$LDFLAGS -Wl,-E" + LDFLAGS="$LDFLAGS -E" CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' LD_LIBRARY_PATH_VAR="SHLIB_PATH" - fi - if test "$GCC" = "yes" ; then - SHLIB_LD="gcc -shared" - SHLIB_LD_LIBS='${LIBS}' + +fi + + if test "$GCC" = yes; then + + SHLIB_LD='${CC} -shared' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - fi - # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc - #CFLAGS="$CFLAGS +DAportable" +else + CFLAGS="$CFLAGS -z" + # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc + #CFLAGS="$CFLAGS +DAportable" + SHLIB_CFLAGS="+z" + SHLIB_LD="ld -b" + +fi + + # Check to enable 64-bit flags for compiler/linker - if test "$do64bit" = "yes" ; then - if test "$GCC" = "yes" ; then - hpux_arch=`${CC} -dumpmachine` - case $hpux_arch in + if test "$do64bit" = "yes"; then + + if test "$GCC" = yes; then + + case `${CC} -dumpmachine` in hppa64*) # 64-bit gcc in use. Fix flags for GNU ld. do64bit_ok=yes - SHLIB_LD="${CC} -shared" + SHLIB_LD='${CC} -shared' SHLIB_LD_LIBS='${LIBS}' - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} ;; *) { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} ;; esac - else + +else + do64bit_ok=yes CFLAGS="$CFLAGS +DD64" LDFLAGS_ARCH="+DD64" - fi - fi - ;; + +fi + + +fi + ;; HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) SHLIB_SUFFIX=".sl" { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 @@ -8351,6 +8730,7 @@ fi if test "$tcl_ok" = yes; then + SHLIB_CFLAGS="+z" SHLIB_LD="ld -b" SHLIB_LD_LIBS="" @@ -8360,17 +8740,22 @@ CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' LD_LIBRARY_PATH_VAR="SHLIB_PATH" - fi - ;; + +fi + ;; IRIX-5.*) SHLIB_CFLAGS="" SHLIB_LD="ld -shared -rdata_shared" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + ;; IRIX-6.*) SHLIB_CFLAGS="" @@ -8379,12 +8764,19 @@ SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - if test "$GCC" = "yes" ; then + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + + if test "$GCC" = yes; then + CFLAGS="$CFLAGS -mabi=n32" LDFLAGS="$LDFLAGS -mabi=n32" - else + +else + case $system in IRIX-6.3) # Use to build 6.2 compatible binaries on 6.3. @@ -8395,7 +8787,9 @@ ;; esac LDFLAGS="$LDFLAGS -n32" - fi + +fi + ;; IRIX64-6.*) SHLIB_CFLAGS="" @@ -8404,45 +8798,64 @@ SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + + # Check to enable 64-bit flags for compiler/linker - if test "$do64bit" = "yes" ; then - if test "$GCC" = "yes" ; then + if test "$do64bit" = yes; then + + if test "$GCC" = yes; then + { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} - else + +else + do64bit_ok=yes SHLIB_LD="ld -64 -shared -rdata_shared" CFLAGS="$CFLAGS -64" LDFLAGS_ARCH="-64" - fi - fi + +fi + + +fi + ;; Linux*) SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" + # TEA specific: CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings # when you inline the string and math operations. Turn this off to # get rid of the warnings. #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" - # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS here: + # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT}' DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -Wl,--export-dynamic" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "`uname -m`" = "alpha" ; then - CFLAGS="$CFLAGS -mieee" - fi + if test "`uname -m`" = "alpha"; then + CFLAGS="$CFLAGS -mieee" +fi + if test $do64bit = yes; then + { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; } if test "${tcl_cv_cc_m64+set}" = set; then @@ -8499,53 +8912,63 @@ { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; } if test $tcl_cv_cc_m64 = yes; then + CFLAGS="$CFLAGS -m64" do64bit_ok=yes - fi - fi - # The combo of gcc + glibc has a bug related - # to inlining of functions like strtod(). The - # -fno-builtin flag should address this problem - # but it does not work. The -fno-inline flag - # is kind of overkill but it works. - # Disable inlining only when one of the +fi + + +fi + + + # The combo of gcc + glibc has a bug related to inlining of + # functions like strtod(). The -fno-builtin flag should address + # this problem but it does not work. The -fno-inline flag is kind + # of overkill but it works. Disable inlining only when one of the # files in compat/*.c is being linked in. - if test x"${USE_COMPAT}" != x ; then - CFLAGS="$CFLAGS -fno-inline" - fi + if test x"${USE_COMPAT}" != x; then + CFLAGS="$CFLAGS -fno-inline" +fi + + ;; GNU*) SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - SHLIB_LD="${CC} -shared" + SHLIB_LD='${CC} -shared' DL_OBJS="" DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -Wl,--export-dynamic" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" - if test "`uname -m`" = "alpha" ; then - CFLAGS="$CFLAGS -mieee" - fi + if test "`uname -m`" = "alpha"; then + CFLAGS="$CFLAGS -mieee" +fi + ;; Lynx*) SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" CFLAGS_OPTIMIZE=-02 - SHLIB_LD="${CC} -shared " + SHLIB_LD='${CC} -shared' DL_OBJS="tclLoadDl.o" DL_LIBS="-mshared -ldl" LD_FLAGS="-Wl,--export-dynamic" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +fi + ;; MP-RAS-02*) SHLIB_CFLAGS="-K PIC" - SHLIB_LD="cc -G" + SHLIB_LD='${CC} -G' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -8555,7 +8978,7 @@ ;; MP-RAS-*) SHLIB_CFLAGS="-K PIC" - SHLIB_LD="cc -G" + SHLIB_LD='${CC} -G' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -8564,16 +8987,19 @@ CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; - NetBSD-*|FreeBSD-[1-2].*) - # NetBSD/SPARC needs -fPIC, -fpic will not do. + NetBSD-1.*|FreeBSD-[1-2].*) SHLIB_CFLAGS="-fPIC" SHLIB_LD="ld -Bshareable -x" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + { echo "$as_me:$LINENO: checking for ELF" >&5 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } if test "${tcl_cv_ld_elf+set}" = set; then @@ -8604,32 +9030,35 @@ { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } if test $tcl_cv_ld_elf = yes; then + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' - else - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' - fi +else + + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + +fi + + # Ancient FreeBSD doesn't handle version numbers with dots. UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' TCL_LIB_VERSIONS_OK=nodots ;; OpenBSD-*) - # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do. - case `machine` in - sparc|sparc64) - SHLIB_CFLAGS="-fPIC";; - *) - SHLIB_CFLAGS="-fpic";; - esac - SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}" + SHLIB_CFLAGS="-fPIC" + SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' { echo "$as_me:$LINENO: checking for ELF" >&5 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; } if test "${tcl_cv_ld_elf+set}" = set; then @@ -8660,32 +9089,51 @@ { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; } if test $tcl_cv_ld_elf = yes; then + LDFLAGS=-Wl,-export-dynamic - else - LDFLAGS="" - fi +else + LDFLAGS="" +fi + + if test "${TCL_THREADS}" = "1"; then + + # OpenBSD builds and links with -pthread, never -lpthread. + LIBS=`echo $LIBS | sed s/-lpthread//` + CFLAGS="$CFLAGS -pthread" + SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread" + +fi + # OpenBSD doesn't do version numbers with dots. UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' TCL_LIB_VERSIONS_OK=nodots ;; - FreeBSD-*) + NetBSD-*|FreeBSD-[3-4].*) # FreeBSD 3.* and greater have ELF. + # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" + SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" LDFLAGS="$LDFLAGS -export-dynamic" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - if test "${TCL_THREADS}" = "1" ; then + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +fi + + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} + if test "${TCL_THREADS}" = "1"; then + # The -pthread needs to go in the CFLAGS, not LIBS LIBS=`echo $LIBS | sed s/-pthread//` CFLAGS="$CFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" - fi + +fi + case $system in FreeBSD-3.*) # FreeBSD-3 doesn't handle version numbers with dots. @@ -8695,6 +9143,36 @@ ;; esac ;; + FreeBSD-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" + TCL_SHLIB_LD_EXTRAS="-soname \$@" + SHLIB_LD_LIBS='${LIBS}' + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LDFLAGS="" + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + + if test "${TCL_THREADS}" = "1"; then + + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" +fi + + # Version numbers are dot-stripped by system policy. + TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` + UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' + TCL_LIB_VERSIONS_OK=nodots + ;; Darwin-*) CFLAGS_OPTIMIZE="-Os" SHLIB_CFLAGS="-fno-common" @@ -8708,6 +9186,7 @@ awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`" if test $do64bit = yes; then + case `arch` in ppc) { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5 @@ -8766,9 +9245,12 @@ { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; } if test $tcl_cv_cc_arch_ppc64 = yes; then + CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" do64bit_ok=yes - fi;; + +fi +;; i386) { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; } @@ -8826,20 +9308,30 @@ { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; } if test $tcl_cv_cc_arch_x86_64 = yes; then + CFLAGS="$CFLAGS -arch x86_64" do64bit_ok=yes - fi;; + +fi +;; *) { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; esac - else + +else + # Check for combined 32-bit and 64-bit fat build - echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \ - echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \ + if echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64) ' \ + && echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '; then + fat_32_64=yes - fi - # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS here: +fi + + +fi + + # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}' { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; } @@ -8897,16 +9389,25 @@ { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; } if test $tcl_cv_ld_single_module = yes; then + SHLIB_LD="${SHLIB_LD} -Wl,-single_module" - fi + +fi + + # TEA specific: link shlib with current and compatiblity version flags + vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([0-9]\{1,5\}\)\(\(\.[0-9]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d` + SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".dylib" DL_OBJS="tclLoadDyld.o" DL_LIBS="" # Don't use -prebind when building for Mac OS X 10.4 or later only: - test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \ - "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \ + if test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \ + "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4; then + LDFLAGS="$LDFLAGS -prebind" +fi + LDFLAGS="$LDFLAGS -headerpad_max_install_names" { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; } @@ -8964,21 +9465,176 @@ { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; } if test $tcl_cv_ld_search_paths_first = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" - fi + +fi + + if test "$tcl_cv_cc_visibility_hidden" != yes; then + + +cat >>confdefs.h <<\_ACEOF +#define MODULE_SCOPE __private_extern__ +_ACEOF + + +fi + CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" + # TEA specific: for combined 32 & 64 bit fat builds of Tk + # extensions, verify that 64-bit build is possible. + if test "$fat_32_64" = yes && test -n "${TK_BIN_DIR}"; then - # TEA specific: for Tk extensions, remove 64-bit arch flags from - # CFLAGS et al. for combined 32 & 64 bit fat builds as neither - # TkAqua nor TkX11 can be built for 64-bit at present. - test "$fat_32_64" = yes && test -n "${TK_BIN_DIR}" && for v in CFLAGS CPPFLAGS LDFLAGS; do - eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'; done + if test "${TEA_WINDOWINGSYSTEM}" = x11; then + + { echo "$as_me:$LINENO: checking for 64-bit X11" >&5 +echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6; } +if test "${tcl_cv_lib_x11_64+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + for v in CFLAGS CPPFLAGS LDFLAGS; do + eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' + done + CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" + LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +XrmInitialize(); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + tcl_cv_lib_x11_64=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + tcl_cv_lib_x11_64=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + for v in CFLAGS CPPFLAGS LDFLAGS; do + eval $v'="$hold_'$v'"' + done +fi +{ echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5 +echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6; } + +fi + + if test "${TEA_WINDOWINGSYSTEM}" = aqua; then + + { echo "$as_me:$LINENO: checking for 64-bit Tk" >&5 +echo $ECHO_N "checking for 64-bit Tk... $ECHO_C" >&6; } +if test "${tcl_cv_lib_tk_64+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + for v in CFLAGS CPPFLAGS LDFLAGS; do + eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' + done + CPPFLAGS="$CPPFLAGS -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 ${TCL_INCLUDES} ${TK_INCLUDES}" + LDFLAGS="$LDFLAGS ${TCL_STUB_LIB_SPEC} ${TK_STUB_LIB_SPEC}" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +Tk_InitStubs(NULL, "", 0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + tcl_cv_lib_tk_64=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + tcl_cv_lib_tk_64=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + for v in CFLAGS CPPFLAGS LDFLAGS; do + eval $v'="$hold_'$v'"' + done +fi +{ echo "$as_me:$LINENO: result: $tcl_cv_lib_tk_64" >&5 +echo "${ECHO_T}$tcl_cv_lib_tk_64" >&6; } + +fi + + # remove 64-bit arch flags from CFLAGS et al. if configuration + # does not support 64-bit. + if test "$tcl_cv_lib_tk_64" = no -o "$tcl_cv_lib_x11_64" = no; then + + { echo "$as_me:$LINENO: Removing 64-bit architectures from compiler & linker flags" >&5 +echo "$as_me: Removing 64-bit architectures from compiler & linker flags" >&6;} + for v in CFLAGS CPPFLAGS LDFLAGS; do + eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"' + done +fi + + +fi + ;; NEXTSTEP-*) SHLIB_CFLAGS="" - SHLIB_LD="cc -nostdlib -r" + SHLIB_LD='${CC} -nostdlib -r' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadNext.o" @@ -9009,11 +9665,14 @@ OSF1-1.*) # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2 SHLIB_CFLAGS="-fPIC" - if test "$SHARED_BUILD" = "1" ; then - SHLIB_LD="ld -shared" - else + if test "$SHARED_BUILD" = 1; then + SHLIB_LD="ld -shared" +else + SHLIB_LD="ld -non_shared" - fi + +fi + SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -9024,35 +9683,53 @@ OSF1-V*) # Digital OSF/1 SHLIB_CFLAGS="" - if test "$SHARED_BUILD" = "1" ; then + if test "$SHARED_BUILD" = 1; then + SHLIB_LD='ld -shared -expect_unresolved "*"' - else + +else + SHLIB_LD='ld -non_shared -expect_unresolved "*"' - fi + +fi + SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - if test "$GCC" = "yes" ; then - CFLAGS="$CFLAGS -mieee" - else + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' +fi + + if test "$GCC" = yes; then + CFLAGS="$CFLAGS -mieee" +else + CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee" - fi +fi + # see pthread_intro(3) for pthread support on osf1, k.furukawa - if test "${TCL_THREADS}" = "1" ; then + if test "${TCL_THREADS}" = 1; then + CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE" CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64" LIBS=`echo $LIBS | sed s/-lpthreads//` - if test "$GCC" = "yes" ; then + if test "$GCC" = yes; then + LIBS="$LIBS -lpthread -lmach -lexc" - else + +else + CFLAGS="$CFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" - fi - fi +fi + + +fi + ;; QNX-6*) # QNX RTP @@ -9071,13 +9748,18 @@ # Note, dlopen is available only on SCO 3.2.5 and greater. However, # this test works, since "uname -s" was non-standard in 3.2.4 and # below. - if test "$GCC" = "yes" ; then + if test "$GCC" = yes; then + SHLIB_CFLAGS="-fPIC -melf" LDFLAGS="$LDFLAGS -melf -Wl,-Bexport" - else + +else + SHLIB_CFLAGS="-Kpic -belf" LDFLAGS="$LDFLAGS -belf -Wl,-Bexport" - fi + +fi + SHLIB_LD="ld -G" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" @@ -9088,7 +9770,7 @@ ;; SINIX*5.4*) SHLIB_CFLAGS="-K PIC" - SHLIB_LD="cc -G" + SHLIB_LD='${CC} -G' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -9111,7 +9793,7 @@ # requires an extra version number at the end of .so file names. # So, the library has to have a name like libtcl75.so.1.0 - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' TCL_LIB_VERSIONS_OK=nodots ;; @@ -9141,15 +9823,20 @@ SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" - if test "$GCC" = "yes" ; then - SHLIB_LD="$CC -shared" + if test "$GCC" = yes; then + + SHLIB_LD='${CC} -shared' CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - else + +else + SHLIB_LD="/usr/ccs/bin/ld -G -z text" CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - fi + +fi + ;; SunOS-5*) # Note: If _REENTRANT isn't defined, then Solaris @@ -9169,77 +9856,149 @@ SHLIB_CFLAGS="-KPIC" # Check to enable 64-bit flags for compiler/linker - if test "$do64bit" = "yes" ; then + if test "$do64bit" = yes; then + arch=`isainfo` - if test "$arch" = "sparcv9 sparc" ; then - if test "$GCC" = "yes" ; then - if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then - { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 + if test "$arch" = "sparcv9 sparc"; then + + if test "$GCC" = yes; then + + if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt 3; then + + { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} - else - do64bit_ok=yes - CFLAGS="$CFLAGS -m64 -mcpu=v9" - LDFLAGS="$LDFLAGS -m64 -mcpu=v9" - SHLIB_CFLAGS="-fPIC" - fi - else + +else + do64bit_ok=yes - if test "$do64bitVIS" = "yes" ; then - CFLAGS="$CFLAGS -xarch=v9a" - LDFLAGS_ARCH="-xarch=v9a" - else - CFLAGS="$CFLAGS -xarch=v9" - LDFLAGS_ARCH="-xarch=v9" - fi - # Solaris 64 uses this as well - #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64" - fi - elif test "$arch" = "amd64 i386" ; then - if test "$GCC" = "yes" ; then - { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 -echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} - else + CFLAGS="$CFLAGS -m64 -mcpu=v9" + LDFLAGS="$LDFLAGS -m64 -mcpu=v9" + SHLIB_CFLAGS="-fPIC" + +fi + + +else + do64bit_ok=yes - CFLAGS="$CFLAGS -xarch=amd64" - LDFLAGS="$LDFLAGS -xarch=amd64" - fi - else - { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 + if test "$do64bitVIS" = yes; then + + CFLAGS="$CFLAGS -xarch=v9a" + LDFLAGS_ARCH="-xarch=v9a" + +else + + CFLAGS="$CFLAGS -xarch=v9" + LDFLAGS_ARCH="-xarch=v9" + +fi + + # Solaris 64 uses this as well + #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64" + +fi + + +else + if test "$arch" = "amd64 i386"; then + + if test "$GCC" = yes; then + + case $system in + SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*) + do64bit_ok=yes + CFLAGS="$CFLAGS -m64" + LDFLAGS="$LDFLAGS -m64";; + *) + { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5 +echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;};; + esac + +else + + do64bit_ok=yes + case $system in + SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*) + CFLAGS="$CFLAGS -m64" + LDFLAGS="$LDFLAGS -m64";; + *) + CFLAGS="$CFLAGS -xarch=amd64" + LDFLAGS="$LDFLAGS -xarch=amd64";; + esac + +fi + + +else + { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} - fi - fi +fi +fi + + +fi + + # Note: need the LIBS below, otherwise Tk won't find Tcl's # symbols when dynamically loaded into tclsh. SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" - if test "$GCC" = "yes" ; then - SHLIB_LD="$CC -shared" + if test "$GCC" = yes; then + + SHLIB_LD='${CC} -shared' CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "$do64bit_ok" = "yes" ; then - # We need to specify -static-libgcc or we need to - # add the path to the sparv9 libgcc. - # JH: static-libgcc is necessary for core Tcl, but may - # not be necessary for extensions. - SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc" - # for finding sparcv9 libgcc, get the regular libgcc - # path, remove so name and append 'sparcv9' - #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..." - #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir" - fi - else - SHLIB_LD="/usr/ccs/bin/ld -G -z text" + if test "$do64bit_ok" = yes; then + + if test "$arch" = "sparcv9 sparc"; then + + # We need to specify -static-libgcc or we need to + # add the path to the sparv9 libgcc. + # JH: static-libgcc is necessary for core Tcl, but may + # not be necessary for extensions. + SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc" + # for finding sparcv9 libgcc, get the regular libgcc + # path, remove so name and append 'sparcv9' + #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..." + #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir" + +else + if test "$arch" = "amd64 i386"; then + + # JH: static-libgcc is necessary for core Tcl, but may + # not be necessary for extensions. + SHLIB_LD="$SHLIB_LD -m64 -static-libgcc" + +fi + +fi + + +fi + + +else + + case $system in + SunOS-5.[1-9][0-9]*) + # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS + SHLIB_LD='${CC} -G -z text ${LDFLAGS_DEFAULT}';; + *) + SHLIB_LD='/usr/ccs/bin/ld -G -z text';; + esac CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' - fi + +fi + ;; UNIX_SV* | UnixWare-5*) SHLIB_CFLAGS="-KPIC" - SHLIB_LD="cc -G" + SHLIB_LD='${CC} -G' SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" @@ -9302,20 +10061,26 @@ { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; } if test $tcl_cv_ld_Bexport = yes; then + LDFLAGS="$LDFLAGS -Wl,-Bexport" - fi + +fi + CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; esac - if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then + if test "$do64bit" = yes -a "$do64bit_ok" = no; then + { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} - fi +fi + + # Step 4: disable dynamic loading if requested via a command-line switch. # Check whether --enable-load was given. @@ -9325,15 +10090,17 @@ tcl_ok=yes fi - if test "$tcl_ok" = "no"; then - DL_OBJS="" - fi + if test "$tcl_ok" = no; then + DL_OBJS="" +fi - if test "x$DL_OBJS" != "x" ; then - BUILD_DLTEST="\$(DLTEST_TARGETS)" - else - echo "Can't figure out how to do dynamic loading or shared libraries" - echo "on this system." + + if test "x$DL_OBJS" != x; then + BUILD_DLTEST="\$(DLTEST_TARGETS)" +else + + { echo "$as_me:$LINENO: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&5 +echo "$as_me: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&2;} SHLIB_CFLAGS="" SHLIB_LD="" SHLIB_SUFFIX="" @@ -9343,43 +10110,41 @@ CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" BUILD_DLTEST="" - fi + +fi + LDFLAGS="$LDFLAGS $LDFLAGS_ARCH" # If we're running gcc, then change the C flags for compiling shared # libraries to the right flags for gcc, instead of those for the # standard manufacturer compiler. - if test "$DL_OBJS" != "tclLoadNone.o" ; then - if test "$GCC" = "yes" ; then - case $system in - AIX-*) - ;; - BSD/OS*) - ;; - IRIX*) - ;; - NetBSD-*|FreeBSD-*) - ;; - Darwin-*) - ;; - SCO_SV-3.2*) - ;; - windows) - ;; - *) - SHLIB_CFLAGS="-fPIC" - ;; - esac - fi - fi + if test "$DL_OBJS" != "tclLoadNone.o" -a "$GCC" = yes; then - if test "$SHARED_LIB_SUFFIX" = "" ; then + case $system in + AIX-*) ;; + BSD/OS*) ;; + IRIX*) ;; + NetBSD-*|FreeBSD-*|OpenBSD-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; + *) SHLIB_CFLAGS="-fPIC" ;; + esac +fi + + + if test "$SHARED_LIB_SUFFIX" = ""; then + + # TEA specific: use PACKAGE_VERSION instead of VERSION SHARED_LIB_SUFFIX='${PACKAGE_VERSION}${SHLIB_SUFFIX}' - fi - if test "$UNSHARED_LIB_SUFFIX" = "" ; then +fi + + if test "$UNSHARED_LIB_SUFFIX" = ""; then + + # TEA specific: use PACKAGE_VERSION instead of VERSION UNSHARED_LIB_SUFFIX='${PACKAGE_VERSION}.a' - fi +fi @@ -9395,6 +10160,7 @@ + # These must be called after we do the basic CFLAGS checks and # verify any possible 64-bit or similar switches are necessary @@ -9808,8 +10574,8 @@ echo "${ECHO_T}using long" >&6; } elif test "${tcl_cv_type_64bit}" = "__int64" \ -a "${TEA_PLATFORM}" = "windows" ; then - # We actually want to use the default tcl.h checks in this - # case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER* + # TEA specific: We actually want to use the default tcl.h checks in + # this case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER* { echo "$as_me:$LINENO: result: using Tcl header defaults" >&5 echo "${ECHO_T}using Tcl header defaults" >&6; } else @@ -10132,14 +10898,14 @@ echo "${ECHO_T}yes (standard debugging)" >&6; } fi fi + # TEA specific: if test "${TEA_PLATFORM}" != "windows" ; then LDFLAGS_DEFAULT="${LDFLAGS}" fi - if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then cat >>confdefs.h <<\_ACEOF @@ -11027,8 +11793,8 @@ SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim LD_LIBRARY_PATH_VAR!$LD_LIBRARY_PATH_VAR$ac_delim -TCL_DBGX!$TCL_DBGX$ac_delim CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim +LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -11070,7 +11836,7 @@ ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF -LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim +TCL_DBGX!$TCL_DBGX$ac_delim MAKE_LIB!$MAKE_LIB$ac_delim MAKE_SHARED_LIB!$MAKE_SHARED_LIB$ac_delim MAKE_STATIC_LIB!$MAKE_STATIC_LIB$ac_delim Index: library/xml/TclExpat-1.1/configure.in =================================================================== diff -u -r52b0abb34a3c71511ef678200f151d09e2b1273c -rfb1c70479008e8b50c8b1ac0885af959fc316775 --- library/xml/TclExpat-1.1/configure.in (.../configure.in) (revision 52b0abb34a3c71511ef678200f151d09e2b1273c) +++ library/xml/TclExpat-1.1/configure.in (.../configure.in) (revision fb1c70479008e8b50c8b1ac0885af959fc316775) @@ -29,7 +29,7 @@ # as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. #-------------------------------------------------------------------- -TEA_INIT([3.5]) +TEA_INIT([3.7]) AC_CONFIG_AUX_DIR(../../../config) @@ -42,7 +42,40 @@ absolute path to xotclConfig.sh, --without-xotcl disables, but this is pointless], [with_xotcl=$withval], [AC_MSG_ERROR([--with-xotcl is required])]) +AC_ARG_WITH(expat, + [ --with-expat=sys assumes a system-wide expat installation, + --with-expat= point to a custom expat installation, + --without-expat falls back to the bundled expat installation], + [with_expat=$withval],[with_expat=bundle]) +case $with_expat in + bundle) ;; + sys) + AC_MSG_RESULT([search for expat in ${prefix} /usr/local /usr]) + for f in $prefix /usr/local /usr; do + if test -f "$f/include/expat.h" ; then + expat_dir=$f + EXPAT_INC_SPEC="-I`(cd $inc_dir; pwd)`" + break + fi + done + ;; + *) + inc_dir="`echo $with_expat |cut -f1 -d,`" + lib_dir="`echo $with_expat |cut -f2 -d, -s`" + if test -f "$inc_dir/expat.h"; then + EXPAT_INC_SPEC="-I`(cd $inc_dir; pwd)`" + else + AC_MSG_ERROR([${inc_dir} directory does not contain expat.h]) + fi + expat_dir="`(cd $inc_dir/..; pwd)`" + if test -z "${lib_dir}"; then + EXPAT_LIB_SPEC="" + else + EXPAT_LIB_SPEC="-L`(cd $lib_dir; pwd)`" + fi +esac + #-------------------------------------------------------------------- # Load the tclConfig.sh file #-------------------------------------------------------------------- @@ -89,13 +122,25 @@ # This defines PKG(_STUB)_SOURCES, PKG(_STUB)_OBJECTS, PKG_HEADERS # and PKG_TCL_SOURCES. #----------------------------------------------------------------------- - if test "${TEA_PLATFORM}" = "windows" ; then - TEA_ADD_SOURCES([xmltok.c win32filemap.c xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c]) + filemap="win32filemap.c" else - TEA_ADD_SOURCES([xmltok.c unixfilemap.c xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c]) + filemap="unixfilemap.c" fi +if test "${with_expat}" = bundle ; then + # 1) the bundled case + AC_MSG_RESULT([using bundled expat distribution]) + TEA_ADD_SOURCES([xmltok.c ${filemap} xmlrole.c xmlwf.c codepage.c xmlparse.c hashtable.c tclexpat.c]) +else + # 2) the shared case + AC_MSG_RESULT([using shared expat found in ${expat_dir}]) + TEA_ADD_SOURCES([tclexpat.c]) + TEA_ADD_INCLUDES([${EXPAT_INC_SPEC}]) + TEA_ADD_LIBS([${EXPAT_LIB_SPEC} -lexpat]) +fi + + TEA_ADD_HEADERS([]) TEA_ADD_INCLUDES([-I${with_xotcl}/generic ${XOTCL_BUILD_INCLUDE_SPEC}]) TEA_ADD_LIBS([$XOTCL_BUILD_STUB_LIB_SPEC])