diff -rNC3 smalltalk-2.1.2/ChangeLog smalltalk-2.1.3/ChangeLog *** smalltalk-2.1.2/ChangeLog Fri May 9 09:25:56 2003 --- smalltalk-2.1.3/ChangeLog Sat Jun 28 15:52:17 2003 *************** *** 1,3 **** --- 1,40 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + + 2003-06-21 Paolo Bonzini + + * kernel/LargeInt.st: fixed bug in #bitAt: + + 2003-06-08 Paolo Bonzini + + * kernel/Collection.st: fix typo in the comment for + Collection>>#inject:into:; added #fold: + + 2003-06-05 Paolo Bonzini + + * kernel/CompildCode.st: no need to special case + Associations in the method printing code, because + methods don't own Association anymore (they have + VariableBindings, but they print differently also + to avoid this kind of special casing). + + 2003-06-04 Paolo Bonzini + + * kernel/ExcHandling.st: death to CoreException class>> + #unwindTo: + + 2003-05-27 Paolo Bonzini + + * kernel/Builtins.st: add Object>>#allOwners + * kernel/CallinProcess.st: point out that CallinProcesses + do not survive across image saves. + + 2003-05-16 Paolo Bonzini + + * kernel/Bag.st: don't leave items with zero + occurrences in the dictionary. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/Makefile.in smalltalk-2.1.3/Makefile.in *** smalltalk-2.1.2/Makefile.in Fri May 9 11:55:44 2003 --- smalltalk-2.1.3/Makefile.in Sat Jun 28 12:21:41 2003 *************** *** 91,96 **** --- 91,98 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 118,123 **** --- 120,126 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 290,296 **** $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac config/align.m4 config/bold.m4 config/codeset.m4 config/ext_goto.m4 config/fault.m4 config/gcc.m4 config/getpagesize.m4 config/glib-2.0.m4 config/gmp.m4 config/gst.m4 config/gtk-2.0.m4 config/iconv.m4 config/inet.m4 config/libtool.m4 config/lightning.m4 config/localtime.m4 config/mmap-anon.m4 config/modules.m4 config/pkg.m4 config/readline.m4 config/relocatable.m4 config/restrict.m4 config/sigaltstack-longjmp.m4 config/sigaltstack-siglongjmp.m4 config/sigaltstack.m4 config/snprintfv.m4 config/strtoul.m4 config/symbolset.m4 config/tcltk.m4 config/version.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 --- 293,299 ---- $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac config/align.m4 config/bold.m4 config/codeset.m4 config/ext_goto.m4 config/fault.m4 config/gcc.m4 config/getpagesize.m4 config/glib-2.0.m4 config/gmp.m4 config/gst.m4 config/gtk-2.0.m4 config/iconv.m4 config/inet.m4 config/lib-ld.m4 config/lib-link.m4 config/lib-prefix.m4 config/libtool.m4 config/lightning.m4 config/localtime.m4 config/ltdl.m4 config/mmap-anon.m4 config/modules.m4 config/pkg.m4 config/readline.m4 config/relocatable.m4 config/restrict.m4 config/sigaltstack-longjmp.m4 config/sigaltstack-siglongjmp.m4 config/sigaltstack.m4 config/snprintfv.m4 config/strtoul.m4 config/symbolset.m4 config/tcltk.m4 config/version.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 *************** *** 380,412 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 383,418 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/NEWS smalltalk-2.1.3/NEWS *** smalltalk-2.1.2/NEWS Fri May 9 10:43:17 2003 --- smalltalk-2.1.3/NEWS Mon Jun 23 13:54:17 2003 *************** *** 1,5 **** --- 1,65 ---- List of user-visible changes in GNU Smalltalk + NEWS FROM 2.1.2 TO 2.1.3 + + o Add Object>>#allOwners. + + o CallinProcesses do not survive across image saves. This fixed a + memory leak where upon every image save, the CallinProcess that + invoked the save was left ready to run in the least. This also + caused mysterious bugs whenever, for example, you saved the + image with + + ObjectMemory snapshot; quit! + + and then tried to do + + Processor yield! + + Now the CallinProcess would wake up from the point it was snapshotted, + and happily quit the VM! + + o --disable-generational-gc in theory should not be necessary anymore. + + o Fixed a couple of bugs in printing bytecodes + + o Fixed bug in LargeInteger>>#bitAt: + + o Fixed compilation under Alpha + + o Fixed method caching error when using the JIT compiler + + o Fixed rare GC bug + + o Fixed syntax highlighting of unary and binary methods + + o New iteration method Collection>>#fold:, the latest variation on the + #inject:into: and #do:separatedBy: themes. You'll undoubtedly love + + #('abc' 'def' 'ghi') fold: [ :string :elem | string, ' ', elem ] + + which yields 'abc def ghi'. This method can also replace most + usages of #anyOne together with #inject:into:, as in + + coll inject: coll anyOne into: [ :max :elem | max max: elem ] + + versus + + coll fold: [ :max :elem | max max: elem ] + + o Set was incorrectly said to have 2 instance variables. + + o SmallIntegers are reported to be read-only. + + o Support for generational GC under NetBSD/Alpha (and possibly more + OSes running on Alpha) + + o Updated libtool to Debian's 1.4.3-9. + + o Upgraded GNU lightning to 1.1. + + ----------------------------------------------------------------------------- + NEWS FROM 2.1.1 TO 2.1.2 o Adding instance variables via #addInstVarName: validates their name and *************** *** 18,30 **** o Better support for detecting the headers when multiple versions of Tcl/Tk are installed on the same machine. o Fixed call-in bug (if a primitive did a call-in and *then* failed, the call-in might have dirtied the method cache and an invalid method was invoked). This could not happen in previous releases, but the new #snapshot: primitive satisfies this condition. - - o Configure option --disable-generational-gc to disable usage of libsigsegv - (which seems to lock up under some versions of MacOS X). o Fix lexing bugs under Linux/PPC and, supposedly, S390 and ARM too. --- 78,90 ---- o Better support for detecting the headers when multiple versions of Tcl/Tk are installed on the same machine. + o Configure option --disable-generational-gc to disable usage of libsigsegv + (which seems to lock up under some versions of MacOS X). + o Fixed call-in bug (if a primitive did a call-in and *then* failed, the call-in might have dirtied the method cache and an invalid method was invoked). This could not happen in previous releases, but the new #snapshot: primitive satisfies this condition. o Fix lexing bugs under Linux/PPC and, supposedly, S390 and ARM too. diff -rNC3 smalltalk-2.1.2/aclocal.m4 smalltalk-2.1.3/aclocal.m4 *** smalltalk-2.1.2/aclocal.m4 Fri May 9 11:55:18 2003 --- smalltalk-2.1.3/aclocal.m4 Sat Jun 28 12:21:15 2003 *************** *** 2608,2614 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 2608,2614 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 3148,3154 **** shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU ld.so' ;; freebsd*) --- 3148,3154 ---- shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ;; freebsd*) *************** *** 3316,3321 **** --- 3316,3322 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 4452,4458 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 4453,4459 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM *************** *** 5108,5114 **** ])dnl ! #serial AM1 dnl From Bruno Haible. --- 5109,5121 ---- ])dnl ! # codeset.m4 serial AM1 (gettext-0.10.40) ! dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. *************** *** 5126,5147 **** fi ]) ! #serial AM2 dnl From Bruno Haible. ! AC_DEFUN([AM_ICONV], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). ! AC_ARG_WITH([libiconv-prefix], ! [ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [ ! for dir in `echo "$withval" | tr : ' '`; do ! if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi ! if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi ! done ! ]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" --- 5133,5174 ---- fi ]) ! # iconv.m4 serial AM4 (gettext-0.11.3) ! dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. ! AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], ! [ ! dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ! AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ! AC_REQUIRE([AC_LIB_RPATH]) ! ! dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ! dnl accordingly. ! AC_LIB_LINKFLAGS_BODY([iconv]) ! ]) ! ! AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). ! dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ! dnl accordingly. ! AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ! ! dnl Add $INCICONV to CPPFLAGS before performing the following checks, ! dnl because if the user has installed libiconv and not disabled its use ! dnl via --without-libiconv-prefix, he wants to use it. The first ! dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. ! am_save_CPPFLAGS="$CPPFLAGS" ! AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" *************** *** 5154,5160 **** am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS -liconv" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); --- 5181,5187 ---- am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); *************** *** 5167,5172 **** --- 5194,5218 ---- ]) if test "$am_cv_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST(LIBICONV) + AC_SUBST(LTLIBICONV) + ]) + + AC_DEFUN([AM_ICONV], + [ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ *************** *** 5189,5199 **** AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi ! LIBICONV= ! if test "$am_cv_lib_iconv" = yes; then ! LIBICONV="-liconv" fi ! AC_SUBST(LIBICONV) ]) dnl I'd like this to be edited in -*- Autoconf -*- mode... --- 5235,6042 ---- AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi ! ]) ! ! # lib-prefix.m4 serial 1 (gettext-0.11) ! dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. ! ! dnl From Bruno Haible. ! ! dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed ! dnl to access previously installed libraries. The basic assumption is that ! dnl a user will want packages to use other packages he previously installed ! dnl with the same --prefix option. ! dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate ! dnl libraries, but is otherwise very convenient. ! AC_DEFUN([AC_LIB_PREFIX], ! [ ! AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) ! AC_REQUIRE([AC_PROG_CC]) ! AC_REQUIRE([AC_CANONICAL_HOST]) ! AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ! dnl By default, look in $includedir and $libdir. ! use_additional=yes ! AC_LIB_WITH_FINAL_PREFIX([ ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! ]) ! AC_ARG_WITH([lib-prefix], ! [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib ! --without-lib-prefix don't search for libraries in includedir and libdir], ! [ ! if test "X$withval" = "Xno"; then ! use_additional=no ! else ! if test "X$withval" = "X"; then ! AC_LIB_WITH_FINAL_PREFIX([ ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! ]) ! else ! additional_includedir="$withval/include" ! additional_libdir="$withval/lib" ! fi ! fi ! ]) ! if test $use_additional = yes; then ! dnl Potentially add $additional_includedir to $CPPFLAGS. ! dnl But don't add it ! dnl 1. if it's the standard /usr/include, ! dnl 2. if it's already present in $CPPFLAGS, ! dnl 3. if it's /usr/local/include and we are using GCC on Linux, ! dnl 4. if it doesn't exist as a directory. ! if test "X$additional_includedir" != "X/usr/include"; then ! haveit= ! for x in $CPPFLAGS; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-I$additional_includedir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test "X$additional_includedir" = "X/usr/local/include"; then ! if test -n "$GCC"; then ! case $host_os in ! linux*) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! if test -d "$additional_includedir"; then ! dnl Really add $additional_includedir to $CPPFLAGS. ! CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" ! fi ! fi ! fi ! fi ! dnl Potentially add $additional_libdir to $LDFLAGS. ! dnl But don't add it ! dnl 1. if it's the standard /usr/lib, ! dnl 2. if it's already present in $LDFLAGS, ! dnl 3. if it's /usr/local/lib and we are using GCC on Linux, ! dnl 4. if it doesn't exist as a directory. ! if test "X$additional_libdir" != "X/usr/lib"; then ! haveit= ! for x in $LDFLAGS; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test "X$additional_libdir" = "X/usr/local/lib"; then ! if test -n "$GCC"; then ! case $host_os in ! linux*) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! dnl Really add $additional_libdir to $LDFLAGS. ! LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" ! fi ! fi ! fi ! fi ! fi ! ]) ! ! dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, ! dnl acl_final_exec_prefix, containing the values to which $prefix and ! dnl $exec_prefix will expand at the end of the configure script. ! AC_DEFUN([AC_LIB_PREPARE_PREFIX], ! [ ! dnl Unfortunately, prefix and exec_prefix get only finally determined ! dnl at the end of configure. ! if test "X$prefix" = "XNONE"; then ! acl_final_prefix="$ac_default_prefix" ! else ! acl_final_prefix="$prefix" ! fi ! if test "X$exec_prefix" = "XNONE"; then ! acl_final_exec_prefix='${prefix}' ! else ! acl_final_exec_prefix="$exec_prefix" ! fi ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" ! prefix="$acl_save_prefix" ! ]) ! ! dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the ! dnl variables prefix and exec_prefix bound to the values they will have ! dnl at the end of the configure script. ! AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], ! [ ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! $1 ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! ]) ! ! # lib-link.m4 serial 3 (gettext-0.11.3) ! dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. ! ! dnl From Bruno Haible. ! ! dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and ! dnl the libraries corresponding to explicit and implicit dependencies. ! dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and ! dnl augments the CPPFLAGS variable. ! AC_DEFUN([AC_LIB_LINKFLAGS], ! [ ! AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ! AC_REQUIRE([AC_LIB_RPATH]) ! define([Name],[translit([$1],[./-], [___])]) ! define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ! [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ! AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ ! AC_LIB_LINKFLAGS_BODY([$1], [$2]) ! ac_cv_lib[]Name[]_libs="$LIB[]NAME" ! ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ! ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ! ]) ! LIB[]NAME="$ac_cv_lib[]Name[]_libs" ! LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" ! INC[]NAME="$ac_cv_lib[]Name[]_cppflags" ! AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ! AC_SUBST([LIB]NAME) ! AC_SUBST([LTLIB]NAME) ! dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the ! dnl results of this search when this library appears as a dependency. ! HAVE_LIB[]NAME=yes ! undefine([Name]) ! undefine([NAME]) ! ]) ! ! dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) ! dnl searches for libname and the libraries corresponding to explicit and ! dnl implicit dependencies, together with the specified include files and ! dnl the ability to compile and link the specified testcode. If found, it ! dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and ! dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and ! dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs ! dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. ! AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], ! [ ! AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ! AC_REQUIRE([AC_LIB_RPATH]) ! define([Name],[translit([$1],[./-], [___])]) ! define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ! [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ! ! dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME ! dnl accordingly. ! AC_LIB_LINKFLAGS_BODY([$1], [$2]) ! ! dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, ! dnl because if the user has installed lib[]Name and not disabled its use ! dnl via --without-lib[]Name-prefix, he wants to use it. ! ac_save_CPPFLAGS="$CPPFLAGS" ! AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) ! ! AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ! ac_save_LIBS="$LIBS" ! LIBS="$LIBS $LIB[]NAME" ! AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) ! LIBS="$ac_save_LIBS" ! ]) ! if test "$ac_cv_lib[]Name" = yes; then ! HAVE_LIB[]NAME=yes ! AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) ! AC_MSG_CHECKING([how to link with lib[]$1]) ! AC_MSG_RESULT([$LIB[]NAME]) ! else ! HAVE_LIB[]NAME=no ! dnl If $LIB[]NAME didn't lead to a usable library, we don't need ! dnl $INC[]NAME either. ! CPPFLAGS="$ac_save_CPPFLAGS" ! LIB[]NAME= ! LTLIB[]NAME= ! fi ! AC_SUBST([HAVE_LIB]NAME) ! AC_SUBST([LIB]NAME) ! AC_SUBST([LTLIB]NAME) ! undefine([Name]) ! undefine([NAME]) ! ]) ! ! dnl Determine the platform dependent parameters needed to use rpath: ! dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, ! dnl hardcode_direct, hardcode_minus_L, ! dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. ! AC_DEFUN([AC_LIB_RPATH], ! [ ! AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS ! AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld ! AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host ! AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir ! AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ ! CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ! ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ! . ./conftest.sh ! rm -f ./conftest.sh ! acl_cv_rpath=done ! ]) ! wl="$acl_cv_wl" ! libext="$acl_cv_libext" ! shlibext="$acl_cv_shlibext" ! hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ! hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ! hardcode_direct="$acl_cv_hardcode_direct" ! hardcode_minus_L="$acl_cv_hardcode_minus_L" ! sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" ! sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" ! dnl Determine whether the user wants rpath handling at all. ! AC_ARG_ENABLE(rpath, ! [ --disable-rpath do not hardcode runtime library paths], ! :, enable_rpath=yes) ! ]) ! ! dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and ! dnl the libraries corresponding to explicit and implicit dependencies. ! dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. ! AC_DEFUN([AC_LIB_LINKFLAGS_BODY], ! [ ! define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], ! [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) ! dnl By default, look in $includedir and $libdir. ! use_additional=yes ! AC_LIB_WITH_FINAL_PREFIX([ ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! ]) ! AC_ARG_WITH([lib$1-prefix], ! [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib ! --without-lib$1-prefix don't search for lib$1 in includedir and libdir], ! [ ! if test "X$withval" = "Xno"; then ! use_additional=no ! else ! if test "X$withval" = "X"; then ! AC_LIB_WITH_FINAL_PREFIX([ ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! ]) ! else ! additional_includedir="$withval/include" ! additional_libdir="$withval/lib" ! fi ! fi ! ]) ! dnl Search the library and its dependencies in $additional_libdir and ! dnl $LDFLAGS. Using breadth-first-seach. ! LIB[]NAME= ! LTLIB[]NAME= ! INC[]NAME= ! rpathdirs= ! ltrpathdirs= ! names_already_handled= ! names_next_round='$1 $2' ! while test -n "$names_next_round"; do ! names_this_round="$names_next_round" ! names_next_round= ! for name in $names_this_round; do ! already_handled= ! for n in $names_already_handled; do ! if test "$n" = "$name"; then ! already_handled=yes ! break ! fi ! done ! if test -z "$already_handled"; then ! names_already_handled="$names_already_handled $name" ! dnl See if it was already located by an earlier AC_LIB_LINKFLAGS ! dnl or AC_LIB_HAVE_LINKFLAGS call. ! uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` ! eval value=\"\$HAVE_LIB$uppername\" ! if test -n "$value"; then ! if test "$value" = yes; then ! eval value=\"\$LIB$uppername\" ! test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" ! eval value=\"\$LTLIB$uppername\" ! test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" ! else ! dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined ! dnl that this library doesn't exist. So just drop it. ! : ! fi ! else ! dnl Search the library lib$name in $additional_libdir and $LDFLAGS ! dnl and the already constructed $LIBNAME/$LTLIBNAME. ! found_dir= ! found_la= ! found_so= ! found_a= ! if test $use_additional = yes; then ! if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then ! found_dir="$additional_libdir" ! found_so="$additional_libdir/lib$name.$shlibext" ! if test -f "$additional_libdir/lib$name.la"; then ! found_la="$additional_libdir/lib$name.la" ! fi ! else ! if test -f "$additional_libdir/lib$name.$libext"; then ! found_dir="$additional_libdir" ! found_a="$additional_libdir/lib$name.$libext" ! if test -f "$additional_libdir/lib$name.la"; then ! found_la="$additional_libdir/lib$name.la" ! fi ! fi ! fi ! fi ! if test "X$found_dir" = "X"; then ! for x in $LDFLAGS $LTLIB[]NAME; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! case "$x" in ! -L*) ! dir=`echo "X$x" | sed -e 's/^X-L//'` ! if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then ! found_dir="$dir" ! found_so="$dir/lib$name.$shlibext" ! if test -f "$dir/lib$name.la"; then ! found_la="$dir/lib$name.la" ! fi ! else ! if test -f "$dir/lib$name.$libext"; then ! found_dir="$dir" ! found_a="$dir/lib$name.$libext" ! if test -f "$dir/lib$name.la"; then ! found_la="$dir/lib$name.la" ! fi ! fi ! fi ! ;; ! esac ! if test "X$found_dir" != "X"; then ! break ! fi ! done ! fi ! if test "X$found_dir" != "X"; then ! dnl Found the library. ! LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" ! if test "X$found_so" != "X"; then ! dnl Linking with a shared library. We attempt to hardcode its ! dnl directory into the executable's runpath, unless it's the ! dnl standard /usr/lib. ! if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then ! dnl No hardcoding is needed. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ! else ! dnl Use an explicit option to hardcode DIR into the resulting ! dnl binary. ! dnl Potentially add DIR to ltrpathdirs. ! dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $found_dir" ! fi ! dnl The hardcoding into $LIBNAME is system dependent. ! if test "$hardcode_direct" = yes; then ! dnl Using DIR/libNAME.so during linking hardcodes DIR into the ! dnl resulting binary. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ! else ! if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then ! dnl Use an explicit option to hardcode DIR into the resulting ! dnl binary. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ! dnl Potentially add DIR to rpathdirs. ! dnl The rpathdirs will be appended to $LIBNAME at the end. ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $found_dir" ! fi ! else ! dnl Rely on "-L$found_dir". ! dnl But don't add it if it's already contained in the LDFLAGS ! dnl or the already constructed $LIBNAME ! haveit= ! for x in $LDFLAGS $LIB[]NAME; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-L$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" ! fi ! if test "$hardcode_minus_L" != no; then ! dnl FIXME: Not sure whether we should use ! dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ! dnl here. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" ! else ! dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH ! dnl here, because this doesn't fit in flags passed to the ! dnl compiler. So give up. No hardcoding. This affects only ! dnl very old systems. ! dnl FIXME: Not sure whether we should use ! dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" ! dnl here. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ! fi ! fi ! fi ! fi ! else ! if test "X$found_a" != "X"; then ! dnl Linking with a static library. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" ! else ! dnl We shouldn't come here, but anyway it's good to have a ! dnl fallback. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" ! fi ! fi ! dnl Assume the include files are nearby. ! additional_includedir= ! case "$found_dir" in ! */lib | */lib/) ! basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` ! additional_includedir="$basedir/include" ! ;; ! esac ! if test "X$additional_includedir" != "X"; then ! dnl Potentially add $additional_includedir to $INCNAME. ! dnl But don't add it ! dnl 1. if it's the standard /usr/include, ! dnl 2. if it's /usr/local/include and we are using GCC on Linux, ! dnl 3. if it's already present in $CPPFLAGS or the already ! dnl constructed $INCNAME, ! dnl 4. if it doesn't exist as a directory. ! if test "X$additional_includedir" != "X/usr/include"; then ! haveit= ! if test "X$additional_includedir" = "X/usr/local/include"; then ! if test -n "$GCC"; then ! case $host_os in ! linux*) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! for x in $CPPFLAGS $INC[]NAME; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-I$additional_includedir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_includedir"; then ! dnl Really add $additional_includedir to $INCNAME. ! INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" ! fi ! fi ! fi ! fi ! fi ! dnl Look for dependencies. ! if test -n "$found_la"; then ! dnl Read the .la file. It defines the variables ! dnl dlname, library_names, old_library, dependency_libs, current, ! dnl age, revision, installed, dlopen, dlpreopen, libdir. ! save_libdir="$libdir" ! case "$found_la" in ! */* | *\\*) . "$found_la" ;; ! *) . "./$found_la" ;; ! esac ! libdir="$save_libdir" ! dnl We use only dependency_libs. ! for dep in $dependency_libs; do ! case "$dep" in ! -L*) ! additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ! dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. ! dnl But don't add it ! dnl 1. if it's the standard /usr/lib, ! dnl 2. if it's /usr/local/lib and we are using GCC on Linux, ! dnl 3. if it's already present in $LDFLAGS or the already ! dnl constructed $LIBNAME, ! dnl 4. if it doesn't exist as a directory. ! if test "X$additional_libdir" != "X/usr/lib"; then ! haveit= ! if test "X$additional_libdir" = "X/usr/local/lib"; then ! if test -n "$GCC"; then ! case $host_os in ! linux*) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! haveit= ! for x in $LDFLAGS $LIB[]NAME; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! dnl Really add $additional_libdir to $LIBNAME. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" ! fi ! fi ! haveit= ! for x in $LDFLAGS $LTLIB[]NAME; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! dnl Really add $additional_libdir to $LTLIBNAME. ! LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" ! fi ! fi ! fi ! fi ! ;; ! -R*) ! dir=`echo "X$dep" | sed -e 's/^X-R//'` ! if test "$enable_rpath" != no; then ! dnl Potentially add DIR to rpathdirs. ! dnl The rpathdirs will be appended to $LIBNAME at the end. ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $dir" ! fi ! dnl Potentially add DIR to ltrpathdirs. ! dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $dir" ! fi ! fi ! ;; ! -l*) ! dnl Handle this in the next round. ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ! ;; ! *.la) ! dnl Handle this in the next round. Throw away the .la's ! dnl directory; it is already contained in a preceding -L ! dnl option. ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ! ;; ! *) ! dnl Most likely an immediate library name. ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" ! LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ! ;; ! esac ! done ! fi ! else ! dnl Didn't find the library; assume it is in the system directories ! dnl known to the linker and runtime loader. (All the system ! dnl directories known to the linker should also be known to the ! dnl runtime loader, otherwise the system is severely misconfigured.) ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" ! LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" ! fi ! fi ! fi ! done ! done ! if test "X$rpathdirs" != "X"; then ! if test -n "$hardcode_libdir_separator"; then ! dnl Weird platform: only the last -rpath option counts, the user must ! dnl pass all path elements in one option. We can arrange that for a ! dnl single library, but not when more than one $LIBNAMEs are used. ! alldirs= ! for found_dir in $rpathdirs; do ! alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" ! done ! dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. ! acl_save_libdir="$libdir" ! libdir="$alldirs" ! eval flag=\"$hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ! else ! dnl The -rpath options are cumulative. ! for found_dir in $rpathdirs; do ! acl_save_libdir="$libdir" ! libdir="$found_dir" ! eval flag=\"$hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" ! done ! fi ! fi ! if test "X$ltrpathdirs" != "X"; then ! dnl When using libtool, the option that works for both libraries and ! dnl executables is -R. The -R options are cumulative. ! for found_dir in $ltrpathdirs; do ! LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" ! done fi ! ]) ! ! dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, ! dnl unless already present in VAR. ! dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes ! dnl contains two or three consecutive elements that belong together. ! AC_DEFUN([AC_LIB_APPENDTOVAR], ! [ ! for element in [$2]; do ! haveit= ! for x in $[$1]; do ! AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) ! if test "X$x" = "X$element"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! [$1]="${[$1]}${[$1]:+ }$element" ! fi ! done ! ]) ! ! # lib-ld.m4 serial 1 (gettext-0.11) ! dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. ! ! dnl Subroutines of libtool.m4, ! dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision ! dnl with libtool.m4. ! ! dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. ! AC_DEFUN([AC_LIB_PROG_LD_GNU], ! [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, ! [# I'd rather use --version here, but apparently some GNU ld's only accept -v. ! if $LD -v 2>&1 &5; then ! acl_cv_prog_gnu_ld=yes ! else ! acl_cv_prog_gnu_ld=no ! fi]) ! with_gnu_ld=$acl_cv_prog_gnu_ld ! ]) ! ! dnl From libtool-1.4. Sets the variable LD. ! AC_DEFUN([AC_LIB_PROG_LD], ! [AC_ARG_WITH(gnu-ld, ! [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], ! test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) ! AC_REQUIRE([AC_PROG_CC])dnl ! AC_REQUIRE([AC_CANONICAL_HOST])dnl ! ac_prog=ld ! if test "$GCC" = yes; then ! # Check if gcc -print-prog-name=ld gives a path. ! AC_MSG_CHECKING([for ld used by GCC]) ! case $host in ! *-*-mingw*) ! # gcc leaves a trailing carriage return which upsets mingw ! ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ! *) ! ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ! esac ! case $ac_prog in ! # Accept absolute paths. ! [[\\/]* | [A-Za-z]:[\\/]*)] ! [re_direlt='/[^/][^/]*/\.\./'] ! # Canonicalize the path of ld ! ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ! while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ! ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ! done ! test -z "$LD" && LD="$ac_prog" ! ;; ! "") ! # If it fails, then pretend we aren't using GCC. ! ac_prog=ld ! ;; ! *) ! # If it is relative, then search for the first ld in PATH. ! with_gnu_ld=unknown ! ;; ! esac ! elif test "$with_gnu_ld" = yes; then ! AC_MSG_CHECKING([for GNU ld]) ! else ! AC_MSG_CHECKING([for non-GNU ld]) ! fi ! AC_CACHE_VAL(acl_cv_path_LD, ! [if test -z "$LD"; then ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ! for ac_dir in $PATH; do ! test -z "$ac_dir" && ac_dir=. ! if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ! acl_cv_path_LD="$ac_dir/$ac_prog" ! # Check to see if the program is GNU ld. I'd rather use --version, ! # but apparently some GNU ld's only accept -v. ! # Break only if it was the GNU/non-GNU ld that we prefer. ! if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then ! test "$with_gnu_ld" != no && break ! else ! test "$with_gnu_ld" != yes && break ! fi ! fi ! done ! IFS="$ac_save_ifs" ! else ! acl_cv_path_LD="$LD" # Let the user override the test with a path. ! fi]) ! LD="$acl_cv_path_LD" ! if test -n "$LD"; then ! AC_MSG_RESULT($LD) ! else ! AC_MSG_RESULT(no) ! fi ! test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) ! AC_LIB_PROG_LD_GNU ]) dnl I'd like this to be edited in -*- Autoconf -*- mode... *************** *** 5283,5289 **** AC_MSG_RESULT($TCLSH) fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=$with_tcl fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no --- 6126,6132 ---- AC_MSG_RESULT($TCLSH) fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=`echo "$with_tcl" | sed 's/\(.*\)tcl/\1tk/'` fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no *************** *** 5331,5338 **** esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! AC_CHECK_HEADER(tcl.h, [ ! AC_EGREP_CPP(everything_fine, [ #include #include #ifdef TCL_MAJOR_VERSION --- 6174,6180 ---- esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! AC_EGREP_CPP(everything_fine, [ #include #include #ifdef TCL_MAJOR_VERSION *************** *** 5343,5349 **** #endif #endif #endif ! #endif], break)]) gst_cv_tcltk_includes="not found" done --- 6185,6191 ---- #endif #endif #endif ! #endif], break) gst_cv_tcltk_includes="not found" done *************** *** 5950,5960 **** dnl I'd like this to be edited in -*- Autoconf -*- mode... dnl ! AC_DEFUN(LIGHTNING_CONFIGURE_IF_NOT_FOUND, [ AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl - AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1)) AC_CHECK_HEADER(lightning.h) lightning= if test "$ac_cv_header_lightning_h" = yes; then --- 6792,6804 ---- dnl I'd like this to be edited in -*- Autoconf -*- mode... dnl ! # serial 1 LIGHTNING_CONFIGURE_IF_NOT_FOUND ! AC_DEFUN([LIGHTNING_CONFIGURE_IF_NOT_FOUND], [ AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_CHECK_HEADER(lightning.h) + AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1)) + AM_CONDITIONAL(HAVE_INSTALLED_LIGHTNING, test "$ac_cv_header_lightning_h" = yes) lightning= if test "$ac_cv_header_lightning_h" = yes; then diff -rNC3 smalltalk-2.1.2/blox-gtk/GtkDecl.st smalltalk-2.1.3/blox-gtk/GtkDecl.st *** smalltalk-2.1.2/blox-gtk/GtkDecl.st Tue Jan 21 22:22:40 2003 --- smalltalk-2.1.3/blox-gtk/GtkDecl.st Fri May 30 14:20:40 2003 *************** *** 2,11 **** | | Smalltalk Tk-based GUI building blocks (hand-written part). | - | $Revision: 1.95.1$ - | $Date: 2000/12/27 10:45:49$ - | $Author: pb$ - | ======================================================================" --- 2,7 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/Makefile.in smalltalk-2.1.3/blox-gtk/Makefile.in *** smalltalk-2.1.2/blox-gtk/Makefile.in Fri May 9 11:59:29 2003 --- smalltalk-2.1.3/blox-gtk/Makefile.in Sun Jun 22 13:37:57 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 390,422 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 393,428 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/blox-gtk/cpp.awk smalltalk-2.1.3/blox-gtk/cpp.awk *** smalltalk-2.1.2/blox-gtk/cpp.awk Tue Jan 21 21:40:28 2003 --- smalltalk-2.1.3/blox-gtk/cpp.awk Fri May 30 14:20:23 2003 *************** *** 4,13 **** # # Gtk wrapper creation scripts (poor man's preprocessor) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/funcs.awk smalltalk-2.1.3/blox-gtk/funcs.awk *** smalltalk-2.1.2/blox-gtk/funcs.awk Tue Jan 21 22:04:58 2003 --- smalltalk-2.1.3/blox-gtk/funcs.awk Fri May 30 14:20:26 2003 *************** *** 4,13 **** # # Gtk wrapper creation scripts (C function declarations) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/mk_enums.awk smalltalk-2.1.3/blox-gtk/mk_enums.awk *** smalltalk-2.1.2/blox-gtk/mk_enums.awk Fri Feb 7 12:22:47 2003 --- smalltalk-2.1.3/blox-gtk/mk_enums.awk Fri May 30 14:20:27 2003 *************** *** 4,13 **** # # Gtk wrapper creation script (enumerations) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/order.awk smalltalk-2.1.3/blox-gtk/order.awk *** smalltalk-2.1.2/blox-gtk/order.awk Sun Jan 19 15:50:27 2003 --- smalltalk-2.1.3/blox-gtk/order.awk Fri May 30 14:20:29 2003 *************** *** 4,13 **** # # Gtk wrapper creation script (sorting of header files) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/proof.st smalltalk-2.1.3/blox-gtk/proof.st *** smalltalk-2.1.2/blox-gtk/proof.st Thu Jan 16 13:22:08 2003 --- smalltalk-2.1.3/blox-gtk/proof.st Fri May 30 14:20:45 2003 *************** *** 2,11 **** | | Smalltalk Tk-based GUI building blocks proof of concept | - | $Revision: 1.95.1$ - | $Date: 2000/12/27 10:45:49$ - | $Author: pb$ - | ======================================================================" --- 2,7 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/signals.awk smalltalk-2.1.3/blox-gtk/signals.awk *** smalltalk-2.1.2/blox-gtk/signals.awk Fri Feb 7 12:23:03 2003 --- smalltalk-2.1.3/blox-gtk/signals.awk Fri May 30 14:20:30 2003 *************** *** 4,13 **** # # Gtk wrapper creation scripts (C->Smalltalk interface for signals) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/sigtable.awk smalltalk-2.1.3/blox-gtk/sigtable.awk *** smalltalk-2.1.2/blox-gtk/sigtable.awk Thu Jan 16 13:04:36 2003 --- smalltalk-2.1.3/blox-gtk/sigtable.awk Fri May 30 14:20:32 2003 *************** *** 4,13 **** # # Gtk wrapper creation scripts (creating hash table for callbacks) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-gtk/structs.awk smalltalk-2.1.3/blox-gtk/structs.awk *** smalltalk-2.1.2/blox-gtk/structs.awk Tue Jan 21 22:30:46 2003 --- smalltalk-2.1.3/blox-gtk/structs.awk Fri May 30 14:20:35 2003 *************** *** 4,13 **** # # Gtk wrapper creation script (struct declarations) # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/blox-tk/BloxCanvas.st smalltalk-2.1.3/blox-tk/BloxCanvas.st *** smalltalk-2.1.2/blox-tk/BloxCanvas.st Fri Dec 20 16:36:25 2002 --- smalltalk-2.1.3/blox-tk/BloxCanvas.st Wed Jun 4 07:55:44 2003 *************** *** 1393,1399 **** self decRefCount. shared := ValueHolder value: 1. self blox tclEval: 'image create photo'. ! self at: #image put: self tclResult. ]. data := aString. imageChanged := true. --- 1393,1399 ---- self decRefCount. shared := ValueHolder value: 1. self blox tclEval: 'image create photo'. ! self at: #image put: self blox tclResult. ]. data := aString. imageChanged := true. diff -rNC3 smalltalk-2.1.2/blox-tk/ChangeLog smalltalk-2.1.3/blox-tk/ChangeLog *** smalltalk-2.1.2/blox-tk/ChangeLog Fri May 9 09:26:32 2003 --- smalltalk-2.1.3/blox-tk/ChangeLog Sat Jun 28 15:52:34 2003 *************** *** 1,3 **** --- 1,12 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + + 2003-06-04 Paolo Bonzini + + * blox-tk/BloxCanvas.st: fixed bug in BEmbeddedImage>> + #data:. Thanks to Mike Anderson. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/blox-tk/Makefile.in smalltalk-2.1.3/blox-tk/Makefile.in *** smalltalk-2.1.2/blox-tk/Makefile.in Fri May 9 11:59:23 2003 --- smalltalk-2.1.3/blox-tk/Makefile.in Sun Jun 22 13:37:57 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 271,303 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 274,309 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/browser/ChangeLog smalltalk-2.1.3/browser/ChangeLog *** smalltalk-2.1.2/browser/ChangeLog Fri May 9 09:26:44 2003 --- smalltalk-2.1.3/browser/ChangeLog Sat Jun 28 15:52:36 2003 *************** *** 1,3 **** --- 1,12 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + + 2003-05-14 Jan Hidders + + * browser/PCode.st: syntax highlight unary and + binary methods correctly. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/browser/PCode.st smalltalk-2.1.3/browser/PCode.st *** smalltalk-2.1.2/browser/PCode.st Sat Jan 4 14:25:27 2003 --- smalltalk-2.1.3/browser/PCode.st Tue May 27 19:41:25 2003 *************** *** 342,365 **** [widget highlightAs: #unaryMsg from: aMethodNode selectorParts first start ! to: aMethodNode selectorParts first stop. ! ^self]. aMethodNode isBinary ifTrue: [widget highlightAs: #binaryMsg from: aMethodNode selectorParts first start to: aMethodNode selectorParts first stop. ! self highlightNewVariable: aMethodNode arguments first as: #argument. ! ^self]. ! aMethodNode selectorParts with: aMethodNode arguments ! do: ! [:sel :arg | ! widget ! highlightAs: #binaryMsg ! from: sel start ! to: sel stop. ! self highlightNewVariable: arg as: #argument]. self visitNode: aMethodNode body! acceptOptimizedNode: aBlockNode --- 342,368 ---- [widget highlightAs: #unaryMsg from: aMethodNode selectorParts first start ! to: aMethodNode selectorParts first stop ]. ! aMethodNode isBinary ifTrue: [widget highlightAs: #binaryMsg from: aMethodNode selectorParts first start to: aMethodNode selectorParts first stop. ! self highlightNewVariable: aMethodNode arguments first as: #argument ]. ! ! aMethodNode isKeyword ! ifTrue: ! [aMethodNode selectorParts with: aMethodNode arguments ! do: ! [:sel :arg | ! widget ! highlightAs: #binaryMsg ! from: sel start ! to: sel stop. ! self highlightNewVariable: arg as: #argument] ]. ! self visitNode: aMethodNode body! acceptOptimizedNode: aBlockNode diff -rNC3 smalltalk-2.1.2/compiler/ChangeLog smalltalk-2.1.3/compiler/ChangeLog *** smalltalk-2.1.2/compiler/ChangeLog Fri May 9 09:26:48 2003 --- smalltalk-2.1.3/compiler/ChangeLog Sat Jun 28 15:52:38 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/config/Makefile.am smalltalk-2.1.3/config/Makefile.am *** smalltalk-2.1.2/config/Makefile.am Tue May 6 16:50:58 2003 --- smalltalk-2.1.3/config/Makefile.am Tue Jun 24 23:44:40 2003 *************** *** 6,13 **** dist_noinst_DATA = \ align.m4 bold.m4 codeset.m4 ext_goto.m4 fault.m4 gcc.m4 getpagesize.m4 \ ! glib-2.0.m4 gmp.m4 gst.m4 gtk-2.0.m4 iconv.m4 inet.m4 libtool.m4 \ ! lightning.m4 localtime.m4 mmap-anon.m4 modules.m4 pkg.m4 \ readline.m4 relocatable.m4 restrict.m4 sigaltstack-longjmp.m4 \ sigaltstack-siglongjmp.m4 sigaltstack.m4 snprintfv.m4 strtoul.m4 \ symbolset.m4 tcltk.m4 version.m4 --- 6,14 ---- dist_noinst_DATA = \ align.m4 bold.m4 codeset.m4 ext_goto.m4 fault.m4 gcc.m4 getpagesize.m4 \ ! glib-2.0.m4 gmp.m4 gst.m4 gtk-2.0.m4 iconv.m4 inet.m4 \ ! lib-ld.m4 lib-link.m4 lib-prefix.m4 libtool.m4 \ ! lightning.m4 localtime.m4 ltdl.m4 mmap-anon.m4 modules.m4 pkg.m4 \ readline.m4 relocatable.m4 restrict.m4 sigaltstack-longjmp.m4 \ sigaltstack-siglongjmp.m4 sigaltstack.m4 snprintfv.m4 strtoul.m4 \ symbolset.m4 tcltk.m4 version.m4 diff -rNC3 smalltalk-2.1.2/config/Makefile.in smalltalk-2.1.3/config/Makefile.in *** smalltalk-2.1.2/config/Makefile.in Fri May 9 11:59:00 2003 --- smalltalk-2.1.3/config/Makefile.in Sat Jun 28 12:25:32 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 180,187 **** dist_noinst_DATA = \ align.m4 bold.m4 codeset.m4 ext_goto.m4 fault.m4 gcc.m4 getpagesize.m4 \ ! glib-2.0.m4 gmp.m4 gst.m4 gtk-2.0.m4 iconv.m4 inet.m4 libtool.m4 \ ! lightning.m4 localtime.m4 mmap-anon.m4 modules.m4 pkg.m4 \ readline.m4 relocatable.m4 restrict.m4 sigaltstack-longjmp.m4 \ sigaltstack-siglongjmp.m4 sigaltstack.m4 snprintfv.m4 strtoul.m4 \ symbolset.m4 tcltk.m4 version.m4 --- 183,191 ---- dist_noinst_DATA = \ align.m4 bold.m4 codeset.m4 ext_goto.m4 fault.m4 gcc.m4 getpagesize.m4 \ ! glib-2.0.m4 gmp.m4 gst.m4 gtk-2.0.m4 iconv.m4 inet.m4 \ ! lib-ld.m4 lib-link.m4 lib-prefix.m4 libtool.m4 \ ! lightning.m4 localtime.m4 ltdl.m4 mmap-anon.m4 modules.m4 pkg.m4 \ readline.m4 relocatable.m4 restrict.m4 sigaltstack-longjmp.m4 \ sigaltstack-siglongjmp.m4 sigaltstack.m4 snprintfv.m4 strtoul.m4 \ symbolset.m4 tcltk.m4 version.m4 diff -rNC3 smalltalk-2.1.2/config/codeset.m4 smalltalk-2.1.3/config/codeset.m4 *** smalltalk-2.1.2/config/codeset.m4 Tue Jun 25 20:35:57 2002 --- smalltalk-2.1.3/config/codeset.m4 Mon Jun 9 09:36:06 2003 *************** *** 1,4 **** ! #serial AM1 dnl From Bruno Haible. --- 1,10 ---- ! # codeset.m4 serial AM1 (gettext-0.10.40) ! dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. diff -rNC3 smalltalk-2.1.2/config/config.guess smalltalk-2.1.3/config/config.guess *** smalltalk-2.1.2/config/config.guess Sat Feb 22 13:03:22 2003 --- smalltalk-2.1.3/config/config.guess Mon Jun 9 09:36:05 2003 *************** *** 1,9 **** #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, ! # 2000, 2001, 2002 Free Software Foundation, Inc. ! timestamp='2002-10-21' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by --- 1,9 ---- #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, ! # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. ! timestamp='2003-05-09' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by *************** *** 98,111 **** # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. ! # This shell variable is my proudest work .. or something. --bje ! set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; ! (old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) ! || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; ! dummy=$tmpdir/dummy ; ! files="$dummy.c $dummy.o $dummy.rel $dummy" ; ! trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do --- 98,114 ---- # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. ! # Portable tmp directory creation inspired by the Autoconf team. ! set_cc_for_build=' ! trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; ! trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; ! : ${TMPDIR=/tmp} ; ! { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || ! { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || ! { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; ! dummy=$tmp/dummy ; ! tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do *************** *** 113,127 **** CC_FOR_BUILD="$c"; break ; fi ; done ; - rm -f $files ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; ! esac ; ! unset files' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) --- 116,128 ---- CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; ! esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) *************** *** 178,184 **** ;; esac # The OS release ! release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. --- 179,196 ---- ;; esac # The OS release ! # Debian GNU/NetBSD machines have a different userland, and ! # thus, need a distinct triplet. However, they do not need ! # kernel version information, so it can be replaced with a ! # suitable tag, in the style of linux-gnu. ! case "${UNAME_VERSION}" in ! Debian*) ! release='-gnu' ! ;; ! *) ! release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ! ;; ! esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. *************** *** 227,292 **** if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - eval $set_cc_for_build - cat <$dummy.s - .data - \$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main - main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main - EOF - $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null - if test "$?" = 0 ; then - case `$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - 3-1307) - UNAME_MACHINE="alphaev7" - ;; - esac - fi - rm -f $dummy.s $dummy && rmdir $tmpdir echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) --- 239,285 ---- if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) *************** *** 439,446 **** EOF $CC_FOR_BUILD -o $dummy $dummy.c \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ ! && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 ! rm -f $dummy.c $dummy && rmdir $tmpdir echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) --- 432,438 ---- EOF $CC_FOR_BUILD -o $dummy $dummy.c \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ ! && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) *************** *** 449,455 **** Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; ! Night_Hawk:*:*:PowerMAX_OS) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) --- 441,447 ---- Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; ! Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) *************** *** 524,531 **** exit(0); } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 ! rm -f $dummy.c $dummy && rmdir $tmpdir echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 --- 516,522 ---- exit(0); } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 *************** *** 624,633 **** } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` ! if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi ! rm -f $dummy.c $dummy && rmdir $tmpdir fi ;; esac echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) --- 615,634 ---- } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` ! test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + # avoid double evaluation of $set_cc_for_build + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) *************** *** 661,668 **** exit (0); } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 ! rm -f $dummy.c $dummy && rmdir $tmpdir echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) --- 662,668 ---- exit (0); } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) *************** *** 720,734 **** CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` --- 720,734 ---- CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; + *:UNICOS/mp:*:*) + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` *************** *** 744,750 **** *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; ! *:FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c --- 744,750 ---- *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; ! *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c *************** *** 756,762 **** #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c && rmdir $tmpdir echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) --- 756,761 ---- *************** *** 769,781 **** echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:3*) ! echo i386-pc-interix3 exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? ! echo i386-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin --- 768,783 ---- echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:3*) ! echo i586-pc-interix3 ! exit 0 ;; ! [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) ! echo i${UNAME_MACHINE}-pc-mks exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? ! echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin *************** *** 818,825 **** #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` ! rm -f $dummy.c && rmdir $tmpdir ! test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu --- 820,845 ---- #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` ! test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ! ;; ! mips64:Linux:*:*) ! eval $set_cc_for_build ! sed 's/^ //' << EOF >$dummy.c ! #undef CPU ! #undef mips64 ! #undef mips64el ! #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) ! CPU=mips64el ! #else ! #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) ! CPU=mips64 ! #else ! CPU= ! #endif ! #endif ! EOF ! eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` ! test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu *************** *** 914,920 **** #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` - rm -f $dummy.c && rmdir $tmpdir test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; --- 934,939 ---- *************** *** 932,937 **** --- 951,973 ---- # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then *************** *** 966,974 **** echo ${UNAME_MACHINE}-pc-sysv32 fi exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit 0 ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about --- 1002,1007 ---- *************** *** 995,1003 **** mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; ! 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` --- 1028,1039 ---- mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; ! 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` *************** *** 1014,1022 **** mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; --- 1050,1055 ---- *************** *** 1098,1104 **** echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) ! echo `uname -p`-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` --- 1131,1141 ---- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) ! case `uname -p` in ! *86) UNAME_PROCESSOR=i686 ;; ! powerpc) UNAME_PROCESSOR=powerpc ;; ! esac ! echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` *************** *** 1134,1144 **** fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; --- 1171,1176 ---- *************** *** 1157,1168 **** *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 --- 1189,1194 ---- *************** *** 1283,1290 **** } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 ! rm -f $dummy.c $dummy && rmdir $tmpdir # Apollos put the system type in the environment. --- 1309,1315 ---- } EOF ! $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. diff -rNC3 smalltalk-2.1.2/config/config.sub smalltalk-2.1.3/config/config.sub *** smalltalk-2.1.2/config/config.sub Sat Feb 22 13:03:22 2003 --- smalltalk-2.1.3/config/config.sub Mon Jun 9 09:36:05 2003 *************** *** 1,9 **** #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, ! # 2000, 2001, 2002 Free Software Foundation, Inc. ! timestamp='2002-09-05' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software --- 1,9 ---- #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, ! # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. ! timestamp='2003-05-09' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software *************** *** 118,124 **** # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in ! nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; --- 118,124 ---- # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in ! nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *************** *** 245,261 **** | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ ! | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | strongarm \ --- 245,263 ---- | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ ! | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | strongarm \ *************** *** 294,300 **** | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bs2000-* \ ! | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ --- 296,302 ---- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ | bs2000-* \ ! | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ *************** *** 315,335 **** | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ ! | mipstx39 | mipstx39el \ ! | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ ! | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ ! | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ --- 317,341 ---- | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ ! | mipstx39-* | mipstx39el-* \ ! | msp430-* \ ! | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ ! | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ ! | tahoe-* | thumb-* \ ! | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ ! | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ *************** *** 367,372 **** --- 373,381 ---- basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; amdahl) basic_machine=580-amdahl os=-sysv *************** *** 716,721 **** --- 725,734 ---- np1) basic_machine=np1-gould ;; + nv1) + basic_machine=nv1-cray + os=-unicosmp + ;; nsr-tandem) basic_machine=nsr-tandem ;; *************** *** 901,910 **** basic_machine=i386-sequent os=-dynix ;; - t3d) - basic_machine=alpha-cray - os=-unicos - ;; t3e) basic_machine=alphaev5-cray os=-unicos --- 914,919 ---- *************** *** 921,926 **** --- 930,943 ---- basic_machine=tic54x-unknown os=-coff ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; *************** *** 977,986 **** basic_machine=hppa1.1-winbond os=-proelf ;; - windows32) - basic_machine=i386-pc - os=-windows32-msvcrt - ;; xps | xps100) basic_machine=xps100-honeywell ;; --- 994,999 ---- *************** *** 1027,1033 **** we32k) basic_machine=we32k-att ;; ! sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) basic_machine=sh-unknown ;; sh64) --- 1040,1046 ---- we32k) basic_machine=we32k-att ;; ! sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sh64) *************** *** 1113,1123 **** | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ ! | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ ! | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) --- 1126,1137 ---- | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ ! | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ ! | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ ! | -powermax* | -dnix*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) *************** *** 1129,1136 **** ;; esac ;; -nto*) ! os=-nto-qnx ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ --- 1143,1152 ---- ;; esac ;; + -nto-qnx*) + ;; -nto*) ! os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ *************** *** 1223,1228 **** --- 1239,1250 ---- ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos ;; -none) ;; diff -rNC3 smalltalk-2.1.2/config/fault.m4 smalltalk-2.1.3/config/fault.m4 *** smalltalk-2.1.2/config/fault.m4 Tue Apr 29 22:46:02 2003 --- smalltalk-2.1.3/config/fault.m4 Fri Jun 20 08:28:17 2003 *************** *** 48,53 **** --- 48,55 ---- { void *fault_address = (void *) ($6); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) diff -rNC3 smalltalk-2.1.2/config/iconv.m4 smalltalk-2.1.3/config/iconv.m4 *** smalltalk-2.1.2/config/iconv.m4 Tue Jun 25 20:35:56 2002 --- smalltalk-2.1.3/config/iconv.m4 Tue Jun 24 23:44:40 2003 *************** *** 1,19 **** ! #serial AM2 dnl From Bruno Haible. ! AC_DEFUN([AM_ICONV], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). ! AC_ARG_WITH([libiconv-prefix], ! [ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [ ! for dir in `echo "$withval" | tr : ' '`; do ! if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi ! if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi ! done ! ]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" --- 1,39 ---- ! # iconv.m4 serial AM4 (gettext-0.11.3) ! dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ! dnl This file is free software, distributed under the terms of the GNU ! dnl General Public License. As a special exception to the GNU General ! dnl Public License, this file may be distributed as part of a program ! dnl that contains a configuration script generated by Autoconf, under ! dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. ! AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], ! [ ! dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ! AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ! AC_REQUIRE([AC_LIB_RPATH]) ! ! dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ! dnl accordingly. ! AC_LIB_LINKFLAGS_BODY([iconv]) ! ]) ! ! AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). ! dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV ! dnl accordingly. ! AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ! ! dnl Add $INCICONV to CPPFLAGS before performing the following checks, ! dnl because if the user has installed libiconv and not disabled its use ! dnl via --without-libiconv-prefix, he wants to use it. The first ! dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. ! am_save_CPPFLAGS="$CPPFLAGS" ! AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" *************** *** 26,32 **** am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS -liconv" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); --- 46,52 ---- am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); *************** *** 39,44 **** --- 59,83 ---- ]) if test "$am_cv_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST(LIBICONV) + AC_SUBST(LTLIBICONV) + ]) + + AC_DEFUN([AM_ICONV], + [ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ *************** *** 61,69 **** AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi - LIBICONV= - if test "$am_cv_lib_iconv" = yes; then - LIBICONV="-liconv" - fi - AC_SUBST(LIBICONV) ]) --- 100,103 ---- diff -rNC3 smalltalk-2.1.2/config/lib-ld.m4 smalltalk-2.1.3/config/lib-ld.m4 *** smalltalk-2.1.2/config/lib-ld.m4 Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/config/lib-ld.m4 Tue Jun 24 23:44:40 2003 *************** *** 0 **** --- 1,97 ---- + # lib-ld.m4 serial 1 (gettext-0.11) + dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General + dnl Public License, this file may be distributed as part of a program + dnl that contains a configuration script generated by Autoconf, under + dnl the same distribution terms as the rest of that program. + + dnl Subroutines of libtool.m4, + dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision + dnl with libtool.m4. + + dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. + AC_DEFUN([AC_LIB_PROG_LD_GNU], + [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, + [# I'd rather use --version here, but apparently some GNU ld's only accept -v. + if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes + else + acl_cv_prog_gnu_ld=no + fi]) + with_gnu_ld=$acl_cv_prog_gnu_ld + ]) + + dnl From libtool-1.4. Sets the variable LD. + AC_DEFUN([AC_LIB_PROG_LD], + [AC_ARG_WITH(gnu-ld, + [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], + test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac + elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) + else + AC_MSG_CHECKING([for non-GNU ld]) + fi + AC_CACHE_VAL(acl_cv_path_LD, + [if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" + else + acl_cv_path_LD="$LD" # Let the user override the test with a path. + fi]) + LD="$acl_cv_path_LD" + if test -n "$LD"; then + AC_MSG_RESULT($LD) + else + AC_MSG_RESULT(no) + fi + test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) + AC_LIB_PROG_LD_GNU + ]) diff -rNC3 smalltalk-2.1.2/config/lib-link.m4 smalltalk-2.1.3/config/lib-link.m4 *** smalltalk-2.1.2/config/lib-link.m4 Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/config/lib-link.m4 Tue Jun 24 23:44:40 2003 *************** *** 0 **** --- 1,554 ---- + # lib-link.m4 serial 3 (gettext-0.11.3) + dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General + dnl Public License, this file may be distributed as part of a program + dnl that contains a configuration script generated by Autoconf, under + dnl the same distribution terms as the rest of that program. + + dnl From Bruno Haible. + + dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and + dnl the libraries corresponding to explicit and implicit dependencies. + dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and + dnl augments the CPPFLAGS variable. + AC_DEFUN([AC_LIB_LINKFLAGS], + [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) + ]) + + dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) + dnl searches for libname and the libraries corresponding to explicit and + dnl implicit dependencies, together with the specified include files and + dnl the ability to compile and link the specified testcode. If found, it + dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and + dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and + dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs + dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. + AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], + [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + undefine([Name]) + undefine([NAME]) + ]) + + dnl Determine the platform dependent parameters needed to use rpath: + dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, + dnl hardcode_direct, hardcode_minus_L, + dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. + AC_DEFUN([AC_LIB_RPATH], + [ + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" + sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) + ]) + + dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and + dnl the libraries corresponding to explicit and implicit dependencies. + dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. + AC_DEFUN([AC_LIB_LINKFLAGS_BODY], + [ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_ARG_WITH([lib$1-prefix], + [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib$1-prefix don't search for lib$1 in includedir and libdir], + [ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + ]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi + ]) + + dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, + dnl unless already present in VAR. + dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes + dnl contains two or three consecutive elements that belong together. + AC_DEFUN([AC_LIB_APPENDTOVAR], + [ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done + ]) diff -rNC3 smalltalk-2.1.2/config/lib-prefix.m4 smalltalk-2.1.3/config/lib-prefix.m4 *** smalltalk-2.1.2/config/lib-prefix.m4 Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/config/lib-prefix.m4 Tue Jun 24 23:44:40 2003 *************** *** 0 **** --- 1,148 ---- + # lib-prefix.m4 serial 1 (gettext-0.11) + dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General + dnl Public License, this file may be distributed as part of a program + dnl that contains a configuration script generated by Autoconf, under + dnl the same distribution terms as the rest of that program. + + dnl From Bruno Haible. + + dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed + dnl to access previously installed libraries. The basic assumption is that + dnl a user will want packages to use other packages he previously installed + dnl with the same --prefix option. + dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate + dnl libraries, but is otherwise very convenient. + AC_DEFUN([AC_LIB_PREFIX], + [ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_ARG_WITH([lib-prefix], + [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], + [ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + ]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi + ]) + + dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, + dnl acl_final_exec_prefix, containing the values to which $prefix and + dnl $exec_prefix will expand at the end of the configure script. + AC_DEFUN([AC_LIB_PREPARE_PREFIX], + [ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + ]) + + dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the + dnl variables prefix and exec_prefix bound to the values they will have + dnl at the end of the configure script. + AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], + [ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + ]) diff -rNC3 smalltalk-2.1.2/config/libtool.m4 smalltalk-2.1.3/config/libtool.m4 *** smalltalk-2.1.2/config/libtool.m4 Thu Apr 3 22:37:55 2003 --- smalltalk-2.1.3/config/libtool.m4 Wed Jun 4 11:46:09 2003 *************** *** 1557,1563 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 1557,1563 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 2109,2115 **** shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU ld.so' ;; freebsd*) --- 2109,2115 ---- shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ;; freebsd*) *************** *** 2277,2282 **** --- 2277,2283 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 3435,3441 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 3436,3442 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM diff -rNC3 smalltalk-2.1.2/config/lightning.m4 smalltalk-2.1.3/config/lightning.m4 *** smalltalk-2.1.2/config/lightning.m4 Tue Jun 25 20:35:56 2002 --- smalltalk-2.1.3/config/lightning.m4 Mon Jun 9 09:30:43 2003 *************** *** 1,10 **** dnl I'd like this to be edited in -*- Autoconf -*- mode... dnl ! AC_DEFUN(LIGHTNING_CONFIGURE_IF_NOT_FOUND, [ AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl - AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1)) AC_CHECK_HEADER(lightning.h) lightning= if test "$ac_cv_header_lightning_h" = yes; then --- 1,12 ---- dnl I'd like this to be edited in -*- Autoconf -*- mode... dnl ! # serial 1 LIGHTNING_CONFIGURE_IF_NOT_FOUND ! AC_DEFUN([LIGHTNING_CONFIGURE_IF_NOT_FOUND], [ AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_CHECK_HEADER(lightning.h) + AM_CONDITIONAL(LIGHTNING_MAIN, (exit 1)) + AM_CONDITIONAL(HAVE_INSTALLED_LIGHTNING, test "$ac_cv_header_lightning_h" = yes) lightning= if test "$ac_cv_header_lightning_h" = yes; then diff -rNC3 smalltalk-2.1.2/config/ltdl.m4 smalltalk-2.1.3/config/ltdl.m4 *** smalltalk-2.1.2/config/ltdl.m4 Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/config/ltdl.m4 Mon Jun 9 09:36:06 2003 *************** *** 0 **** --- 1,395 ---- + ## ltdl.m4 - Configure ltdl for the target system. -*-Shell-script-*- + ## Copyright (C) 1999-2000 Free Software Foundation, Inc. + ## + ## This program is free software; you can redistribute it and/or modify + ## it under the terms of the GNU General Public License as published by + ## the Free Software Foundation; either version 2 of the License, or + ## (at your option) any later version. + ## + ## This program is distributed in the hope that it will be useful, but + ## WITHOUT ANY WARRANTY; without even the implied warranty of + ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + ## General Public License for more details. + ## + ## You should have received a copy of the GNU General Public License + ## along with this program; if not, write to the Free Software + ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + ## + ## As a special exception to the GNU General Public License, if you + ## distribute this file as part of a program that contains a + ## configuration script generated by Autoconf, you may include it under + ## the same distribution terms that you use for the rest of that program. + + # serial 5 AC_LIB_LTDL + + # AC_WITH_LTDL + # ------------ + # Clients of libltdl can use this macro to allow the installer to + # choose between a shipped copy of the ltdl sources or a preinstalled + # version of the library. + AC_DEFUN([AC_WITH_LTDL], + [AC_REQUIRE([AC_LIB_LTDL]) + AC_SUBST([LIBLTDL]) + AC_SUBST([INCLTDL]) + + # Unless the user asks us to check, assume no installed ltdl exists. + use_installed_libltdl=no + + AC_ARG_WITH([included_ltdl], + [ --with-included-ltdl use the GNU ltdl sources included here]) + + if test "x$with_included_ltdl" != xyes; then + # We are not being forced to use the included libltdl sources, so + # decide whether there is a useful installed version we can use. + AC_CHECK_HEADER([ltdl.h], + [AC_CHECK_LIB([ltdl], [lt_dlcaller_register], + [with_included_ltdl=no], + [with_included_ltdl=yes]) + ]) + fi + + if test "x$enable_ltdl_install" != xyes; then + # If the user did not specify an installable libltdl, then default + # to a convenience lib. + AC_LIBLTDL_CONVENIENCE + fi + + if test "x$with_included_ltdl" = xno; then + # If the included ltdl is not to be used. then Use the + # preinstalled libltdl we found. + AC_DEFINE([HAVE_LTDL], 1, + [Define this if a modern libltdl is already installed]) + LIBLTDL=-lltdl + fi + + # Report our decision... + AC_MSG_CHECKING([whether to use included libltdl]) + AC_MSG_RESULT([$with_included_ltdl]) + + AC_CONFIG_SUBDIRS([libltdl]) + ])# AC_WITH_LTDL + + + # AC_LIB_LTDL + # ----------- + # Perform all the checks necessary for compilation of the ltdl objects + # -- including compiler checks and header checks. + AC_DEFUN([AC_LIB_LTDL], + [AC_PREREQ(2.13) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_C_CONST]) + AC_REQUIRE([AC_HEADER_STDC]) + AC_REQUIRE([AC_HEADER_DIRENT]) + AC_REQUIRE([AC_LIBTOOL_HEADER_ASSERT]) + AC_REQUIRE([_LT_AC_CHECK_DLFCN]) + AC_REQUIRE([AC_LTDL_ENABLE_INSTALL]) + AC_REQUIRE([AC_LTDL_SHLIBEXT]) + AC_REQUIRE([AC_LTDL_SHLIBPATH]) + AC_REQUIRE([AC_LTDL_SYSSEARCHPATH]) + AC_REQUIRE([AC_LTDL_OBJDIR]) + AC_REQUIRE([AC_LTDL_DLPREOPEN]) + AC_REQUIRE([AC_LTDL_DLLIB]) + AC_REQUIRE([AC_LTDL_SYMBOL_USCORE]) + AC_REQUIRE([AC_LTDL_DLSYM_USCORE]) + AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS]) + AC_REQUIRE([AC_LTDL_FUNC_ARGZ]) + + AC_CHECK_HEADERS([errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h]) + AC_CHECK_HEADERS([dl.h sys/dl.h dld.h]) + AC_CHECK_HEADERS([string.h strings.h], break) + + AC_CHECK_FUNCS([strchr index], break) + AC_CHECK_FUNCS([strrchr rindex], break) + AC_CHECK_FUNCS([memcpy bcopy], break) + AC_CHECK_FUNCS([memmove strcmp]) + + ])# AC_LIB_LTDL + + # AC_LTDL_ENABLE_INSTALL + # ---------------------- + AC_DEFUN([AC_LTDL_ENABLE_INSTALL], + [AC_ARG_ENABLE(ltdl-install, + [ --enable-ltdl-install install libltdl]) + + AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) + AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno) + ])])# AC_LTDL_ENABLE_INSTALL + + # AC_LTDL_SYS_DLOPEN_DEPLIBS + # -------------------------- + AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], + [AC_REQUIRE([AC_CANONICAL_HOST]) + AC_CACHE_CHECK([whether deplibs are loaded by dlopen], + libltdl_cv_sys_dlopen_deplibs, [dnl + # PORTME does your system automatically load deplibs for dlopen()? + libltdl_cv_sys_dlopen_deplibs=unknown + case "$host_os" in + hpux10*|hpux11*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + linux*|freebsd*-gnu*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + netbsd*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + openbsd*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + solaris*) + libltdl_cv_sys_dlopen_deplibs=yes + ;; + esac + ]) + if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then + AC_DEFINE(LTDL_DLOPEN_DEPLIBS, 1, + [Define if the OS needs help to load dependent libraries for dlopen(). ]) + fi + ])# AC_LTDL_SYS_DLOPEN_DEPLIBS + + # AC_LTDL_SHLIBEXT + # ---------------- + AC_DEFUN([AC_LTDL_SHLIBEXT], + [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) + AC_CACHE_CHECK([which extension is used for shared libraries], + libltdl_cv_shlibext, + [ac_last= + for ac_spec in $library_names_spec; do + ac_last="$ac_spec" + done + echo "$ac_last" | [sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//'] > conftest + libltdl_cv_shlibext=`cat conftest` + rm -f conftest + ]) + if test -n "$libltdl_cv_shlibext"; then + AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext", + [Define to the extension used for shared libraries, say, ".so". ]) + fi + ])# AC_LTDL_SHLIBEXT + + # AC_LTDL_SHLIBPATH + # ----------------- + AC_DEFUN([AC_LTDL_SHLIBPATH], + [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) + AC_CACHE_CHECK([which variable specifies run-time library path], + libltdl_cv_shlibpath_var, [libltdl_cv_shlibpath_var="$shlibpath_var"]) + if test -n "$libltdl_cv_shlibpath_var"; then + AC_DEFINE_UNQUOTED(LTDL_SHLIBPATH_VAR, "$libltdl_cv_shlibpath_var", + [Define to the name of the environment variable that determines the dynamic library search path. ]) + fi + ])# AC_LTDL_SHLIBPATH + + # AC_LTDL_SYSSEARCHPATH + # --------------------- + AC_DEFUN([AC_LTDL_SYSSEARCHPATH], + [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) + AC_CACHE_CHECK([for the default library search path], + libltdl_cv_sys_search_path, [libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"]) + if test -n "$libltdl_cv_sys_search_path"; then + case "$host" in + *-*-mingw*) pathsep=";" ;; + *) pathsep=":" ;; + esac + sys_search_path= + for dir in $libltdl_cv_sys_search_path; do + if test -z "$sys_search_path"; then + sys_search_path="$dir" + else + sys_search_path="$sys_search_path$pathsep$dir" + fi + done + AC_DEFINE_UNQUOTED(LTDL_SYSSEARCHPATH, "$sys_search_path", + [Define to the system default library search path. ]) + fi + ])# AC_LTDL_SYSSEARCHPATH + + # AC_LTDL_OBJDIR + # -------------- + AC_DEFUN([AC_LTDL_OBJDIR], + [AC_CACHE_CHECK([for objdir], + libltdl_cv_objdir, [libltdl_cv_objdir="$objdir" + if test -n "$objdir"; then + : + else + rm -f .libs 2>/dev/null + mkdir .libs 2>/dev/null + if test -d .libs; then + libltdl_cv_objdir=.libs + else + # MS-DOS does not allow filenames that begin with a dot. + libltdl_cv_objdir=_libs + fi + rmdir .libs 2>/dev/null + fi]) + AC_DEFINE_UNQUOTED(LTDL_OBJDIR, "$libltdl_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries. ]) + ])# AC_LTDL_OBJDIR + + # AC_LTDL_DLPREOPEN + # ----------------- + AC_DEFUN([AC_LTDL_DLPREOPEN], + [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl + AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], + libltdl_cv_preloaded_symbols, [dnl + if test -n "$global_symbol_pipe"; then + libltdl_cv_preloaded_symbols=yes + else + libltdl_cv_preloaded_symbols=no + fi + ]) + if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then + AC_DEFINE(HAVE_PRELOADED_SYMBOLS, 1, + [Define if libtool can extract symbol lists from object files. ]) + fi + ])# AC_LTDL_DLPREOPEN + + # AC_LTDL_DLLIB + # ------------- + AC_DEFUN([AC_LTDL_DLLIB], + [LIBADD_DL= + AC_SUBST(LIBADD_DL) + + AC_CHECK_FUNC([shl_load], + [AC_DEFINE([HAVE_SHL_LOAD], [1], + [Define if you have the shl_load function.])], + [AC_CHECK_LIB([dld], [shl_load], + [AC_DEFINE([HAVE_SHL_LOAD], [1], + [Define if you have the shl_load function.]) + LIBADD_DL="$LIBADD_DL -ldld"], + [AC_CHECK_LIB([dl], [dlopen], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.]) + LIBADD_DL="-ldl"], + [AC_TRY_LINK([#if HAVE_DLFCN_H + # include + #endif + ], + [dlopen(0, 0);], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.])], + [AC_CHECK_LIB([svld], [dlopen], + [AC_DEFINE([HAVE_LIBDL], [1], + [Define if you have the libdl library or equivalent.]) + LIBADD_DL="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [AC_DEFINE([HAVE_DLD], [1], + [Define if you have the GNU dld library.]) + LIBADD_DL="$LIBADD_DL -ldld" + ]) + ]) + ]) + ]) + ]) + ]) + + if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then + LIBS_SAVE="$LIBS" + LIBS="$LIBS $LIBADD_DL" + AC_CHECK_FUNCS(dlerror) + LIBS="$LIBS_SAVE" + fi + ])# AC_LTDL_DLLIB + + # AC_LTDL_SYMBOL_USCORE + # --------------------- + AC_DEFUN([AC_LTDL_SYMBOL_USCORE], + [dnl does the compiler prefix global symbols with an underscore? + AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl + AC_MSG_CHECKING([for _ prefix in compiled symbols]) + AC_CACHE_VAL(ac_cv_sys_symbol_underscore, + [ac_cv_sys_symbol_underscore=no + cat > conftest.$ac_ext < $ac_nlist) && test -s "$ac_nlist"; then + # See whether the symbols have a leading underscore. + if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then + ac_cv_sys_symbol_underscore=yes + else + if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then + : + else + echo "configure: cannot find nm_test_func in $ac_nlist" >&AC_FD_CC + fi + fi + else + echo "configure: cannot run $global_symbol_pipe" >&AC_FD_CC + fi + else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.c >&AC_FD_CC + fi + rm -rf conftest* + ]) + AC_MSG_RESULT($ac_cv_sys_symbol_underscore) + ])# AC_LTDL_SYMBOL_USCORE + + + # AC_LTDL_DLSYM_USCORE + # -------------------- + AC_DEFUN([AC_LTDL_DLSYM_USCORE], + [AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])dnl + if test x"$ac_cv_sys_symbol_underscore" = xyes; then + if test x"$ac_cv_func_dlopen" = xyes || + test x"$ac_cv_lib_dl_dlopen" = xyes ; then + AC_CACHE_CHECK([whether we have to add an underscore for dlsym], + libltdl_cv_need_uscore, [dnl + libltdl_cv_need_uscore=unknown + save_LIBS="$LIBS" + LIBS="$LIBS $LIBADD_DL" + _LT_AC_TRY_DLOPEN_SELF( + libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes, + [], libltdl_cv_need_uscore=cross) + LIBS="$save_LIBS" + ]) + fi + fi + + if test x"$libltdl_cv_need_uscore" = xyes; then + AC_DEFINE(NEED_USCORE, 1, + [Define if dlsym() requires a leading underscore in symbol names. ]) + fi + ])# AC_LTDL_DLSYM_USCORE + + + # AC_CHECK_TYPES(TYPES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], + # [INCLUDES]) + # --------------------------------------------------------------- + # This macro did not exist in Autoconf 2.13, which we do still support + ifdef([AC_CHECK_TYPES], [], + [define([AC_CHECK_TYPES], + [AC_CACHE_CHECK([for $1], ac_Type, + [AC_TRY_LINK([$4], + [if (($1 *) 0) + return 0; + if (sizeof ($1)) + return 0;], + [ac_Type=yes], + [ac_Type=no])]) + if test "x$ac_Type" = xyes; then + ifelse([$2], [], [:], [$2]) + else + ifelse([$3], [], [:], [$3]) + fi]) + ])# AC_CHECK_TYPES + + + # AC_LTDL_FUNC_ARGZ + # ----------------- + AC_DEFUN([AC_LTDL_FUNC_ARGZ], + [AC_CHECK_HEADERS([argz.h]) + + AC_CHECK_TYPES([error_t], + [], + [AC_DEFINE([error_t], [int], + [Define to a type to use for \`error_t' if it is not otherwise available.])], + [#if HAVE_ARGZ_H + # include + #endif]) + + AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) + ])# AC_LTDL_FUNC_ARGZ diff -rNC3 smalltalk-2.1.2/config/ltmain.sh smalltalk-2.1.3/config/ltmain.sh *** smalltalk-2.1.2/config/ltmain.sh Sat Feb 22 11:07:13 2003 --- smalltalk-2.1.3/config/ltmain.sh Mon Jun 9 09:36:06 2003 *************** *** 56,62 **** PROGRAM=ltmain.sh PACKAGE=libtool VERSION=1.4.3 ! TIMESTAMP=" (1.922.2.110 2002/10/23 01:39:54)" default_mode= help="Try \`$progname --help' for more information." --- 56,62 ---- PROGRAM=ltmain.sh PACKAGE=libtool VERSION=1.4.3 ! TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)" default_mode= help="Try \`$progname --help' for more information." *************** *** 243,249 **** # Infer the operation mode. if test -z "$mode"; then case $nonopt in ! *cc | *++ | gcc* | *-gcc* | xlc*) mode=link for arg do --- 243,249 ---- # Infer the operation mode. if test -z "$mode"; then case $nonopt in ! *cc | *++ | gcc* | *-gcc* | g++* | *-g++* | xlc*) mode=link for arg do *************** *** 785,790 **** --- 785,791 ---- linker_flags= dllsearchpath= lib_search_path=`pwd` + inst_prefix_dir= avoid_version=no dlfiles= *************** *** 915,920 **** --- 916,926 ---- prev= continue ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; release) release="-$arg" prev= *************** *** 1016,1021 **** --- 1022,1032 ---- continue ;; + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) *************** *** 1863,1868 **** --- 1874,1887 ---- add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\/]*) + add_dir="-L$inst_prefix_dir$libdir $add_dir" + ;; + esac + fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" *************** *** 1921,1926 **** --- 1940,1953 ---- else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\/]*) + add_dir="-L$inst_prefix_dir$libdir $add_dir" + ;; + esac + fi add="-l$name" fi *************** *** 3945,3951 **** fi done # Quote the link command for shipping. ! relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. --- 3972,3978 ---- fi done # Quote the link command for shipping. ! relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. *************** *** 4246,4257 **** dir="$dir$objdir" if test -n "$relink_command"; then $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ! continue fi fi --- 4273,4302 ---- dir="$dir$objdir" if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit 1 + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` + fi + $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ! exit 1 fi fi diff -rNC3 smalltalk-2.1.2/config/tcltk.m4 smalltalk-2.1.3/config/tcltk.m4 *** smalltalk-2.1.2/config/tcltk.m4 Sat Apr 26 16:25:29 2003 --- smalltalk-2.1.3/config/tcltk.m4 Tue Jun 24 23:44:40 2003 *************** *** 36,42 **** AC_MSG_RESULT($TCLSH) fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=$with_tcl fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no --- 36,42 ---- AC_MSG_RESULT($TCLSH) fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=`echo "$with_tcl" | sed 's/\(.*\)tcl/\1tk/'` fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no *************** *** 84,91 **** esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! AC_CHECK_HEADER(tcl.h, [ ! AC_EGREP_CPP(everything_fine, [ #include #include #ifdef TCL_MAJOR_VERSION --- 84,90 ---- esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! AC_EGREP_CPP(everything_fine, [ #include #include #ifdef TCL_MAJOR_VERSION *************** *** 96,102 **** #endif #endif #endif ! #endif], break)]) gst_cv_tcltk_includes="not found" done --- 95,101 ---- #endif #endif #endif ! #endif], break) gst_cv_tcltk_includes="not found" done diff -rNC3 smalltalk-2.1.2/config.h.in smalltalk-2.1.3/config.h.in *** smalltalk-2.1.2/config.h.in Fri May 9 11:57:15 2003 --- smalltalk-2.1.3/config.h.in Sat Jun 28 12:23:11 2003 *************** *** 11,17 **** /* The alignment required for a value of type `double' */ #undef DOUBLE_ALIGNMENT ! /* Define to disable preemptive multitasking of Smalltalk processes */ #undef ENABLE_PREEMPTION /* Define to 1 if you have the `acosl' function. */ --- 11,17 ---- /* The alignment required for a value of type `double' */ #undef DOUBLE_ALIGNMENT ! /* Define to enable preemptive multitasking of Smalltalk processes */ #undef ENABLE_PREEMPTION /* Define to 1 if you have the `acosl' function. */ diff -rNC3 smalltalk-2.1.2/configure smalltalk-2.1.3/configure *** smalltalk-2.1.2/configure Fri May 9 11:55:51 2003 --- smalltalk-2.1.3/configure Sat Jun 28 12:21:48 2003 *************** *** 1,6 **** #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.54 for GNU Smalltalk 2.1.2. # # Report bugs to . # --- 1,6 ---- #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.54 for GNU Smalltalk 2.1.3. # # Report bugs to . # *************** *** 424,431 **** # Identity of this package. PACKAGE_NAME='GNU Smalltalk' PACKAGE_TARNAME='smalltalk' ! PACKAGE_VERSION='2.1.2' ! PACKAGE_STRING='GNU Smalltalk 2.1.2' PACKAGE_BUGREPORT='help-smalltalk@gnu.org' ac_unique_file="main.c" --- 424,431 ---- # Identity of this package. PACKAGE_NAME='GNU Smalltalk' PACKAGE_TARNAME='smalltalk' ! PACKAGE_VERSION='2.1.3' ! PACKAGE_STRING='GNU Smalltalk 2.1.3' PACKAGE_BUGREPORT='help-smalltalk@gnu.org' ac_unique_file="main.c" *************** *** 469,475 **** ac_subdirs_all="$ac_subdirs_all libltdl" ac_subdirs_all="$ac_subdirs_all snprintfv" ac_subdirs_all="$ac_subdirs_all sigsegv" ! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION VERSION_INFO MAINTAINER INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S INSTALL_INFO EMACS lispdir LEX YACC RM build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP LIBTOOL subdirs LIBSNPRINTFV INCSNPRINTFV HAVE_SIGSEGV_TRUE HAVE_SIGSEGV_FALSE ICON ALLOCA LIBOBJS LIBICONV LIBGMP TCLSH LIBTCLTK INCTCLTK LIBREADLINE MODULES_EXAMPLE MODULES_TCP MODULES_GTK MODULES_I18N MODULES_TK I18N_DISABLED PKG_CONFIG ATK_CFLAGS ATK_LIBS PANGO_CFLAGS PANGO_LIBS GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS BLOX_IMPLEMENTATION HAVE_GTK_TRUE HAVE_GTK_FALSE LIGHTNING_MAIN_TRUE LIGHTNING_MAIN_FALSE USE_JIT_TRANSLATION_TRUE USE_JIT_TRANSLATION_FALSE MODULES INCLTDL LIBLTDL LDPATH LTALLOCA LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. --- 469,475 ---- ac_subdirs_all="$ac_subdirs_all libltdl" ac_subdirs_all="$ac_subdirs_all snprintfv" ac_subdirs_all="$ac_subdirs_all sigsegv" ! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION VERSION_INFO MAINTAINER INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S INSTALL_INFO EMACS lispdir LEX YACC RM build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP LIBTOOL subdirs LIBSNPRINTFV INCSNPRINTFV HAVE_SIGSEGV_TRUE HAVE_SIGSEGV_FALSE ICON ALLOCA LIBOBJS LIBICONV LTLIBICONV LIBGMP TCLSH LIBTCLTK INCTCLTK LIBREADLINE MODULES_EXAMPLE MODULES_TCP MODULES_GTK MODULES_I18N MODULES_TK I18N_DISABLED PKG_CONFIG ATK_CFLAGS ATK_LIBS PANGO_CFLAGS PANGO_LIBS GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GOBJECT_QUERY GLIB_MKENUMS BLOX_IMPLEMENTATION HAVE_GTK_TRUE HAVE_GTK_FALSE LIGHTNING_MAIN_TRUE LIGHTNING_MAIN_FALSE HAVE_INSTALLED_LIGHTNING_TRUE HAVE_INSTALLED_LIGHTNING_FALSE USE_JIT_TRANSLATION_TRUE USE_JIT_TRANSLATION_FALSE MODULES INCLTDL LIBLTDL LDPATH LTALLOCA LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. *************** *** 938,944 **** # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF ! \`configure' configures GNU Smalltalk 2.1.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... --- 938,944 ---- # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF ! \`configure' configures GNU Smalltalk 2.1.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... *************** *** 1004,1010 **** if test -n "$ac_init_help"; then case $ac_init_help in ! short | recursive ) echo "Configuration of GNU Smalltalk 2.1.2:";; esac cat <<\_ACEOF --- 1004,1010 ---- if test -n "$ac_init_help"; then case $ac_init_help in ! short | recursive ) echo "Configuration of GNU Smalltalk 2.1.3:";; esac cat <<\_ACEOF *************** *** 1020,1025 **** --- 1020,1026 ---- --disable-libtool-lock avoid locking (might break parallel builds) --disable-generational-gc disable generational garbage collection --disable-largefile omit support for large files + --disable-rpath do not hardcode runtime library paths --enable-gtk (would) enable GTK implementation of Blox --disable-glibtest do not try to compile and run a test GLIB program --disable-gtktest do not try to compile and run a test GTK+ program *************** *** 1035,1041 **** --- 1036,1044 ---- --with-lispdir Override the default lisp directory --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] + --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-gmp=path set path to the GMP library --without-gmp don't try to detect and use GMP --with-tcl=path set path to tclConfig.sh default=ask tclsh *************** *** 1118,1124 **** test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF ! GNU Smalltalk configure 2.1.2 generated by GNU Autoconf 2.54 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 --- 1121,1127 ---- test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF ! GNU Smalltalk configure 2.1.3 generated by GNU Autoconf 2.54 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 *************** *** 1133,1139 **** This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. ! It was created by GNU Smalltalk $as_me 2.1.2, which was generated by GNU Autoconf 2.54. Invocation command line was $ $0 $@ --- 1136,1142 ---- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. ! It was created by GNU Smalltalk $as_me 2.1.3, which was generated by GNU Autoconf 2.54. Invocation command line was $ $0 $@ *************** *** 1442,1448 **** VERSION=$PACKAGE_VERSION ! VERSION_INFO=4:10:0 # Split the version number --- 1445,1451 ---- VERSION=$PACKAGE_VERSION ! VERSION_INFO=4:11:0 # Split the version number *************** *** 1752,1758 **** # Define the identity of the package. PACKAGE=smalltalk ! VERSION=2.1.2 cat >>confdefs.h <<_ACEOF --- 1755,1761 ---- # Define the identity of the package. PACKAGE=smalltalk ! VERSION=2.1.3 cat >>confdefs.h <<_ACEOF *************** *** 4326,4332 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 4329,4335 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM *************** *** 5048,5054 **** case $host in *-*-irix6*) # Find out which ABI we are using. ! echo '#line 5051 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? --- 5051,5057 ---- case $host in *-*-irix6*) # Find out which ABI we are using. ! echo '#line 5054 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? *************** *** 5912,5918 **** save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:5915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then --- 5915,5921 ---- save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:5918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then *************** *** 6437,6443 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 6440,6446 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 6984,6990 **** shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU ld.so' ;; freebsd*) --- 6987,6993 ---- shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ;; freebsd*) *************** *** 7152,7157 **** --- 7155,7161 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 7698,7704 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 --- 13226,13791 ---- fi + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + + # Check whether --with-gnu-ld or --without-gnu-ld was given. + if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no + fi; + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + echo "$as_me:$LINENO: checking for ld used by GCC" >&5 + echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac + elif test "$with_gnu_ld" = yes; then + echo "$as_me:$LINENO: checking for GNU ld" >&5 + echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 + else + echo "$as_me:$LINENO: checking for non-GNU ld" >&5 + echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 + fi + if test "${acl_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" + else + acl_cv_path_LD="$LD" # Let the user override the test with a path. + fi + fi + + LD="$acl_cv_path_LD" + if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 + echo "${ECHO_T}$LD" >&6 + else + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 + echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } + echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 + echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 + if test "${acl_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. + if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes + else + acl_cv_prog_gnu_ld=no + fi + fi + echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 + echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 + with_gnu_ld=$acl_cv_prog_gnu_ld + + + + echo "$as_me:$LINENO: checking for shared library run path origin" >&5 + echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 + if test "${acl_cv_rpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + + fi + echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 + echo "${ECHO_T}$acl_cv_rpath" >&6 + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" + sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" + # Check whether --enable-rpath or --disable-rpath was given. + if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + : + else + enable_rpath=yes + fi; + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then withval="$with_libiconv_prefix" ! if test "X$withval" = "Xno"; then ! use_additional=no ! else ! if test "X$withval" = "X"; then ! ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! ! else ! additional_includedir="$withval/include" ! additional_libdir="$withval/lib" ! fi ! fi fi; + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + echo "$as_me:$LINENO: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 *************** *** 13278,13284 **** rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS -liconv" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" --- 13830,13836 ---- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" ! LIBS="$LIBS $LIBICONV" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" *************** *** 13325,13330 **** --- 13877,13897 ---- #define HAVE_ICONV 1 _ACEOF + fi + if test "$am_cv_lib_iconv" = yes; then + echo "$as_me:$LINENO: checking how to link with libiconv" >&5 + echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBICONV" >&5 + echo "${ECHO_T}$LIBICONV" >&6 + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + if test "$am_cv_func_iconv" = yes; then echo "$as_me:$LINENO: checking for iconv declaration" >&5 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 if test "${am_cv_proto_iconv+set}" = set; then *************** *** 13388,13398 **** _ACEOF fi - LIBICONV= - if test "$am_cv_lib_iconv" = yes; then - LIBICONV="-liconv" - fi - --- 13955,13960 ---- *************** *** 13906,13912 **** echo "${ECHO_T}$TCLSH" >&6 fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=$with_tcl fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no --- 14468,14474 ---- echo "${ECHO_T}$TCLSH" >&6 fi if test "x$with_tk" = x || test "$with_tk" = yes; then ! with_tk=`echo "$with_tcl" | sed 's/\(.*\)tcl/\1tk/'` fi test -f "$with_tcl/tclConfig.sh" || with_tcl=no test -f "$with_tk/tkConfig.sh" || with_tk=no *************** *** 13963,14072 **** esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! if test "${ac_cv_header_tcl_h+set}" = set; then ! echo "$as_me:$LINENO: checking for tcl.h" >&5 ! echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6 ! if test "${ac_cv_header_tcl_h+set}" = set; then ! echo $ECHO_N "(cached) $ECHO_C" >&6 ! fi ! echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5 ! echo "${ECHO_T}$ac_cv_header_tcl_h" >&6 ! else ! # Is the header compilable? ! echo "$as_me:$LINENO: checking tcl.h usability" >&5 ! echo $ECHO_N "checking tcl.h usability... $ECHO_C" >&6 ! cat >conftest.$ac_ext <<_ACEOF ! #line $LINENO "configure" ! #include "confdefs.h" ! $ac_includes_default ! #include ! _ACEOF ! rm -f conftest.$ac_objext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ! (eval $ac_compile) 2>&5 ! ac_status=$? ! echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && ! { ac_try='test -s conftest.$ac_objext' ! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ! (eval $ac_try) 2>&5 ! ac_status=$? ! echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ! ac_header_compiler=yes ! else ! echo "$as_me: failed program was:" >&5 ! cat conftest.$ac_ext >&5 ! ac_header_compiler=no ! fi ! rm -f conftest.$ac_objext conftest.$ac_ext ! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! echo "${ECHO_T}$ac_header_compiler" >&6 ! ! # Is the header present? ! echo "$as_me:$LINENO: checking tcl.h presence" >&5 ! echo $ECHO_N "checking tcl.h presence... $ECHO_C" >&6 ! cat >conftest.$ac_ext <<_ACEOF ! #line $LINENO "configure" ! #include "confdefs.h" ! #include ! _ACEOF ! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 ! (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then ! if test -s conftest.err; then ! ac_cpp_err=$ac_c_preproc_warn_flag ! else ! ac_cpp_err= ! fi ! else ! ac_cpp_err=yes ! fi ! if test -z "$ac_cpp_err"; then ! ac_header_preproc=yes ! else ! echo "$as_me: failed program was:" >&5 ! cat conftest.$ac_ext >&5 ! ac_header_preproc=no ! fi ! rm -f conftest.err conftest.$ac_ext ! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! echo "${ECHO_T}$ac_header_preproc" >&6 ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc in ! yes:no ) ! { echo "$as_me:$LINENO: WARNING: tcl.h: accepted by the compiler, rejected by the preprocessor!" >&5 ! echo "$as_me: WARNING: tcl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the preprocessor's result" >&5 ! echo "$as_me: WARNING: tcl.h: proceeding with the preprocessor's result" >&2;};; ! no:yes ) ! { echo "$as_me:$LINENO: WARNING: tcl.h: present but cannot be compiled" >&5 ! echo "$as_me: WARNING: tcl.h: present but cannot be compiled" >&2;} ! { echo "$as_me:$LINENO: WARNING: tcl.h: check for missing prerequisite headers?" >&5 ! echo "$as_me: WARNING: tcl.h: check for missing prerequisite headers?" >&2;} ! { echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the preprocessor's result" >&5 ! echo "$as_me: WARNING: tcl.h: proceeding with the preprocessor's result" >&2;};; ! esac ! echo "$as_me:$LINENO: checking for tcl.h" >&5 ! echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6 ! if test "${ac_cv_header_tcl_h+set}" = set; then ! echo $ECHO_N "(cached) $ECHO_C" >&6 ! else ! ac_cv_header_tcl_h=$ac_header_preproc ! fi ! echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5 ! echo "${ECHO_T}$ac_cv_header_tcl_h" >&6 ! ! fi ! if test $ac_cv_header_tcl_h = yes; then ! ! cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" --- 14525,14531 ---- esac CPPFLAGS="$save_cppflags $gst_cv_tcltk_includes" ! cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" *************** *** 14088,14096 **** fi rm -f conftest* - fi - - gst_cv_tcltk_includes="not found" done --- 14547,14552 ---- *************** *** 15882,15888 **** rm -f conf.glibtest ! test "$enable_gtk" = yes && BLOX_IMPLEMENTATION=BloxGTK fi else enable_gtk=no --- 16338,16344 ---- rm -f conf.glibtest ! test "$enable_gtk" != no && BLOX_IMPLEMENTATION=BloxGTK fi else enable_gtk=no *************** *** 15892,15898 **** ! if test "$enable_gtk" = yes; then HAVE_GTK_TRUE= HAVE_GTK_FALSE='#' else --- 16348,16354 ---- ! if test "$enable_gtk" != no; then HAVE_GTK_TRUE= HAVE_GTK_FALSE='#' else *************** *** 15901,15907 **** fi ! test "$enable_gtk" = yes && MODULES_GTK="blox-gtk.la" test "$gst_cv_tcltk_libs" != "not found" && MODULES_TK="blox-tk.la" test "$gst_cv_inet_sockets" != "no" && MODULES_TCP="tcp.la" test "$ac_cv_func_nl_langinfo" = yes && \ --- 16357,16363 ---- fi ! test "$enable_gtk" != no && MODULES_GTK="blox-gtk.la" test "$gst_cv_tcltk_libs" != "not found" && MODULES_TK="blox-tk.la" test "$gst_cv_inet_sockets" != "no" && MODULES_TCP="tcp.la" test "$ac_cv_func_nl_langinfo" = yes && \ *************** *** 15909,15924 **** - - - if (exit 1); then - LIGHTNING_MAIN_TRUE= - LIGHTNING_MAIN_FALSE='#' - else - LIGHTNING_MAIN_TRUE='#' - LIGHTNING_MAIN_FALSE= - fi - if test "${ac_cv_header_lightning_h+set}" = set; then echo "$as_me:$LINENO: checking for lightning.h" >&5 echo $ECHO_N "checking for lightning.h... $ECHO_C" >&6 --- 16365,16370 ---- *************** *** 16023,16028 **** --- 16469,16494 ---- + + if (exit 1); then + LIGHTNING_MAIN_TRUE= + LIGHTNING_MAIN_FALSE='#' + else + LIGHTNING_MAIN_TRUE='#' + LIGHTNING_MAIN_FALSE= + fi + + + + if test "$ac_cv_header_lightning_h" = yes; then + HAVE_INSTALLED_LIGHTNING_TRUE= + HAVE_INSTALLED_LIGHTNING_FALSE='#' + else + HAVE_INSTALLED_LIGHTNING_TRUE='#' + HAVE_INSTALLED_LIGHTNING_FALSE= + fi + + lightning= if test "$ac_cv_header_lightning_h" = yes; then lightning=yes *************** *** 16091,16097 **** enable_dld=yes fi; ! if test "$enable_dld" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_DLD 1 --- 16557,16563 ---- enable_dld=yes fi; ! if test "$enable_dld" != no; then cat >>confdefs.h <<\_ACEOF #define HAVE_DLD 1 *************** *** 16123,16129 **** enable_preemption=no fi; ! if test "$enable_preemption" = yes; then cat >>confdefs.h <<\_ACEOF #define ENABLE_PREEMPTION 1 --- 16589,16595 ---- enable_preemption=no fi; ! if test "$enable_preemption" != no; then cat >>confdefs.h <<\_ACEOF #define ENABLE_PREEMPTION 1 *************** *** 16294,16299 **** --- 16760,16772 ---- Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi + if test -z "${HAVE_INSTALLED_LIGHTNING_TRUE}" && test -z "${HAVE_INSTALLED_LIGHTNING_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_INSTALLED_LIGHTNING\" was never defined. + Usually this means the macro was only invoked conditionally." >&5 + echo "$as_me: error: conditional \"HAVE_INSTALLED_LIGHTNING\" was never defined. + Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } + fi if test -z "${USE_JIT_TRANSLATION_TRUE}" && test -z "${USE_JIT_TRANSLATION_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"USE_JIT_TRANSLATION\" was never defined. Usually this means the macro was only invoked conditionally." >&5 *************** *** 16571,16577 **** } >&5 cat >&5 <<_CSEOF ! This file was extended by GNU Smalltalk $as_me 2.1.2, which was generated by GNU Autoconf 2.54. Invocation command line was CONFIG_FILES = $CONFIG_FILES --- 17044,17050 ---- } >&5 cat >&5 <<_CSEOF ! This file was extended by GNU Smalltalk $as_me 2.1.3, which was generated by GNU Autoconf 2.54. Invocation command line was CONFIG_FILES = $CONFIG_FILES *************** *** 16636,16642 **** cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ ! GNU Smalltalk config.status 2.1.2 configured by $0, generated by GNU Autoconf 2.54, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" --- 17109,17115 ---- cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ ! GNU Smalltalk config.status 2.1.3 configured by $0, generated by GNU Autoconf 2.54, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" *************** *** 16913,16918 **** --- 17386,17392 ---- s,@ALLOCA@,$ALLOCA,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LIBICONV@,$LIBICONV,;t t + s,@LTLIBICONV@,$LTLIBICONV,;t t s,@LIBGMP@,$LIBGMP,;t t s,@TCLSH@,$TCLSH,;t t s,@LIBTCLTK@,$LIBTCLTK,;t t *************** *** 16941,16946 **** --- 17415,17422 ---- s,@HAVE_GTK_FALSE@,$HAVE_GTK_FALSE,;t t s,@LIGHTNING_MAIN_TRUE@,$LIGHTNING_MAIN_TRUE,;t t s,@LIGHTNING_MAIN_FALSE@,$LIGHTNING_MAIN_FALSE,;t t + s,@HAVE_INSTALLED_LIGHTNING_TRUE@,$HAVE_INSTALLED_LIGHTNING_TRUE,;t t + s,@HAVE_INSTALLED_LIGHTNING_FALSE@,$HAVE_INSTALLED_LIGHTNING_FALSE,;t t s,@USE_JIT_TRANSLATION_TRUE@,$USE_JIT_TRANSLATION_TRUE,;t t s,@USE_JIT_TRANSLATION_FALSE@,$USE_JIT_TRANSLATION_FALSE,;t t s,@MODULES@,$MODULES,;t t diff -rNC3 smalltalk-2.1.2/configure.ac smalltalk-2.1.3/configure.ac *** smalltalk-2.1.2/configure.ac Fri May 9 11:40:10 2003 --- smalltalk-2.1.3/configure.ac Sun Jun 15 21:38:13 2003 *************** *** 12,19 **** dnl CURRENT:REVISION:AGE means this is the REVISION-th version of dnl the CURRENT-th interface; all the interface from CURRENT-AGE dnl to CURRENT are supported. ! AC_INIT([GNU Smalltalk], 2.1.2, help-smalltalk@gnu.org, smalltalk) ! GST_REVISION(4:10:0) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_SRCDIR([main.c]) AM_CONFIG_HEADER(config.h) --- 12,19 ---- dnl CURRENT:REVISION:AGE means this is the REVISION-th version of dnl the CURRENT-th interface; all the interface from CURRENT-AGE dnl to CURRENT are supported. ! AC_INIT([GNU Smalltalk], 2.1.3, help-smalltalk@gnu.org, smalltalk) ! GST_REVISION(4:11:0) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_SRCDIR([main.c]) AM_CONFIG_HEADER(config.h) *************** *** 64,70 **** AC_DEFINE_UNQUOTED(HAVE_SIGSEGV_H, 1, [Define to 1 if libsigsegv is being used]) fi ! AM_CONDITIONAL(HAVE_SIGSEGV, test "$enable_generational_gc" = yes) dnl dnl ------------------------------ C COMPILER / OS ------------ --- 64,70 ---- AC_DEFINE_UNQUOTED(HAVE_SIGSEGV_H, 1, [Define to 1 if libsigsegv is being used]) fi ! AM_CONDITIONAL(HAVE_SIGSEGV, test "$enable_generational_gc" != no) dnl dnl ------------------------------ C COMPILER / OS ------------ *************** *** 173,187 **** ]) ], [], gobject) ! test "$enable_gtk" = yes && BLOX_IMPLEMENTATION=BloxGTK fi], enable_gtk=no) AC_SUBST(BLOX_IMPLEMENTATION) ! AM_CONDITIONAL(HAVE_GTK, test "$enable_gtk" = yes) ! test "$enable_gtk" = yes && MODULES_GTK="blox-gtk.la" test "$gst_cv_tcltk_libs" != "not found" && MODULES_TK="blox-tk.la" test "$gst_cv_inet_sockets" != "no" && MODULES_TCP="tcp.la" test "$ac_cv_func_nl_langinfo" = yes && \ --- 173,187 ---- ]) ], [], gobject) ! test "$enable_gtk" != no && BLOX_IMPLEMENTATION=BloxGTK fi], enable_gtk=no) AC_SUBST(BLOX_IMPLEMENTATION) ! AM_CONDITIONAL(HAVE_GTK, test "$enable_gtk" != no) ! test "$enable_gtk" != no && MODULES_GTK="blox-gtk.la" test "$gst_cv_tcltk_libs" != "not found" && MODULES_TK="blox-tk.la" test "$gst_cv_inet_sockets" != "no" && MODULES_TCP="tcp.la" test "$ac_cv_func_nl_langinfo" = yes && \ *************** *** 204,210 **** [ --disable-dld disable loading of external modules at runtime], , enable_dld=yes) ! if test "$enable_dld" = yes; then AC_DEFINE(HAVE_DLD, 1, [Define to enable usage of libltdl to load external modules at runtime]) fi --- 204,210 ---- [ --disable-dld disable loading of external modules at runtime], , enable_dld=yes) ! if test "$enable_dld" != no; then AC_DEFINE(HAVE_DLD, 1, [Define to enable usage of libltdl to load external modules at runtime]) fi *************** *** 222,230 **** [ --enable-preemption enable preemptive multitasking], , enable_preemption=no) ! if test "$enable_preemption" = yes; then AC_DEFINE(ENABLE_PREEMPTION, 1, ! [Define to disable preemptive multitasking of Smalltalk processes]) fi GST_ARG_ENABLE_MODULES([Blox,TCP]) --- 222,230 ---- [ --enable-preemption enable preemptive multitasking], , enable_preemption=no) ! if test "$enable_preemption" != no; then AC_DEFINE(ENABLE_PREEMPTION, 1, ! [Define to enable preemptive multitasking of Smalltalk processes]) fi GST_ARG_ENABLE_MODULES([Blox,TCP]) diff -rNC3 smalltalk-2.1.2/db/ChangeLog smalltalk-2.1.3/db/ChangeLog *** smalltalk-2.1.2/db/ChangeLog Fri May 9 09:26:53 2003 --- smalltalk-2.1.3/db/ChangeLog Sat Jun 28 15:52:39 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/doc/Makefile.in smalltalk-2.1.3/doc/Makefile.in *** smalltalk-2.1.2/doc/Makefile.in Fri May 9 11:59:35 2003 --- smalltalk-2.1.3/doc/Makefile.in Sun Jun 22 13:38:00 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ diff -rNC3 smalltalk-2.1.2/doc/classes.texi smalltalk-2.1.3/doc/classes.texi *** smalltalk-2.1.2/doc/classes.texi Fri May 9 09:28:49 2003 --- smalltalk-2.1.3/doc/classes.texi Sat Jun 28 12:27:05 2003 *************** *** 3855,3861 **** @itemx Category: Language-Processes I represent a unit of computation for which external C code requested execution, so I must store the returned value once my computation ! terminates. I am otherwise equivalent to a Process. @end table @menu --- 3855,3862 ---- @itemx Category: Language-Processes I represent a unit of computation for which external C code requested execution, so I must store the returned value once my computation ! terminates and I must not survive across image saves (since those who ! invoked me no longer exist). I am otherwise equivalent to a Process. @end table @menu *************** *** 5272,5284 **** by inserting an ellipsis (three dots:@- ...) - @meindex subStrings - @item subStrings - Answer an OrderedCollection of substrings of the receiver. A new substring - start at the start of the receiver, or after every sequence of white space - characters - - @meindex substrings @item substrings Answer an OrderedCollection of substrings of the receiver. A new substring --- 5273,5278 ---- *************** *** 5287,5292 **** --- 5281,5293 ---- the ANSI standard mandates `subStrings', with an uppercase s. + @meindex subStrings + @item subStrings + Answer an OrderedCollection of substrings of the receiver. A new substring + start at the start of the receiver, or after every sequence of white space + characters + + @meindex substrings:@- @item substrings:@- aCharacter Answer an OrderedCollection of substrings of the receiver. A new substring *************** *** 6464,6474 **** @meindex anyOne @item anyOne ! Answer an unspecified element of the collection. Example usage:@- ! ^coll inject:@- coll anyOne into:@- [ :@-max :@-each | ! max max:@- each ] ! to be used when you don't have a valid lowest-possible-value ! (which happens in common cases too, such as with arbitrary numbers @meindex anySatisfy:@- --- 6465,6471 ---- @meindex anyOne @item anyOne ! Answer an unspecified element of the collection. @meindex anySatisfy:@- *************** *** 6533,6541 **** Between every two invocations of aBlock, invoke separatorBlock @meindex inject:@-into:@- @item inject:@- thisValue into:@- binaryBlock ! Pass to binaryBlock receiver thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation. --- 6530,6547 ---- Between every two invocations of aBlock, invoke separatorBlock + @meindex fold:@- + @item fold:@- binaryBlock + First, pass to binaryBlock the first and second elements of the + receiver; for each subsequent element, pass the result of the previous + evaluation and an element. Answer the result of the last invocation, + or the first element if the collection has size 1. Fail if the collection + is empty. + + @meindex inject:@-into:@- @item inject:@- thisValue into:@- binaryBlock ! First, pass to binaryBlock thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation. *************** *** 18607,18612 **** --- 18613,18623 ---- very fast test and is called 'identity' + @meindex allOwners + @item allOwners + Return an Array of Objects that point to the receiver. + + @meindex asOop @item asOop Answer the object index associated to the receiver. The object *************** *** 19398,19412 **** Same as isMetaclass - @meindex isMetaclass - @item isMetaclass - Answer `false'. - @meindex isMetaClass @item isMetaClass Same as isMetaclass @meindex isNamespace @item isNamespace Answer `false'. --- 19409,19423 ---- Same as isMetaclass @meindex isMetaClass @item isMetaClass Same as isMetaclass + @meindex isMetaclass + @item isMetaclass + Answer `false'. + @meindex isNamespace @item isNamespace Answer `false'. *************** *** 20508,20515 **** on a newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. ! Pass an error message to aBlock if any of the packages needs ! prerequisites which are not defined. @meindex fileInPackage:@- --- 20519,20526 ---- on a newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. ! Pass an error message to aBlock if one or more packages need ! prerequisites which are not available. @meindex fileInPackage:@- *************** *** 23397,23407 **** @table @b @meindex anyOne @item anyOne ! Answer an unspecified element of the collection. Example usage:@- ! ^coll inject:@- coll anyOne into:@- [ :@-max :@-each | ! max max:@- each ] ! to be used when you don't have a valid lowest-possible-value ! (which happens in common cases too, such as with arbitrary numbers @meindex do:@- --- 23408,23414 ---- @table @b @meindex anyOne @item anyOne ! Answer an unspecified element of the collection. @meindex do:@- *************** *** 28290,28297 **** @meindex vfsFor:@-name:@-subPath:@- @item vfsFor:@- file name:@- fsName subPath:@- subPath Create a temporary file and use it to construct the contents of the given ! file, under the virtual filesystem fsName. subPath must be nil because ! this class supports single-file virtual filesystems only. @end table --- 28297,28303 ---- @meindex vfsFor:@-name:@-subPath:@- @item vfsFor:@- file name:@- fsName subPath:@- subPath Create a temporary file and use it to construct the contents of the given ! file, under the virtual filesystem fsName. @end table diff -rNC3 smalltalk-2.1.2/doc/gst-base.info smalltalk-2.1.3/doc/gst-base.info *** smalltalk-2.1.2/doc/gst-base.info Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 8,1056 ****  Indirect: ! gst-base.info-1: 254 ! gst-base.info-2: 50116 ! gst-base.info-3: 100006 ! gst-base.info-4: 149233 ! gst-base.info-5: 198604 ! gst-base.info-6: 248339 ! gst-base.info-7: 298178 ! gst-base.info-8: 347761 ! gst-base.info-9: 397458 ! gst-base.info-10: 446395 ! gst-base.info-11: 496069 ! gst-base.info-12: 545736 ! gst-base.info-13: 595371 ! gst-base.info-14: 645054 ! gst-base.info-15: 665709 ! gst-base.info-16: 883801  Tag Table: (Indirect) ! Node: Top254 ! Node: Base classes2140 ! Node: AbstractNamespace11445 ! Node: AbstractNamespace class-instance creation12192 ! Node: AbstractNamespace-accessing12618 ! Node: AbstractNamespace-basic & copying13843 ! Node: AbstractNamespace-copying14384 ! Node: AbstractNamespace-namespace hierarchy14827 ! Node: AbstractNamespace-overrides for superspaces17492 ! Node: AbstractNamespace-printing19209 ! Node: AbstractNamespace-testing19781 ! Node: AlternativeObjectProxy20019 ! Node: AlternativeObjectProxy class-instance creation20753 ! Node: AlternativeObjectProxy-accessing21685 ! Node: ArithmeticError22236 ! Node: ArithmeticError-description22687 ! Node: Array22892 ! Node: Array-mutating objects23523 ! Node: Array-printing23822 ! Node: Array-testing24040 ! Node: ArrayedCollection24180 ! Node: ArrayedCollection class-instance creation24969 ! Node: ArrayedCollection-basic26090 ! Node: ArrayedCollection-built ins26988 ! Node: ArrayedCollection-copying Collections27251 ! Node: ArrayedCollection-enumerating the elements of a collection29002 ! Node: ArrayedCollection-storing30148 ! Node: Association30432 ! Node: Association class-basic31109 ! Node: Association-accessing31347 ! Node: Association-finalization31954 ! Node: Association-printing32174 ! Node: Association-storing32421 ! Node: Association-testing32674 ! Node: Autoload33018 ! Node: Autoload class-instance creation33688 ! Node: Autoload-accessing34191 ! Node: AutoloadClass34416 ! Node: AutoloadClass-accessing34941 ! Node: Bag35896 ! Node: Bag class-basic36601 ! Node: Bag-adding36857 ! Node: Bag-enumerating the elements of a collection37337 ! Node: Bag-extracting items37694 ! Node: Bag-printing37973 ! Node: Bag-removing38177 ! Node: Bag-storing38486 ! Node: Bag-testing collections38703 ! Node: Behavior39188 ! Node: Behavior-accessing class hierarchy40777 ! Node: Behavior-accessing instances and variables41503 ! Node: Behavior-accessing the methodDictionary42789 ! Node: Behavior-built ins43869 ! Node: Behavior-compilation (alternative)46057 ! Node: Behavior-compiling methods46877 ! Node: Behavior-creating a class hierarchy47337 ! Node: Behavior-enumerating47773 ! Node: Behavior-evaluating48826 ! Node: Behavior-instance creation50116 ! Node: Behavior-instance variables50895 ! Node: Behavior-method dictionary51326 ! Node: Behavior-pluggable behavior (not yet implemented)54763 ! Node: Behavior-printing hierarchy55886 ! Node: Behavior-support for lightweight classes56479 ! Node: Behavior-testing functionality57518 ! Node: Behavior-testing the class hierarchy57786 ! Node: Behavior-testing the form of the instances58308 ! Node: Behavior-testing the method dictionary59435 ! Node: BindingDictionary60821 ! Node: BindingDictionary-accessing61668 ! Node: BindingDictionary-copying63549 ! Node: BindingDictionary-forward declarations64081 ! Node: BindingDictionary-printing64686 ! Node: BindingDictionary-testing65079 ! Node: BlockClosure65293 ! Node: BlockClosure class-instance creation66516 ! Node: BlockClosure class-testing67082 ! Node: BlockClosure-accessing67375 ! Node: BlockClosure-built ins68962 ! Node: BlockClosure-control structures69728 ! Node: BlockClosure-exception handling70394 ! Node: BlockClosure-multiple process72395 ! Node: BlockClosure-overriding73837 ! Node: BlockClosure-testing74104 ! Node: BlockClosure-unwind protection74363 ! Node: BlockContext75831 ! Node: BlockContext-accessing76611 ! Node: BlockContext-printing78124 ! Node: Boolean78348 ! Node: Boolean class-testing79099 ! Node: Boolean-basic79401 ! Node: Boolean-C hacks80682 ! Node: Boolean-overriding80929 ! Node: Boolean-storing81157 ! Node: ByteArray81371 ! Node: ByteArray-built ins81912 ! Node: ByteArray-converting83194 ! Node: ByteArray-more advanced accessing83471 ! Node: ByteStream89974 ! Node: ByteStream-basic90353 ! Node: CAggregate91628 ! Node: CAggregate class-accessing91922 ! Node: CAggregate-accessing92197 ! Node: CallinProcess92420 ! Node: CArray92841 ! Node: CArray-accessing93083 ! Node: CArrayCType93275 ! Node: CArrayCType class-instance creation93575 ! Node: CArrayCType-accessing94194 ! Node: CBoolean94557 ! Node: CBoolean-accessing94854 ! Node: CByte95170 ! Node: CByte class-conversion95552 ! Node: CByte-accessing95870 ! Node: CChar96307 ! Node: CChar class-accessing96567 ! Node: CChar-accessing96916 ! Node: CCompound97218 ! Node: CCompound class-instance creation97559 ! Node: CCompound class-subclass creation97917 ! Node: CCompound-instance creation100006 ! Node: CDouble100344 ! Node: CDouble class-accessing100615 ! Node: CDouble-accessing100974 ! Node: CFloat101286 ! Node: CFloat class-accessing101563 ! Node: CFloat-accessing101917 ! Node: CFunctionDescriptor102224 ! Node: CFunctionDescriptor class-instance creation102999 ! Node: CFunctionDescriptor class-testing103346 ! Node: CFunctionDescriptor-accessing103842 ! Node: CFunctionDescriptor-calling104459 ! Node: CFunctionDescriptor-printing106398 ! Node: Character106656 ! Node: Character class-built ins107625 ! Node: Character class-constants108396 ! Node: Character class-initializing lookup tables109189 ! Node: Character class-instance creation109824 ! Node: Character class-testing110181 ! Node: Character-built ins110539 ! Node: Character-coercion methods111313 ! Node: Character-comparing111876 ! Node: Character-converting112508 ! Node: Character-printing112810 ! Node: Character-storing113183 ! Node: Character-testing113421 ! Node: Character-testing functionality114056 ! Node: CharacterArray114287 ! Node: CharacterArray class-basic115028 ! Node: CharacterArray-basic115417 ! Node: CharacterArray-built ins116093 ! Node: CharacterArray-comparing116507 ! Node: CharacterArray-converting118716 ! Node: CharacterArray-printing120072 ! Node: CharacterArray-storing120690 ! Node: CharacterArray-string processing120968 ! Node: CharacterArray-testing functionality123506 ! Node: CInt123751 ! Node: CInt class-accessing124011 ! Node: CInt-accessing124335 ! Node: Class124652 ! Node: Class-accessing instances and variables125498 ! Node: Class-filing127009 ! Node: Class-instance creation127448 ! Node: Class-instance creation - alternative129652 ! Node: Class-printing131816 ! Node: Class-saving and loading132222 ! Node: Class-testing133615 ! Node: Class-testing functionality133853 ! Node: ClassDescription134069 ! Node: ClassDescription-compiling134731 ! Node: ClassDescription-conversion135558 ! Node: ClassDescription-copying136010 ! Node: ClassDescription-filing137206 ! Node: ClassDescription-organization of messages and classes138027 ! Node: ClassDescription-printing139326 ! Node: CLong140074 ! Node: CLong class-accessing140343 ! Node: CLong-accessing140692 ! Node: CObject140994 ! Node: CObject class-conversion141844 ! Node: CObject class-instance creation142186 ! Node: CObject-accessing142783 ! Node: CObject-C data access143217 ! Node: CObject-conversion143820 ! Node: CObject-finalization144240 ! Node: CObject-pointer-like behavior144703 ! Node: Collection146957 ! Node: Collection class-instance creation147884 ! Node: Collection-adding148887 ! Node: Collection-converting149233 ! Node: Collection-copying Collections150325 ! Node: Collection-enumeration150862 ! Node: Collection-finalization153777 ! Node: Collection-printing154081 ! Node: Collection-removing154423 ! Node: Collection-storing155262 ! Node: Collection-testing collections155518 ! Node: CompiledBlock156156 ! Node: CompiledBlock class-instance creation156654 ! Node: CompiledBlock-accessing157389 ! Node: CompiledBlock-basic158447 ! Node: CompiledBlock-printing159155 ! Node: CompiledBlock-saving and loading159421 ! Node: CompiledCode159841 ! Node: CompiledCode class-cache flushing160567 ! Node: CompiledCode class-instance creation160922 ! Node: CompiledCode-accessing161467 ! Node: CompiledCode-basic162865 ! Node: CompiledCode-copying163615 ! Node: CompiledCode-debugging163839 ! Node: CompiledCode-decoding bytecodes164097 ! Node: CompiledCode-testing accesses164503 ! Node: CompiledCode-translation165663 ! Node: CompiledMethod165920 ! Node: CompiledMethod class-instance creation166698 ! Node: CompiledMethod class-lean images167334 ! Node: CompiledMethod-accessing167654 ! Node: CompiledMethod-basic169020 ! Node: CompiledMethod-printing169783 ! Node: CompiledMethod-saving and loading170123 ! Node: CompiledMethod-testing170572 ! Node: ContextPart171155 ! Node: ContextPart class-exception handling171929 ! Node: ContextPart-accessing172874 ! Node: ContextPart-built ins176106 ! Node: ContextPart-copying176791 ! Node: ContextPart-debugging177143 ! Node: ContextPart-enumerating177666 ! Node: ContextPart-exception handling178050 ! Node: ContextPart-printing178311 ! Node: CoreException178673 ! Node: CoreException class-instance creation179939 ! Node: CoreException-accessing180194 ! Node: CoreException-basic181127 ! Node: CoreException-enumerating181381 ! Node: CoreException-exception handling182038 ! Node: CoreException-instance creation182688 ! Node: CPtr182989 ! Node: CPtr-accessing183221 ! Node: CPtrCType183755 ! Node: CPtrCType class-instance creation184038 ! Node: CPtrCType-accessing184322 ! Node: CScalar184782 ! Node: CScalar class-instance creation185067 ! Node: CScalar-accessing185525 ! Node: CScalarCType186039 ! Node: CScalarCType-accessing186326 ! Node: CScalarCType-storing186653 ! Node: CShort186874 ! Node: CShort class-accessing187147 ! Node: CShort-accessing187501 ! Node: CSmalltalk187808 ! Node: CSmalltalk class-accessing188092 ! Node: CSmalltalk-accessing188466 ! Node: CString188793 ! Node: CString class-instance creation189599 ! Node: CString-accessing190057 ! Node: CStringCType190571 ! Node: CStringCType-accessing190829 ! Node: CStruct191029 ! Node: CStruct class-subclass creation191278 ! Node: CType191511 ! Node: CType class-C instance creation192625 ! Node: CType-accessing192880 ! Node: CType-C instance creation193722 ! Node: CType-storing194232 ! Node: CUChar194428 ! Node: CUChar class-getting info194692 ! Node: CUChar-accessing195055 ! Node: CUInt195365 ! Node: CUInt class-accessing195623 ! Node: CUInt-accessing195972 ! Node: CULong196274 ! Node: CULong class-accessing196536 ! Node: CULong-accessing196890 ! Node: CUnion197197 ! Node: CUnion class-subclass creation197438 ! Node: CUShort197667 ! Node: CUShort class-accessing197933 ! Node: CUShort-accessing198292 ! Node: Date198604 ! Node: Date class-basic200066 ! Node: Date class-instance creation (ANSI)201179 ! Node: Date class-instance creation (Blue Book)201654 ! Node: Date-basic202959 ! Node: Date-compatibility (non-ANSI)203418 ! Node: Date-date computations203816 ! Node: Date-printing205424 ! Node: Date-storing205637 ! Node: Date-testing205845 ! Node: DateTime206149 ! Node: DateTime class-information206783 ! Node: DateTime class-instance creation207059 ! Node: DateTime class-instance creation (non-ANSI)208345 ! Node: DateTime-basic208832 ! Node: DateTime-computations209164 ! Node: DateTime-printing209841 ! Node: DateTime-splitting in dates & times210092 ! Node: DateTime-storing210676 ! Node: DateTime-testing210926 ! Node: DateTime-time zones211286 ! Node: Delay212399 ! Node: Delay class-general inquiries213162 ! Node: Delay class-initialization213420 ! Node: Delay class-instance creation213701 ! Node: Delay-accessing214189 ! Node: Delay-comparing214428 ! Node: Delay-process delay214699 ! Node: DelayedAdaptor214920 ! Node: DelayedAdaptor-accessing215446 ! Node: Dictionary215810 ! Node: Dictionary class-instance creation216760 ! Node: Dictionary-accessing216999 ! Node: Dictionary-awful ST-80 compatibility hacks218655 ! Node: Dictionary-dictionary enumerating219103 ! Node: Dictionary-dictionary removing220176 ! Node: Dictionary-dictionary testing221030 ! Node: Dictionary-polymorphism hacks221689 ! Node: Dictionary-printing221959 ! Node: Dictionary-rehashing222308 ! Node: Dictionary-storing222510 ! Node: Dictionary-testing222755 ! Node: DirectedMessage223014 ! Node: DirectedMessage class-creating instances223580 ! Node: DirectedMessage-accessing223998 ! Node: DirectedMessage-basic224291 ! Node: DirectedMessage-multiple process224700 ! Node: DirectedMessage-saving and loading225283 ! Node: Directory225706 ! Node: Directory class-C functions226477 ! Node: Directory class-file name management226777 ! Node: Directory class-file operations227337 ! Node: Directory class-reading system defaults227704 ! Node: Directory-accessing228651 ! Node: Directory-enumerating229512 ! Node: DLD230253 ! Node: DLD class-C functions230923 ! Node: DLD class-dynamic linking231299 ! Node: DumperProxy232630 ! Node: DumperProxy class-accessing233156 ! Node: DumperProxy class-instance creation233606 ! Node: DumperProxy-saving and restoring234096 ! Node: Duration234496 ! Node: Duration class-instance creation234897 ! Node: Duration class-instance creation (non ANSI)235382 ! Node: Duration-arithmetics235846 ! Node: Error237019 ! Node: Error-exception description237334 ! Node: Exception237660 ! Node: Exception class-comparison238788 ! Node: Exception class-creating ExceptionCollections239237 ! Node: Exception class-initialization239646 ! Node: Exception class-instance creation240013 ! Node: Exception class-interoperability with TrappableEvents240582 ! Node: Exception-comparison241189 ! Node: Exception-exception description241622 ! Node: Exception-exception signaling242050 ! Node: ExceptionSet242428 ! Node: ExceptionSet class-instance creation242993 ! Node: ExceptionSet-enumerating243243 ! Node: False243792 ! Node: False-basic244181 ! Node: False-C hacks245160 ! Node: False-printing245325 ! Node: File245511 ! Node: File class-C functions246334 ! Node: File class-file name management246600 ! Node: File class-file operations247726 ! Node: File class-instance creation248339 ! Node: File class-reading system defaults248826 ! Node: File class-testing249098 ! Node: File-accessing249735 ! Node: File-file name management250820 ! Node: File-file operations251591 ! Node: File-testing252548 ! Node: FileDescriptor253464 ! Node: FileDescriptor class-initialization254615 ! Node: FileDescriptor class-instance creation254938 ! Node: FileDescriptor-accessing260956 ! Node: FileDescriptor-basic262101 ! Node: FileDescriptor-built ins263331 ! Node: FileDescriptor-class type methods264528 ! Node: FileDescriptor-initialize-release264943 ! Node: FileDescriptor-low-level access265464 ! Node: FileDescriptor-overriding inherited methods266535 ! Node: FileDescriptor-printing267321 ! Node: FileDescriptor-testing267604 ! Node: FileSegment267811 ! Node: FileSegment class-basic268420 ! Node: FileSegment class-installing268762 ! Node: FileSegment-basic269133 ! Node: FileSegment-equality269981 ! Node: FileStream270249 ! Node: FileStream class-file-in270955 ! Node: FileStream class-standard streams274476 ! Node: FileStream-basic275201 ! Node: FileStream-buffering276138 ! Node: FileStream-filing in276942 ! Node: FileStream-overriding inherited methods277856 ! Node: FileStream-testing278476 ! Node: Float278683 ! Node: Float class-byte-order dependancies279476 ! Node: Float class-characterization279741 ! Node: Float-arithmetic280748 ! Node: Float-basic281065 ! Node: Float-built ins281245 ! Node: Float-coercing282171 ! Node: Float-printing282792 ! Node: Float-storing283001 ! Node: Float-testing283207 ! Node: Float-testing functionality283959 ! Node: FloatD284140 ! Node: FloatD class-byte-order dependancies284799 ! Node: FloatD class-characterization285069 ! Node: FloatD class-converting286328 ! Node: FloatD-built ins286569 ! Node: FloatD-coercing287791 ! Node: FloatE288179 ! Node: FloatE class-byte-order dependancies288839 ! Node: FloatE class-characterization289109 ! Node: FloatE class-converting290656 ! Node: FloatE-built ins290897 ! Node: FloatE-coercing292119 ! Node: FloatQ292507 ! Node: FloatQ class-byte-order dependancies293169 ! Node: FloatQ class-characterization293439 ! Node: FloatQ class-converting294986 ! Node: FloatQ-built ins295227 ! Node: FloatQ-coercing296449 ! Node: Fraction296837 ! Node: Fraction class-converting297579 ! Node: Fraction class-instance creation297808 ! Node: Fraction-accessing298178 ! Node: Fraction-arithmetic298453 ! Node: Fraction-coercing299162 ! Node: Fraction-comparing299786 ! Node: Fraction-converting300273 ! Node: Fraction-optimized cases300759 ! Node: Fraction-printing301178 ! Node: Fraction-testing301493 ! Node: Halt301683 ! Node: Halt-description301969 ! Node: HashedCollection302205 ! Node: HashedCollection class-instance creation303056 ! Node: HashedCollection-accessing303418 ! Node: HashedCollection-builtins303983 ! Node: HashedCollection-copying304745 ! Node: HashedCollection-enumerating the elements of a collection305208 ! Node: HashedCollection-rehashing305569 ! Node: HashedCollection-removing305840 ! Node: HashedCollection-saving and loading306232 ! Node: HashedCollection-storing306731 ! Node: HashedCollection-testing collections307043 ! Node: HomedAssociation307973 ! Node: HomedAssociation class-basic308533 ! Node: HomedAssociation-accessing308820 ! Node: HomedAssociation-finalization309171 ! Node: HomedAssociation-storing309776 ! Node: IdentityDictionary310030 ! Node: IdentitySet310413 ! Node: IdentitySet-testing310802 ! Node: Integer311048 ! Node: Integer class-converting311867 ! Node: Integer-accessing312084 ! Node: Integer-basic312308 ! Node: Integer-bit operators312503 ! Node: Integer-converting313774 ! Node: Integer-extension314463 ! Node: Integer-iterators314761 ! Node: Integer-math methods315112 ! Node: Integer-printing315908 ! Node: Integer-storing316853 ! Node: Integer-testing functionality317095 ! Node: Interval317352 ! Node: Interval class-instance creation317938 ! Node: Interval-basic318525 ! Node: Interval-printing319196 ! Node: Interval-storing319421 ! Node: Interval-testing319653 ! Node: LargeArray319909 ! Node: LargeArray-overridden320302 ! Node: LargeArrayedCollection320479 ! Node: LargeArrayedCollection class-instance creation321012 ! Node: LargeArrayedCollection-accessing321356 ! Node: LargeArrayedCollection-basic321845 ! Node: LargeArraySubpart322231 ! Node: LargeArraySubpart class-instance creation323100 ! Node: LargeArraySubpart-accessing323494 ! Node: LargeArraySubpart-comparing324434 ! Node: LargeArraySubpart-modifying325441 ! Node: LargeByteArray326188 ! Node: LargeByteArray-overridden326601 ! Node: LargeInteger327027 ! Node: LargeInteger-arithmetic327813 ! Node: LargeInteger-bit operations328775 ! Node: LargeInteger-built-ins329362 ! Node: LargeInteger-coercion330426 ! Node: LargeInteger-disabled330847 ! Node: LargeInteger-primitive operations331207 ! Node: LargeInteger-testing331672 ! Node: LargeNegativeInteger332297 ! Node: LargeNegativeInteger-converting332989 ! Node: LargeNegativeInteger-numeric testing333362 ! Node: LargeNegativeInteger-reverting to LargePositiveInteger333882 ! Node: LargePositiveInteger334433 ! Node: LargePositiveInteger-arithmetic335300 ! Node: LargePositiveInteger-converting335761 ! Node: LargePositiveInteger-helper byte-level methods336314 ! Node: LargePositiveInteger-numeric testing338036 ! Node: LargePositiveInteger-primitive operations338557 ! Node: LargeWordArray339236 ! Node: LargeWordArray-overridden339656 ! Node: LargeZeroInteger339940 ! Node: LargeZeroInteger-accessing340758 ! Node: LargeZeroInteger-arithmetic341008 ! Node: LargeZeroInteger-numeric testing341923 ! Node: LargeZeroInteger-printing342245 ! Node: Link342547 ! Node: Link class-instance creation343082 ! Node: Link-basic343299 ! Node: Link-iteration343537 ! Node: LinkedList343983 ! Node: LinkedList-accessing344581 ! Node: LinkedList-adding344882 ! Node: LinkedList-enumerating345600 ! Node: LinkedList-testing345926 ! Node: LookupKey346267 ! Node: LookupKey class-basic346811 ! Node: LookupKey-accessing347038 ! Node: LookupKey-printing347288 ! Node: LookupKey-storing347520 ! Node: LookupKey-testing347761 ! Node: LookupTable348180 ! Node: LookupTable class-instance creation348908 ! Node: LookupTable-accessing349153 ! Node: LookupTable-copying349941 ! Node: LookupTable-enumerating350244 ! Node: LookupTable-rehashing350622 ! Node: LookupTable-removing350834 ! Node: LookupTable-storing351319 ! Node: Magnitude351541 ! Node: Magnitude-basic351985 ! Node: Magnitude-misc methods352500 ! Node: MappedCollection352899 ! Node: MappedCollection class-instance creation354261 ! Node: MappedCollection-basic354697 ! Node: Memory355571 ! Node: Memory class-accessing356119 ! Node: Message359999 ! Node: Message class-creating instances360637 ! Node: Message-accessing360912 ! Node: Message-basic361337 ! Node: MessageNotUnderstood361647 ! Node: MessageNotUnderstood-accessing362129 ! Node: MessageNotUnderstood-description362451 ! Node: Metaclass362715 ! Node: Metaclass class-instance creation363702 ! Node: Metaclass-accessing363970 ! Node: Metaclass-basic364399 ! Node: Metaclass-delegation365494 ! Node: Metaclass-filing366877 ! Node: Metaclass-printing367151 ! Node: Metaclass-testing functionality367689 ! Node: MethodContext367933 ! Node: MethodContext-accessing368423 ! Node: MethodContext-printing369680 ! Node: MethodDictionary369909 ! Node: MethodDictionary-adding370428 ! Node: MethodDictionary-rehashing370660 ! Node: MethodDictionary-removing370897 ! Node: MethodInfo371292 ! Node: MethodInfo-accessing371766 ! Node: MethodInfo-equality372694 ! Node: Namespace372970 ! Node: Namespace class-accessing373600 ! Node: Namespace class-disabling instance creation373986 ! Node: Namespace class-initialization374365 ! Node: Namespace-accessing374785 ! Node: Namespace-namespace hierarchy375057 ! Node: Namespace-overrides for superspaces375538 ! Node: Namespace-printing377318 ! Node: Namespace-testing377831 ! Node: NetClients.URIResolver377995 ! Node: NetClients.URIResolver class-api378438 ! Node: NetClients.URIResolver class-instance creation379571 ! Node: NetClients.URL379931 ! Node: NetClients.URL class-encoding URLs380639 ! Node: NetClients.URL class-instance creation381127 ! Node: NetClients.URL-accessing381935 ! Node: NetClients.URL-comparing384643 ! Node: NetClients.URL-copying385152 ! Node: NetClients.URL-initialize-release385672 ! Node: NetClients.URL-printing385954 ! Node: NetClients.URL-testing386231 ! Node: NetClients.URL-utilities386990 ! Node: Notification387283 ! Node: Notification-exception description387724 ! Node: NullProxy388169 ! Node: NullProxy class-instance creation388769 ! Node: NullProxy-accessing389023 ! Node: NullValueHolder389258 ! Node: NullValueHolder class-creating instances389835 ! Node: NullValueHolder-accessing390100 ! Node: Number390431 ! Node: Number class-converting391315 ! Node: Number class-testing391758 ! Node: Number-arithmetic392009 ! Node: Number-comparing393325 ! Node: Number-converting393731 ! Node: Number-copying394982 ! Node: Number-error raising395280 ! Node: Number-misc math395634 ! Node: Number-point creation397180 ! Node: Number-retrying397458 ! Node: Number-shortcuts and iterators399244 ! Node: Number-testing400092 ! Node: Number-truncation and round off401509 ! Node: Object402305 ! Node: Object class-initialization403255 ! Node: Object-built ins403930 ! Node: Object-change and update411776 ! Node: Object-class type methods412966 ! Node: Object-conversion413768 ! Node: Object-copying413998 ! Node: Object-debugging414645 ! Node: Object-dependents access415088 ! Node: Object-error raising415775 ! Node: Object-exception handling416451 ! Node: Object-finalization416955 ! Node: Object-printing417934 ! Node: Object-relational operators419660 ! Node: Object-saving and loading420005 ! Node: Object-storing420989 ! Node: Object-syntax shortcuts421577 ! Node: Object-testing functionality421885 ! Node: ObjectDumper423406 ! Node: ObjectDumper class-establishing proxy classes424599 ! Node: ObjectDumper class-instance creation425431 ! Node: ObjectDumper class-shortcuts425827 ! Node: ObjectDumper class-testing426204 ! Node: ObjectDumper-accessing426631 ! Node: ObjectDumper-loading/dumping objects427122 ! Node: ObjectDumper-stream interface427545 ! Node: ObjectMemory427910 ! Node: ObjectMemory class-accessing429026 ! Node: ObjectMemory class-builtins429276 ! Node: ObjectMemory class-dependancy432602 ! Node: ObjectMemory class-initialization432893 ! Node: ObjectMemory class-saving the image433170 ! Node: ObjectMemory-accessing433481 ! Node: ObjectMemory-builtins438418 ! Node: ObjectMemory-derived information438686 ! Node: OrderedCollection439656 ! Node: OrderedCollection class-instance creation440366 ! Node: OrderedCollection-accessing440707 ! Node: OrderedCollection-adding441157 ! Node: OrderedCollection-removing443204 ! Node: Package443841 ! Node: Package-accessing444246 ! Node: PackageLoader445837 ! Node: PackageLoader class-accessing446395 ! Node: PackageLoader class-loading448178 ! Node: PackageLoader class-testing449162 ! Node: PluggableAdaptor449436 ! Node: PluggableAdaptor class-creating instances450064 ! Node: PluggableAdaptor-accessing451142 ! Node: PluggableProxy451426 ! Node: PluggableProxy class-accessing452052 ! Node: PluggableProxy-saving and restoring452485 ! Node: Point452903 ! Node: Point class-instance creation453630 ! Node: Point-accessing453926 ! Node: Point-arithmetic454343 ! Node: Point-comparing455045 ! Node: Point-converting455841 ! Node: Point-point functions456343 ! Node: Point-printing457274 ! Node: Point-storing457491 ! Node: Point-truncation and round off457722 ! Node: PositionableStream458117 ! Node: PositionableStream class-instance creation459024 ! Node: PositionableStream-accessing-reading459532 ! Node: PositionableStream-class type methods460686 ! Node: PositionableStream-positioning461174 ! Node: PositionableStream-testing462311 ! Node: PositionableStream-truncating462776 ! Node: Process463059 ! Node: Process-accessing463627 ! Node: Process-basic465124 ! Node: Process-builtins466654 ! Node: Process-printing467447 ! Node: ProcessorScheduler467644 ! Node: ProcessorScheduler class-instance creation468311 ! Node: ProcessorScheduler-basic468608 ! Node: ProcessorScheduler-built ins470173 ! Node: ProcessorScheduler-idle tasks470858 ! Node: ProcessorScheduler-printing471199 ! Node: ProcessorScheduler-priorities471501 ! Node: ProcessorScheduler-storing473150 ! Node: ProcessorScheduler-timed invocation473474 ! Node: Promise474028 ! Node: Promise class-creating instances474600 ! Node: Promise-accessing474846 ! Node: Promise-initializing475169 ! Node: Promise-printing475396 ! Node: Random475586 ! Node: Random class-instance creation476035 ! Node: Random class-shortcuts476400 ! Node: Random-basic476716 ! Node: Random-testing477129 ! Node: ReadStream477438 ! Node: ReadStream class-instance creation477878 ! Node: ReadStream-accessing-reading478152 ! Node: ReadWriteStream478445 ! Node: ReadWriteStream class-instance creation478931 ! Node: ReadWriteStream-positioning479385 ! Node: Rectangle479749 ! Node: Rectangle class-instance creation480538 ! Node: Rectangle-accessing481079 ! Node: Rectangle-copying483476 ! Node: Rectangle-printing483693 ! Node: Rectangle-rectangle functions484018 ! Node: Rectangle-testing485858 ! Node: Rectangle-transforming486671 ! Node: Rectangle-truncation and round off487294 ! Node: RecursionLock487582 ! Node: RecursionLock class-instance creation487981 ! Node: RecursionLock-accessing488214 ! Node: RecursionLock-mutual exclusion488810 ! Node: RecursionLock-printing489168 ! Node: RootNamespace489417 ! Node: RootNamespace class-instance creation489966 ! Node: RootNamespace-namespace hierarchy490298 ! Node: RootNamespace-overrides for superspaces490728 ! Node: RootNamespace-printing491342 ! Node: RunArray491849 ! Node: RunArray class-instance creation492810 ! Node: RunArray-accessing493081 ! Node: RunArray-adding493414 ! Node: RunArray-basic494487 ! Node: RunArray-copying494791 ! Node: RunArray-enumerating495146 ! Node: RunArray-removing495605 ! Node: RunArray-searching496069 ! Node: RunArray-testing496482 ! Node: ScaledDecimal496724 ! Node: ScaledDecimal class-constants497528 ! Node: ScaledDecimal class-instance creation497777 ! Node: ScaledDecimal-arithmetic498213 ! Node: ScaledDecimal-coercion498931 ! Node: ScaledDecimal-comparing499835 ! Node: ScaledDecimal-constants500470 ! Node: ScaledDecimal-printing500771 ! Node: ScaledDecimal-storing501230 ! Node: Semaphore501467 ! Node: Semaphore class-instance creation502130 ! Node: Semaphore-accessing502502 ! Node: Semaphore-builtins502985 ! Node: Semaphore-mutual exclusion504324 ! Node: Semaphore-printing504657 ! Node: SequenceableCollection504886 ! Node: SequenceableCollection class-instance creation505588 ! Node: SequenceableCollection-basic506002 ! Node: SequenceableCollection-copying SequenceableCollections509423 ! Node: SequenceableCollection-enumerating511692 ! Node: SequenceableCollection-replacing items515104 ! Node: SequenceableCollection-testing516050 ! Node: Set516483 ! Node: Set-arithmetic516903 ! Node: Set-awful ST-80 compatibility hacks517231 ! Node: Set-comparing517591 ! Node: SharedQueue517985 ! Node: SharedQueue class-instance creation518507 ! Node: SharedQueue-accessing518875 ! Node: Signal519376 ! Node: Signal-accessing520001 ! Node: Signal-exception handling520850 ! Node: SingletonProxy523402 ! Node: SingletonProxy class-accessing524006 ! Node: SingletonProxy class-instance creation524370 ! Node: SingletonProxy-saving and restoring524810 ! Node: SmallInteger525236 ! Node: SmallInteger class-getting limits525923 ! Node: SmallInteger class-testing526408 ! Node: SmallInteger-bit arithmetic526703 ! Node: SmallInteger-built ins526980 ! Node: SmallInteger-builtins529284 ! Node: SmallInteger-coercion methods530034 ! Node: SmallInteger-testing functionality530389 ! Node: SortedCollection530621 ! Node: SortedCollection class-hacking531753 ! Node: SortedCollection class-instance creation532021 ! Node: SortedCollection-basic532533 ! Node: SortedCollection-copying533077 ! Node: SortedCollection-disabled533383 ! Node: SortedCollection-enumerating534236 ! Node: SortedCollection-saving and loading534565 ! Node: SortedCollection-searching534910 ! Node: Stream535496 ! Node: Stream-accessing-reading536438 ! Node: Stream-accessing-writing538204 ! Node: Stream-basic538758 ! Node: Stream-character writing538940 ! Node: Stream-enumerating539460 ! Node: Stream-filing out539694 ! Node: Stream-positioning540039 ! Node: Stream-printing540746 ! Node: Stream-providing consistent protocols541505 ! Node: Stream-storing541863 ! Node: Stream-testing542234 ! Node: String542517 ! Node: String class-basic543099 ! Node: String class-instance creation543415 ! Node: String-built ins543745 ! Node: String-converting545736 ! Node: String-storing546080 ! Node: String-testing functionality546316 ! Node: String-useful functionality546539 ! Node: Symbol546824 ! Node: Symbol class-built ins547650 ! Node: Symbol class-instance creation547864 ! Node: Symbol class-symbol table549002 ! Node: Symbol-basic550410 ! Node: Symbol-built ins551162 ! Node: Symbol-converting551470 ! Node: Symbol-misc551809 ! Node: Symbol-storing551972 ! Node: Symbol-testing552634 ! Node: Symbol-testing functionality552901 ! Node: SymLink553119 ! Node: SymLink class-instance creation553668 ! Node: SymLink-accessing553987 ! Node: SymLink-iteration554321 ! Node: SymLink-printing554535 ! Node: SystemDictionary554734 ! Node: SystemDictionary-basic555541 ! Node: SystemDictionary-builtins555821 ! Node: SystemDictionary-C functions557150 ! Node: SystemDictionary-miscellaneous557655 ! Node: SystemDictionary-printing557999 ! Node: SystemDictionary-special accessing558417 ! Node: SystemExceptions.AlreadyDefined558980 ! Node: SystemExceptions.AlreadyDefined-accessing559494 ! Node: SystemExceptions.ArgumentOutOfRange559745 ! Node: SystemExceptions.ArgumentOutOfRange class-signaling560333 ! Node: SystemExceptions.ArgumentOutOfRange-accessing560738 ! Node: SystemExceptions.BadReturn561315 ! Node: SystemExceptions.BadReturn-accessing561793 ! Node: SystemExceptions.CInterfaceError562036 ! Node: SystemExceptions.CInterfaceError-accessing562535 ! Node: SystemExceptions.EmptyCollection562802 ! Node: SystemExceptions.EmptyCollection-accessing563287 ! Node: SystemExceptions.EndOfStream563554 ! Node: SystemExceptions.EndOfStream class-signaling564043 ! Node: SystemExceptions.EndOfStream-accessing564382 ! Node: SystemExceptions.FileError564801 ! Node: SystemExceptions.FileError-accessing565278 ! Node: SystemExceptions.IndexOutOfRange565521 ! Node: SystemExceptions.IndexOutOfRange class-signaling566105 ! Node: SystemExceptions.IndexOutOfRange-accessing566470 ! Node: SystemExceptions.InvalidArgument566983 ! Node: SystemExceptions.InvalidArgument-accessing567478 ! Node: SystemExceptions.InvalidProcessState567734 ! Node: SystemExceptions.InvalidProcessState-accessing568263 ! Node: SystemExceptions.InvalidSize568546 ! Node: SystemExceptions.InvalidSize-accessing569011 ! Node: SystemExceptions.InvalidValue569262 ! Node: SystemExceptions.InvalidValue class-signaling569770 ! Node: SystemExceptions.InvalidValue-accessing570218 ! Node: SystemExceptions.MustBeBoolean570708 ! Node: SystemExceptions.MutationError571128 ! Node: SystemExceptions.MutationError-accessing571587 ! Node: SystemExceptions.NoRunnableProcess571846 ! Node: SystemExceptions.NoRunnableProcess-accessing572331 ! Node: SystemExceptions.NotFound572606 ! Node: SystemExceptions.NotFound class-accessing573120 ! Node: SystemExceptions.NotFound-accessing573494 ! Node: SystemExceptions.NotImplemented573783 ! Node: SystemExceptions.NotImplemented-accessing574239 ! Node: SystemExceptions.NotIndexable574502 ! Node: SystemExceptions.NotIndexable-accessing574963 ! Node: SystemExceptions.NotYetImplemented575218 ! Node: SystemExceptions.NotYetImplemented-accessing575728 ! Node: SystemExceptions.PrimitiveFailed576003 ! Node: SystemExceptions.PrimitiveFailed-accessing576486 ! Node: SystemExceptions.ProcessBeingTerminated576753 ! Node: SystemExceptions.ProcessBeingTerminated-accessing577187 ! Node: SystemExceptions.ProcessTerminated577482 ! Node: SystemExceptions.ProcessTerminated-accessing578005 ! Node: SystemExceptions.ReadOnlyObject578280 ! Node: SystemExceptions.ReadOnlyObject-accessing578759 ! Node: SystemExceptions.ShouldNotImplement579022 ! Node: SystemExceptions.ShouldNotImplement-accessing579550 ! Node: SystemExceptions.SubclassResponsibility579829 ! Node: SystemExceptions.SubclassResponsibility-accessing580397 ! Node: SystemExceptions.UserInterrupt580692 ! Node: SystemExceptions.UserInterrupt-accessing581142 ! Node: SystemExceptions.VMError581401 ! Node: SystemExceptions.VMError-accessing581825 ! Node: SystemExceptions.WrongArgumentCount582060 ! Node: SystemExceptions.WrongArgumentCount-accessing582614 ! Node: SystemExceptions.WrongClass582893 ! Node: SystemExceptions.WrongClass class-signaling583509 ! Node: SystemExceptions.WrongClass-accessing584164 ! Node: SystemExceptions.WrongMessageSent584816 ! Node: SystemExceptions.WrongMessageSent class-signaling585461 ! Node: SystemExceptions.WrongMessageSent-accessing585877 ! Node: TextCollector586465 ! Node: TextCollector class-accessing587163 ! Node: TextCollector-accessing587659 ! Node: TextCollector-printing588457 ! Node: TextCollector-set up588788 ! Node: TextCollector-storing589350 ! Node: Time589677 ! Node: Time class-basic (UTC)590456 ! Node: Time class-builtins590901 ! Node: Time class-clocks591925 ! Node: Time class-initialization592479 ! Node: Time class-instance creation592822 ! Node: Time-accessing (ANSI for DateAndTimes)593698 ! Node: Time-accessing (non ANSI & for Durations)594213 ! Node: Time-arithmetic594662 ! Node: Time-comparing595087 ! Node: TokenStream595371 ! Node: TokenStream class-instance creation596179 ! Node: TokenStream-basic596538 ! Node: TokenStream-write methods596859 ! Node: TrappableEvent597101 ! Node: TrappableEvent-enumerating597677 ! Node: TrappableEvent-instance creation598224 ! Node: True598553 ! Node: True-basic598931 ! Node: True-C hacks599880 ! Node: True-printing600039 ! Node: UndefinedObject600220 ! Node: UndefinedObject-basic600936 ! Node: UndefinedObject-class creation601204 ! Node: UndefinedObject-class creation - alternative603384 ! Node: UndefinedObject-CObject interoperability605671 ! Node: UndefinedObject-dependents access606004 ! Node: UndefinedObject-printing606352 ! Node: UndefinedObject-storing606631 ! Node: UndefinedObject-testing606906 ! Node: ValueAdaptor607741 ! Node: ValueAdaptor class-creating instances608225 ! Node: ValueAdaptor-accessing608512 ! Node: ValueAdaptor-printing608918 ! Node: ValueHolder609130 ! Node: ValueHolder class-creating instances609745 ! Node: ValueHolder-accessing610127 ! Node: ValueHolder-initializing610419 ! Node: VariableBinding610641 ! Node: VariableBinding-printing611273 ! Node: VariableBinding-saving and loading611587 ! Node: VariableBinding-storing612043 ! Node: VariableBinding-testing612330 ! Node: VersionableObjectProxy612587 ! Node: VersionableObjectProxy class-saving and restoring613483 ! Node: VersionableObjectProxy-saving and restoring614506 ! Node: VFS.ArchiveFileHandler614839 ! Node: VFS.ArchiveFileHandler class-registering615756 ! Node: VFS.ArchiveFileHandler-ArchiveMemberHandler protocol616210 ! Node: VFS.ArchiveFileHandler-directory operations617586 ! Node: VFS.ArchiveFileHandler-file operations618427 ! Node: VFS.ArchiveMemberHandler618713 ! Node: VFS.ArchiveMemberHandler-accessing619440 ! Node: VFS.ArchiveMemberHandler-directory operations620599 ! Node: VFS.ArchiveMemberHandler-file operations621219 ! Node: VFS.ArchiveMemberHandler-finalization621884 ! Node: VFS.ArchiveMemberHandler-initializing622376 ! Node: VFS.ArchiveMemberHandler-testing622909 ! Node: VFS.DecodedFileHandler623794 ! Node: VFS.DecodedFileHandler class-registering624335 ! Node: VFS.DecodedFileHandler-files625481 ! Node: VFS.ExternalArchiveFileHandler626175 ! Node: VFS.ExternalArchiveFileHandler class-registering627006 ! Node: VFS.ExternalArchiveFileHandler-ArchiveMemberHandler protocol627985 ! Node: VFS.ExternalArchiveFileHandler-members629305 ! Node: VFS.ExternalArchiveFileHandler-releasing629815 ! Node: VFS.RealFileHandler630164 ! Node: VFS.RealFileHandler class-C functions630907 ! Node: VFS.RealFileHandler class-initialization631188 ! Node: VFS.RealFileHandler-accessing631514 ! Node: VFS.RealFileHandler-directory operations632703 ! Node: VFS.RealFileHandler-file operations633198 ! Node: VFS.RealFileHandler-testing633739 ! Node: VFS.VFSHandler634482 ! Node: VFS.VFSHandler class-initializing635255 ! Node: VFS.VFSHandler class-instance creation636152 ! Node: VFS.VFSHandler-accessing636494 ! Node: VFS.VFSHandler-C functions637835 ! Node: VFS.VFSHandler-directory operations638970 ! Node: VFS.VFSHandler-file operations639558 ! Node: VFS.VFSHandler-testing640331 ! Node: Warning641171 ! Node: Warning-exception description641490 ! Node: WeakArray641693 ! Node: WeakArray class-instance creation642186 ! Node: WeakArray-accessing642509 ! Node: WeakArray-conversion644156 ! Node: WeakArray-loading644790 ! Node: WeakIdentitySet645054 ! Node: WeakKeyDictionary645516 ! Node: WeakKeyDictionary-accessing646065 ! Node: WeakKeyIdentityDictionary646568 ! Node: WeakSet647096 ! Node: WeakSet-accessing647552 ! Node: WeakValueIdentityDictionary648049 ! Node: WeakValueLookupTable648595 ! Node: WeakValueLookupTable-hacks649203 ! Node: WeakValueLookupTable-rehashing649759 ! Node: WordArray649981 ! Node: WriteStream650287 ! Node: WriteStream class-instance creation650813 ! Node: WriteStream-accessing651482 ! Node: WriteStream-accessing-writing651735 ! Node: WriteStream-positioning652325 ! Node: ZeroDivide652534 ! Node: ZeroDivide class-instance creation653027 ! Node: ZeroDivide-accessing653406 ! Node: ZeroDivide-description653658 ! Node: Class index653872 ! Node: Method index665709 ! Node: Cross-reference883801  End Tag Table --- 8,1056 ----  Indirect: ! gst-base.info-1: 261 ! gst-base.info-2: 50127 ! gst-base.info-3: 100114 ! gst-base.info-4: 149341 ! gst-base.info-5: 198821 ! gst-base.info-6: 248556 ! gst-base.info-7: 298395 ! gst-base.info-8: 347978 ! gst-base.info-9: 397675 ! gst-base.info-10: 446683 ! gst-base.info-11: 496359 ! gst-base.info-12: 546149 ! gst-base.info-13: 595440 ! gst-base.info-14: 645027 ! gst-base.info-15: 665682 ! gst-base.info-16: 883898  Tag Table: (Indirect) ! Node: Top261 ! Node: Base classes2151 ! Node: AbstractNamespace11456 ! Node: AbstractNamespace class-instance creation12203 ! Node: AbstractNamespace-accessing12629 ! Node: AbstractNamespace-basic & copying13854 ! Node: AbstractNamespace-copying14395 ! Node: AbstractNamespace-namespace hierarchy14838 ! Node: AbstractNamespace-overrides for superspaces17503 ! Node: AbstractNamespace-printing19220 ! Node: AbstractNamespace-testing19792 ! Node: AlternativeObjectProxy20030 ! Node: AlternativeObjectProxy class-instance creation20764 ! Node: AlternativeObjectProxy-accessing21696 ! Node: ArithmeticError22247 ! Node: ArithmeticError-description22698 ! Node: Array22903 ! Node: Array-mutating objects23534 ! Node: Array-printing23833 ! Node: Array-testing24051 ! Node: ArrayedCollection24191 ! Node: ArrayedCollection class-instance creation24980 ! Node: ArrayedCollection-basic26101 ! Node: ArrayedCollection-built ins26999 ! Node: ArrayedCollection-copying Collections27262 ! Node: ArrayedCollection-enumerating the elements of a collection29013 ! Node: ArrayedCollection-storing30159 ! Node: Association30443 ! Node: Association class-basic31120 ! Node: Association-accessing31358 ! Node: Association-finalization31965 ! Node: Association-printing32185 ! Node: Association-storing32432 ! Node: Association-testing32685 ! Node: Autoload33029 ! Node: Autoload class-instance creation33699 ! Node: Autoload-accessing34202 ! Node: AutoloadClass34427 ! Node: AutoloadClass-accessing34952 ! Node: Bag35907 ! Node: Bag class-basic36612 ! Node: Bag-adding36868 ! Node: Bag-enumerating the elements of a collection37348 ! Node: Bag-extracting items37705 ! Node: Bag-printing37984 ! Node: Bag-removing38188 ! Node: Bag-storing38497 ! Node: Bag-testing collections38714 ! Node: Behavior39199 ! Node: Behavior-accessing class hierarchy40788 ! Node: Behavior-accessing instances and variables41514 ! Node: Behavior-accessing the methodDictionary42800 ! Node: Behavior-built ins43880 ! Node: Behavior-compilation (alternative)46068 ! Node: Behavior-compiling methods46888 ! Node: Behavior-creating a class hierarchy47348 ! Node: Behavior-enumerating47784 ! Node: Behavior-evaluating48837 ! Node: Behavior-instance creation50127 ! Node: Behavior-instance variables50906 ! Node: Behavior-method dictionary51337 ! Node: Behavior-pluggable behavior (not yet implemented)54774 ! Node: Behavior-printing hierarchy55897 ! Node: Behavior-support for lightweight classes56490 ! Node: Behavior-testing functionality57529 ! Node: Behavior-testing the class hierarchy57797 ! Node: Behavior-testing the form of the instances58319 ! Node: Behavior-testing the method dictionary59446 ! Node: BindingDictionary60832 ! Node: BindingDictionary-accessing61679 ! Node: BindingDictionary-copying63560 ! Node: BindingDictionary-forward declarations64092 ! Node: BindingDictionary-printing64697 ! Node: BindingDictionary-testing65090 ! Node: BlockClosure65304 ! Node: BlockClosure class-instance creation66527 ! Node: BlockClosure class-testing67093 ! Node: BlockClosure-accessing67386 ! Node: BlockClosure-built ins68973 ! Node: BlockClosure-control structures69739 ! Node: BlockClosure-exception handling70405 ! Node: BlockClosure-multiple process72406 ! Node: BlockClosure-overriding73848 ! Node: BlockClosure-testing74115 ! Node: BlockClosure-unwind protection74374 ! Node: BlockContext75842 ! Node: BlockContext-accessing76622 ! Node: BlockContext-printing78135 ! Node: Boolean78359 ! Node: Boolean class-testing79110 ! Node: Boolean-basic79412 ! Node: Boolean-C hacks80693 ! Node: Boolean-overriding80940 ! Node: Boolean-storing81168 ! Node: ByteArray81382 ! Node: ByteArray-built ins81923 ! Node: ByteArray-converting83205 ! Node: ByteArray-more advanced accessing83482 ! Node: ByteStream89985 ! Node: ByteStream-basic90364 ! Node: CAggregate91639 ! Node: CAggregate class-accessing91933 ! Node: CAggregate-accessing92208 ! Node: CallinProcess92431 ! Node: CArray92949 ! Node: CArray-accessing93191 ! Node: CArrayCType93383 ! Node: CArrayCType class-instance creation93683 ! Node: CArrayCType-accessing94302 ! Node: CBoolean94665 ! Node: CBoolean-accessing94962 ! Node: CByte95278 ! Node: CByte class-conversion95660 ! Node: CByte-accessing95978 ! Node: CChar96415 ! Node: CChar class-accessing96675 ! Node: CChar-accessing97024 ! Node: CCompound97326 ! Node: CCompound class-instance creation97667 ! Node: CCompound class-subclass creation98025 ! Node: CCompound-instance creation100114 ! Node: CDouble100452 ! Node: CDouble class-accessing100723 ! Node: CDouble-accessing101082 ! Node: CFloat101394 ! Node: CFloat class-accessing101671 ! Node: CFloat-accessing102025 ! Node: CFunctionDescriptor102332 ! Node: CFunctionDescriptor class-instance creation103107 ! Node: CFunctionDescriptor class-testing103454 ! Node: CFunctionDescriptor-accessing103950 ! Node: CFunctionDescriptor-calling104567 ! Node: CFunctionDescriptor-printing106506 ! Node: Character106764 ! Node: Character class-built ins107733 ! Node: Character class-constants108504 ! Node: Character class-initializing lookup tables109297 ! Node: Character class-instance creation109932 ! Node: Character class-testing110289 ! Node: Character-built ins110647 ! Node: Character-coercion methods111421 ! Node: Character-comparing111984 ! Node: Character-converting112616 ! Node: Character-printing112918 ! Node: Character-storing113291 ! Node: Character-testing113529 ! Node: Character-testing functionality114164 ! Node: CharacterArray114395 ! Node: CharacterArray class-basic115136 ! Node: CharacterArray-basic115525 ! Node: CharacterArray-built ins116201 ! Node: CharacterArray-comparing116615 ! Node: CharacterArray-converting118824 ! Node: CharacterArray-printing120180 ! Node: CharacterArray-storing120798 ! Node: CharacterArray-string processing121076 ! Node: CharacterArray-testing functionality123614 ! Node: CInt123859 ! Node: CInt class-accessing124119 ! Node: CInt-accessing124443 ! Node: Class124760 ! Node: Class-accessing instances and variables125606 ! Node: Class-filing127117 ! Node: Class-instance creation127556 ! Node: Class-instance creation - alternative129760 ! Node: Class-printing131924 ! Node: Class-saving and loading132330 ! Node: Class-testing133723 ! Node: Class-testing functionality133961 ! Node: ClassDescription134177 ! Node: ClassDescription-compiling134839 ! Node: ClassDescription-conversion135666 ! Node: ClassDescription-copying136118 ! Node: ClassDescription-filing137314 ! Node: ClassDescription-organization of messages and classes138135 ! Node: ClassDescription-printing139434 ! Node: CLong140182 ! Node: CLong class-accessing140451 ! Node: CLong-accessing140800 ! Node: CObject141102 ! Node: CObject class-conversion141952 ! Node: CObject class-instance creation142294 ! Node: CObject-accessing142891 ! Node: CObject-C data access143325 ! Node: CObject-conversion143928 ! Node: CObject-finalization144348 ! Node: CObject-pointer-like behavior144811 ! Node: Collection147065 ! Node: Collection class-instance creation147992 ! Node: Collection-adding148995 ! Node: Collection-converting149341 ! Node: Collection-copying Collections150433 ! Node: Collection-enumeration150970 ! Node: Collection-finalization153994 ! Node: Collection-printing154298 ! Node: Collection-removing154640 ! Node: Collection-storing155479 ! Node: Collection-testing collections155735 ! Node: CompiledBlock156373 ! Node: CompiledBlock class-instance creation156871 ! Node: CompiledBlock-accessing157606 ! Node: CompiledBlock-basic158664 ! Node: CompiledBlock-printing159372 ! Node: CompiledBlock-saving and loading159638 ! Node: CompiledCode160058 ! Node: CompiledCode class-cache flushing160784 ! Node: CompiledCode class-instance creation161139 ! Node: CompiledCode-accessing161684 ! Node: CompiledCode-basic163082 ! Node: CompiledCode-copying163832 ! Node: CompiledCode-debugging164056 ! Node: CompiledCode-decoding bytecodes164314 ! Node: CompiledCode-testing accesses164720 ! Node: CompiledCode-translation165880 ! Node: CompiledMethod166137 ! Node: CompiledMethod class-instance creation166915 ! Node: CompiledMethod class-lean images167551 ! Node: CompiledMethod-accessing167871 ! Node: CompiledMethod-basic169237 ! Node: CompiledMethod-printing170000 ! Node: CompiledMethod-saving and loading170340 ! Node: CompiledMethod-testing170789 ! Node: ContextPart171372 ! Node: ContextPart class-exception handling172146 ! Node: ContextPart-accessing173091 ! Node: ContextPart-built ins176323 ! Node: ContextPart-copying177008 ! Node: ContextPart-debugging177360 ! Node: ContextPart-enumerating177883 ! Node: ContextPart-exception handling178267 ! Node: ContextPart-printing178528 ! Node: CoreException178890 ! Node: CoreException class-instance creation180156 ! Node: CoreException-accessing180411 ! Node: CoreException-basic181344 ! Node: CoreException-enumerating181598 ! Node: CoreException-exception handling182255 ! Node: CoreException-instance creation182905 ! Node: CPtr183206 ! Node: CPtr-accessing183438 ! Node: CPtrCType183972 ! Node: CPtrCType class-instance creation184255 ! Node: CPtrCType-accessing184539 ! Node: CScalar184999 ! Node: CScalar class-instance creation185284 ! Node: CScalar-accessing185742 ! Node: CScalarCType186256 ! Node: CScalarCType-accessing186543 ! Node: CScalarCType-storing186870 ! Node: CShort187091 ! Node: CShort class-accessing187364 ! Node: CShort-accessing187718 ! Node: CSmalltalk188025 ! Node: CSmalltalk class-accessing188309 ! Node: CSmalltalk-accessing188683 ! Node: CString189010 ! Node: CString class-instance creation189816 ! Node: CString-accessing190274 ! Node: CStringCType190788 ! Node: CStringCType-accessing191046 ! Node: CStruct191246 ! Node: CStruct class-subclass creation191495 ! Node: CType191728 ! Node: CType class-C instance creation192842 ! Node: CType-accessing193097 ! Node: CType-C instance creation193939 ! Node: CType-storing194449 ! Node: CUChar194645 ! Node: CUChar class-getting info194909 ! Node: CUChar-accessing195272 ! Node: CUInt195582 ! Node: CUInt class-accessing195840 ! Node: CUInt-accessing196189 ! Node: CULong196491 ! Node: CULong class-accessing196753 ! Node: CULong-accessing197107 ! Node: CUnion197414 ! Node: CUnion class-subclass creation197655 ! Node: CUShort197884 ! Node: CUShort class-accessing198150 ! Node: CUShort-accessing198509 ! Node: Date198821 ! Node: Date class-basic200283 ! Node: Date class-instance creation (ANSI)201396 ! Node: Date class-instance creation (Blue Book)201871 ! Node: Date-basic203176 ! Node: Date-compatibility (non-ANSI)203635 ! Node: Date-date computations204033 ! Node: Date-printing205641 ! Node: Date-storing205854 ! Node: Date-testing206062 ! Node: DateTime206366 ! Node: DateTime class-information207000 ! Node: DateTime class-instance creation207276 ! Node: DateTime class-instance creation (non-ANSI)208562 ! Node: DateTime-basic209049 ! Node: DateTime-computations209381 ! Node: DateTime-printing210058 ! Node: DateTime-splitting in dates & times210309 ! Node: DateTime-storing210893 ! Node: DateTime-testing211143 ! Node: DateTime-time zones211503 ! Node: Delay212616 ! Node: Delay class-general inquiries213379 ! Node: Delay class-initialization213637 ! Node: Delay class-instance creation213918 ! Node: Delay-accessing214406 ! Node: Delay-comparing214645 ! Node: Delay-process delay214916 ! Node: DelayedAdaptor215137 ! Node: DelayedAdaptor-accessing215663 ! Node: Dictionary216027 ! Node: Dictionary class-instance creation216977 ! Node: Dictionary-accessing217216 ! Node: Dictionary-awful ST-80 compatibility hacks218872 ! Node: Dictionary-dictionary enumerating219320 ! Node: Dictionary-dictionary removing220393 ! Node: Dictionary-dictionary testing221247 ! Node: Dictionary-polymorphism hacks221906 ! Node: Dictionary-printing222176 ! Node: Dictionary-rehashing222525 ! Node: Dictionary-storing222727 ! Node: Dictionary-testing222972 ! Node: DirectedMessage223231 ! Node: DirectedMessage class-creating instances223797 ! Node: DirectedMessage-accessing224215 ! Node: DirectedMessage-basic224508 ! Node: DirectedMessage-multiple process224917 ! Node: DirectedMessage-saving and loading225500 ! Node: Directory225923 ! Node: Directory class-C functions226694 ! Node: Directory class-file name management226994 ! Node: Directory class-file operations227554 ! Node: Directory class-reading system defaults227921 ! Node: Directory-accessing228868 ! Node: Directory-enumerating229729 ! Node: DLD230470 ! Node: DLD class-C functions231140 ! Node: DLD class-dynamic linking231516 ! Node: DumperProxy232847 ! Node: DumperProxy class-accessing233373 ! Node: DumperProxy class-instance creation233823 ! Node: DumperProxy-saving and restoring234313 ! Node: Duration234713 ! Node: Duration class-instance creation235114 ! Node: Duration class-instance creation (non ANSI)235599 ! Node: Duration-arithmetics236063 ! Node: Error237236 ! Node: Error-exception description237551 ! Node: Exception237877 ! Node: Exception class-comparison239005 ! Node: Exception class-creating ExceptionCollections239454 ! Node: Exception class-initialization239863 ! Node: Exception class-instance creation240230 ! Node: Exception class-interoperability with TrappableEvents240799 ! Node: Exception-comparison241406 ! Node: Exception-exception description241839 ! Node: Exception-exception signaling242267 ! Node: ExceptionSet242645 ! Node: ExceptionSet class-instance creation243210 ! Node: ExceptionSet-enumerating243460 ! Node: False244009 ! Node: False-basic244398 ! Node: False-C hacks245377 ! Node: False-printing245542 ! Node: File245728 ! Node: File class-C functions246551 ! Node: File class-file name management246817 ! Node: File class-file operations247943 ! Node: File class-instance creation248556 ! Node: File class-reading system defaults249043 ! Node: File class-testing249315 ! Node: File-accessing249952 ! Node: File-file name management251037 ! Node: File-file operations251808 ! Node: File-testing252765 ! Node: FileDescriptor253681 ! Node: FileDescriptor class-initialization254832 ! Node: FileDescriptor class-instance creation255155 ! Node: FileDescriptor-accessing261173 ! Node: FileDescriptor-basic262318 ! Node: FileDescriptor-built ins263548 ! Node: FileDescriptor-class type methods264745 ! Node: FileDescriptor-initialize-release265160 ! Node: FileDescriptor-low-level access265681 ! Node: FileDescriptor-overriding inherited methods266752 ! Node: FileDescriptor-printing267538 ! Node: FileDescriptor-testing267821 ! Node: FileSegment268028 ! Node: FileSegment class-basic268637 ! Node: FileSegment class-installing268979 ! Node: FileSegment-basic269350 ! Node: FileSegment-equality270198 ! Node: FileStream270466 ! Node: FileStream class-file-in271172 ! Node: FileStream class-standard streams274693 ! Node: FileStream-basic275418 ! Node: FileStream-buffering276355 ! Node: FileStream-filing in277159 ! Node: FileStream-overriding inherited methods278073 ! Node: FileStream-testing278693 ! Node: Float278900 ! Node: Float class-byte-order dependancies279693 ! Node: Float class-characterization279958 ! Node: Float-arithmetic280965 ! Node: Float-basic281282 ! Node: Float-built ins281462 ! Node: Float-coercing282388 ! Node: Float-printing283009 ! Node: Float-storing283218 ! Node: Float-testing283424 ! Node: Float-testing functionality284176 ! Node: FloatD284357 ! Node: FloatD class-byte-order dependancies285016 ! Node: FloatD class-characterization285286 ! Node: FloatD class-converting286545 ! Node: FloatD-built ins286786 ! Node: FloatD-coercing288008 ! Node: FloatE288396 ! Node: FloatE class-byte-order dependancies289056 ! Node: FloatE class-characterization289326 ! Node: FloatE class-converting290873 ! Node: FloatE-built ins291114 ! Node: FloatE-coercing292336 ! Node: FloatQ292724 ! Node: FloatQ class-byte-order dependancies293386 ! Node: FloatQ class-characterization293656 ! Node: FloatQ class-converting295203 ! Node: FloatQ-built ins295444 ! Node: FloatQ-coercing296666 ! Node: Fraction297054 ! Node: Fraction class-converting297796 ! Node: Fraction class-instance creation298025 ! Node: Fraction-accessing298395 ! Node: Fraction-arithmetic298670 ! Node: Fraction-coercing299379 ! Node: Fraction-comparing300003 ! Node: Fraction-converting300490 ! Node: Fraction-optimized cases300976 ! Node: Fraction-printing301395 ! Node: Fraction-testing301710 ! Node: Halt301900 ! Node: Halt-description302186 ! Node: HashedCollection302422 ! Node: HashedCollection class-instance creation303273 ! Node: HashedCollection-accessing303635 ! Node: HashedCollection-builtins304200 ! Node: HashedCollection-copying304962 ! Node: HashedCollection-enumerating the elements of a collection305425 ! Node: HashedCollection-rehashing305786 ! Node: HashedCollection-removing306057 ! Node: HashedCollection-saving and loading306449 ! Node: HashedCollection-storing306948 ! Node: HashedCollection-testing collections307260 ! Node: HomedAssociation308190 ! Node: HomedAssociation class-basic308750 ! Node: HomedAssociation-accessing309037 ! Node: HomedAssociation-finalization309388 ! Node: HomedAssociation-storing309993 ! Node: IdentityDictionary310247 ! Node: IdentitySet310630 ! Node: IdentitySet-testing311019 ! Node: Integer311265 ! Node: Integer class-converting312084 ! Node: Integer-accessing312301 ! Node: Integer-basic312525 ! Node: Integer-bit operators312720 ! Node: Integer-converting313991 ! Node: Integer-extension314680 ! Node: Integer-iterators314978 ! Node: Integer-math methods315329 ! Node: Integer-printing316125 ! Node: Integer-storing317070 ! Node: Integer-testing functionality317312 ! Node: Interval317569 ! Node: Interval class-instance creation318155 ! Node: Interval-basic318742 ! Node: Interval-printing319413 ! Node: Interval-storing319638 ! Node: Interval-testing319870 ! Node: LargeArray320126 ! Node: LargeArray-overridden320519 ! Node: LargeArrayedCollection320696 ! Node: LargeArrayedCollection class-instance creation321229 ! Node: LargeArrayedCollection-accessing321573 ! Node: LargeArrayedCollection-basic322062 ! Node: LargeArraySubpart322448 ! Node: LargeArraySubpart class-instance creation323317 ! Node: LargeArraySubpart-accessing323711 ! Node: LargeArraySubpart-comparing324651 ! Node: LargeArraySubpart-modifying325658 ! Node: LargeByteArray326405 ! Node: LargeByteArray-overridden326818 ! Node: LargeInteger327244 ! Node: LargeInteger-arithmetic328030 ! Node: LargeInteger-bit operations328992 ! Node: LargeInteger-built-ins329579 ! Node: LargeInteger-coercion330643 ! Node: LargeInteger-disabled331064 ! Node: LargeInteger-primitive operations331424 ! Node: LargeInteger-testing331889 ! Node: LargeNegativeInteger332514 ! Node: LargeNegativeInteger-converting333206 ! Node: LargeNegativeInteger-numeric testing333579 ! Node: LargeNegativeInteger-reverting to LargePositiveInteger334099 ! Node: LargePositiveInteger334650 ! Node: LargePositiveInteger-arithmetic335517 ! Node: LargePositiveInteger-converting335978 ! Node: LargePositiveInteger-helper byte-level methods336531 ! Node: LargePositiveInteger-numeric testing338253 ! Node: LargePositiveInteger-primitive operations338774 ! Node: LargeWordArray339453 ! Node: LargeWordArray-overridden339873 ! Node: LargeZeroInteger340157 ! Node: LargeZeroInteger-accessing340975 ! Node: LargeZeroInteger-arithmetic341225 ! Node: LargeZeroInteger-numeric testing342140 ! Node: LargeZeroInteger-printing342462 ! Node: Link342764 ! Node: Link class-instance creation343299 ! Node: Link-basic343516 ! Node: Link-iteration343754 ! Node: LinkedList344200 ! Node: LinkedList-accessing344798 ! Node: LinkedList-adding345099 ! Node: LinkedList-enumerating345817 ! Node: LinkedList-testing346143 ! Node: LookupKey346484 ! Node: LookupKey class-basic347028 ! Node: LookupKey-accessing347255 ! Node: LookupKey-printing347505 ! Node: LookupKey-storing347737 ! Node: LookupKey-testing347978 ! Node: LookupTable348397 ! Node: LookupTable class-instance creation349125 ! Node: LookupTable-accessing349370 ! Node: LookupTable-copying350158 ! Node: LookupTable-enumerating350461 ! Node: LookupTable-rehashing350839 ! Node: LookupTable-removing351051 ! Node: LookupTable-storing351536 ! Node: Magnitude351758 ! Node: Magnitude-basic352202 ! Node: Magnitude-misc methods352717 ! Node: MappedCollection353116 ! Node: MappedCollection class-instance creation354478 ! Node: MappedCollection-basic354914 ! Node: Memory355788 ! Node: Memory class-accessing356336 ! Node: Message360216 ! Node: Message class-creating instances360854 ! Node: Message-accessing361129 ! Node: Message-basic361554 ! Node: MessageNotUnderstood361864 ! Node: MessageNotUnderstood-accessing362346 ! Node: MessageNotUnderstood-description362668 ! Node: Metaclass362932 ! Node: Metaclass class-instance creation363919 ! Node: Metaclass-accessing364187 ! Node: Metaclass-basic364616 ! Node: Metaclass-delegation365711 ! Node: Metaclass-filing367094 ! Node: Metaclass-printing367368 ! Node: Metaclass-testing functionality367906 ! Node: MethodContext368150 ! Node: MethodContext-accessing368640 ! Node: MethodContext-printing369897 ! Node: MethodDictionary370126 ! Node: MethodDictionary-adding370645 ! Node: MethodDictionary-rehashing370877 ! Node: MethodDictionary-removing371114 ! Node: MethodInfo371509 ! Node: MethodInfo-accessing371983 ! Node: MethodInfo-equality372911 ! Node: Namespace373187 ! Node: Namespace class-accessing373817 ! Node: Namespace class-disabling instance creation374203 ! Node: Namespace class-initialization374582 ! Node: Namespace-accessing375002 ! Node: Namespace-namespace hierarchy375274 ! Node: Namespace-overrides for superspaces375755 ! Node: Namespace-printing377535 ! Node: Namespace-testing378048 ! Node: NetClients.URIResolver378212 ! Node: NetClients.URIResolver class-api378655 ! Node: NetClients.URIResolver class-instance creation379788 ! Node: NetClients.URL380148 ! Node: NetClients.URL class-encoding URLs380856 ! Node: NetClients.URL class-instance creation381344 ! Node: NetClients.URL-accessing382152 ! Node: NetClients.URL-comparing384860 ! Node: NetClients.URL-copying385369 ! Node: NetClients.URL-initialize-release385889 ! Node: NetClients.URL-printing386171 ! Node: NetClients.URL-testing386448 ! Node: NetClients.URL-utilities387207 ! Node: Notification387500 ! Node: Notification-exception description387941 ! Node: NullProxy388386 ! Node: NullProxy class-instance creation388986 ! Node: NullProxy-accessing389240 ! Node: NullValueHolder389475 ! Node: NullValueHolder class-creating instances390052 ! Node: NullValueHolder-accessing390317 ! Node: Number390648 ! Node: Number class-converting391532 ! Node: Number class-testing391975 ! Node: Number-arithmetic392226 ! Node: Number-comparing393542 ! Node: Number-converting393948 ! Node: Number-copying395199 ! Node: Number-error raising395497 ! Node: Number-misc math395851 ! Node: Number-point creation397397 ! Node: Number-retrying397675 ! Node: Number-shortcuts and iterators399461 ! Node: Number-testing400309 ! Node: Number-truncation and round off401726 ! Node: Object402522 ! Node: Object class-initialization403472 ! Node: Object-built ins404147 ! Node: Object-change and update412064 ! Node: Object-class type methods413254 ! Node: Object-conversion414056 ! Node: Object-copying414286 ! Node: Object-debugging414933 ! Node: Object-dependents access415376 ! Node: Object-error raising416063 ! Node: Object-exception handling416739 ! Node: Object-finalization417243 ! Node: Object-printing418222 ! Node: Object-relational operators419948 ! Node: Object-saving and loading420293 ! Node: Object-storing421277 ! Node: Object-syntax shortcuts421865 ! Node: Object-testing functionality422173 ! Node: ObjectDumper423694 ! Node: ObjectDumper class-establishing proxy classes424887 ! Node: ObjectDumper class-instance creation425719 ! Node: ObjectDumper class-shortcuts426115 ! Node: ObjectDumper class-testing426492 ! Node: ObjectDumper-accessing426919 ! Node: ObjectDumper-loading/dumping objects427410 ! Node: ObjectDumper-stream interface427833 ! Node: ObjectMemory428198 ! Node: ObjectMemory class-accessing429314 ! Node: ObjectMemory class-builtins429564 ! Node: ObjectMemory class-dependancy432890 ! Node: ObjectMemory class-initialization433181 ! Node: ObjectMemory class-saving the image433458 ! Node: ObjectMemory-accessing433769 ! Node: ObjectMemory-builtins438706 ! Node: ObjectMemory-derived information438974 ! Node: OrderedCollection439944 ! Node: OrderedCollection class-instance creation440654 ! Node: OrderedCollection-accessing440995 ! Node: OrderedCollection-adding441445 ! Node: OrderedCollection-removing443492 ! Node: Package444129 ! Node: Package-accessing444534 ! Node: PackageLoader446125 ! Node: PackageLoader class-accessing446683 ! Node: PackageLoader class-loading448466 ! Node: PackageLoader class-testing449452 ! Node: PluggableAdaptor449726 ! Node: PluggableAdaptor class-creating instances450354 ! Node: PluggableAdaptor-accessing451432 ! Node: PluggableProxy451716 ! Node: PluggableProxy class-accessing452342 ! Node: PluggableProxy-saving and restoring452775 ! Node: Point453193 ! Node: Point class-instance creation453920 ! Node: Point-accessing454216 ! Node: Point-arithmetic454633 ! Node: Point-comparing455335 ! Node: Point-converting456131 ! Node: Point-point functions456633 ! Node: Point-printing457564 ! Node: Point-storing457781 ! Node: Point-truncation and round off458012 ! Node: PositionableStream458407 ! Node: PositionableStream class-instance creation459314 ! Node: PositionableStream-accessing-reading459822 ! Node: PositionableStream-class type methods460976 ! Node: PositionableStream-positioning461464 ! Node: PositionableStream-testing462601 ! Node: PositionableStream-truncating463066 ! Node: Process463349 ! Node: Process-accessing463917 ! Node: Process-basic465414 ! Node: Process-builtins466944 ! Node: Process-printing467737 ! Node: ProcessorScheduler467934 ! Node: ProcessorScheduler class-instance creation468601 ! Node: ProcessorScheduler-basic468898 ! Node: ProcessorScheduler-built ins470463 ! Node: ProcessorScheduler-idle tasks471148 ! Node: ProcessorScheduler-printing471489 ! Node: ProcessorScheduler-priorities471791 ! Node: ProcessorScheduler-storing473440 ! Node: ProcessorScheduler-timed invocation473764 ! Node: Promise474318 ! Node: Promise class-creating instances474890 ! Node: Promise-accessing475136 ! Node: Promise-initializing475459 ! Node: Promise-printing475686 ! Node: Random475876 ! Node: Random class-instance creation476325 ! Node: Random class-shortcuts476690 ! Node: Random-basic477006 ! Node: Random-testing477419 ! Node: ReadStream477728 ! Node: ReadStream class-instance creation478168 ! Node: ReadStream-accessing-reading478442 ! Node: ReadWriteStream478735 ! Node: ReadWriteStream class-instance creation479221 ! Node: ReadWriteStream-positioning479675 ! Node: Rectangle480039 ! Node: Rectangle class-instance creation480828 ! Node: Rectangle-accessing481369 ! Node: Rectangle-copying483766 ! Node: Rectangle-printing483983 ! Node: Rectangle-rectangle functions484308 ! Node: Rectangle-testing486148 ! Node: Rectangle-transforming486961 ! Node: Rectangle-truncation and round off487584 ! Node: RecursionLock487872 ! Node: RecursionLock class-instance creation488271 ! Node: RecursionLock-accessing488504 ! Node: RecursionLock-mutual exclusion489100 ! Node: RecursionLock-printing489458 ! Node: RootNamespace489707 ! Node: RootNamespace class-instance creation490256 ! Node: RootNamespace-namespace hierarchy490588 ! Node: RootNamespace-overrides for superspaces491018 ! Node: RootNamespace-printing491632 ! Node: RunArray492139 ! Node: RunArray class-instance creation493100 ! Node: RunArray-accessing493371 ! Node: RunArray-adding493704 ! Node: RunArray-basic494777 ! Node: RunArray-copying495081 ! Node: RunArray-enumerating495436 ! Node: RunArray-removing495895 ! Node: RunArray-searching496359 ! Node: RunArray-testing496772 ! Node: ScaledDecimal497014 ! Node: ScaledDecimal class-constants497818 ! Node: ScaledDecimal class-instance creation498067 ! Node: ScaledDecimal-arithmetic498503 ! Node: ScaledDecimal-coercion499221 ! Node: ScaledDecimal-comparing500125 ! Node: ScaledDecimal-constants500760 ! Node: ScaledDecimal-printing501061 ! Node: ScaledDecimal-storing501520 ! Node: Semaphore501757 ! Node: Semaphore class-instance creation502420 ! Node: Semaphore-accessing502792 ! Node: Semaphore-builtins503275 ! Node: Semaphore-mutual exclusion504614 ! Node: Semaphore-printing504947 ! Node: SequenceableCollection505176 ! Node: SequenceableCollection class-instance creation505878 ! Node: SequenceableCollection-basic506292 ! Node: SequenceableCollection-copying SequenceableCollections509713 ! Node: SequenceableCollection-enumerating511982 ! Node: SequenceableCollection-replacing items515173 ! Node: SequenceableCollection-testing516119 ! Node: Set516552 ! Node: Set-arithmetic516972 ! Node: Set-awful ST-80 compatibility hacks517300 ! Node: Set-comparing517660 ! Node: SharedQueue518054 ! Node: SharedQueue class-instance creation518576 ! Node: SharedQueue-accessing518944 ! Node: Signal519445 ! Node: Signal-accessing520070 ! Node: Signal-exception handling520919 ! Node: SingletonProxy523471 ! Node: SingletonProxy class-accessing524075 ! Node: SingletonProxy class-instance creation524439 ! Node: SingletonProxy-saving and restoring524879 ! Node: SmallInteger525305 ! Node: SmallInteger class-getting limits525992 ! Node: SmallInteger class-testing526477 ! Node: SmallInteger-bit arithmetic526772 ! Node: SmallInteger-built ins527049 ! Node: SmallInteger-builtins529353 ! Node: SmallInteger-coercion methods530103 ! Node: SmallInteger-testing functionality530458 ! Node: SortedCollection530690 ! Node: SortedCollection class-hacking531822 ! Node: SortedCollection class-instance creation532090 ! Node: SortedCollection-basic532602 ! Node: SortedCollection-copying533146 ! Node: SortedCollection-disabled533452 ! Node: SortedCollection-enumerating534305 ! Node: SortedCollection-saving and loading534634 ! Node: SortedCollection-searching534979 ! Node: Stream535565 ! Node: Stream-accessing-reading536507 ! Node: Stream-accessing-writing538273 ! Node: Stream-basic538827 ! Node: Stream-character writing539009 ! Node: Stream-enumerating539529 ! Node: Stream-filing out539763 ! Node: Stream-positioning540108 ! Node: Stream-printing540815 ! Node: Stream-providing consistent protocols541574 ! Node: Stream-storing541932 ! Node: Stream-testing542303 ! Node: String542586 ! Node: String class-basic543168 ! Node: String class-instance creation543484 ! Node: String-built ins543814 ! Node: String-converting545805 ! Node: String-storing546149 ! Node: String-testing functionality546385 ! Node: String-useful functionality546608 ! Node: Symbol546893 ! Node: Symbol class-built ins547719 ! Node: Symbol class-instance creation547933 ! Node: Symbol class-symbol table549071 ! Node: Symbol-basic550479 ! Node: Symbol-built ins551231 ! Node: Symbol-converting551539 ! Node: Symbol-misc551878 ! Node: Symbol-storing552041 ! Node: Symbol-testing552703 ! Node: Symbol-testing functionality552970 ! Node: SymLink553188 ! Node: SymLink class-instance creation553737 ! Node: SymLink-accessing554056 ! Node: SymLink-iteration554390 ! Node: SymLink-printing554604 ! Node: SystemDictionary554803 ! Node: SystemDictionary-basic555610 ! Node: SystemDictionary-builtins555890 ! Node: SystemDictionary-C functions557219 ! Node: SystemDictionary-miscellaneous557724 ! Node: SystemDictionary-printing558068 ! Node: SystemDictionary-special accessing558486 ! Node: SystemExceptions.AlreadyDefined559049 ! Node: SystemExceptions.AlreadyDefined-accessing559563 ! Node: SystemExceptions.ArgumentOutOfRange559814 ! Node: SystemExceptions.ArgumentOutOfRange class-signaling560402 ! Node: SystemExceptions.ArgumentOutOfRange-accessing560807 ! Node: SystemExceptions.BadReturn561384 ! Node: SystemExceptions.BadReturn-accessing561862 ! Node: SystemExceptions.CInterfaceError562105 ! Node: SystemExceptions.CInterfaceError-accessing562604 ! Node: SystemExceptions.EmptyCollection562871 ! Node: SystemExceptions.EmptyCollection-accessing563356 ! Node: SystemExceptions.EndOfStream563623 ! Node: SystemExceptions.EndOfStream class-signaling564112 ! Node: SystemExceptions.EndOfStream-accessing564451 ! Node: SystemExceptions.FileError564870 ! Node: SystemExceptions.FileError-accessing565347 ! Node: SystemExceptions.IndexOutOfRange565590 ! Node: SystemExceptions.IndexOutOfRange class-signaling566174 ! Node: SystemExceptions.IndexOutOfRange-accessing566539 ! Node: SystemExceptions.InvalidArgument567052 ! Node: SystemExceptions.InvalidArgument-accessing567547 ! Node: SystemExceptions.InvalidProcessState567803 ! Node: SystemExceptions.InvalidProcessState-accessing568332 ! Node: SystemExceptions.InvalidSize568615 ! Node: SystemExceptions.InvalidSize-accessing569080 ! Node: SystemExceptions.InvalidValue569331 ! Node: SystemExceptions.InvalidValue class-signaling569839 ! Node: SystemExceptions.InvalidValue-accessing570287 ! Node: SystemExceptions.MustBeBoolean570777 ! Node: SystemExceptions.MutationError571197 ! Node: SystemExceptions.MutationError-accessing571656 ! Node: SystemExceptions.NoRunnableProcess571915 ! Node: SystemExceptions.NoRunnableProcess-accessing572400 ! Node: SystemExceptions.NotFound572675 ! Node: SystemExceptions.NotFound class-accessing573189 ! Node: SystemExceptions.NotFound-accessing573563 ! Node: SystemExceptions.NotImplemented573852 ! Node: SystemExceptions.NotImplemented-accessing574308 ! Node: SystemExceptions.NotIndexable574571 ! Node: SystemExceptions.NotIndexable-accessing575032 ! Node: SystemExceptions.NotYetImplemented575287 ! Node: SystemExceptions.NotYetImplemented-accessing575797 ! Node: SystemExceptions.PrimitiveFailed576072 ! Node: SystemExceptions.PrimitiveFailed-accessing576555 ! Node: SystemExceptions.ProcessBeingTerminated576822 ! Node: SystemExceptions.ProcessBeingTerminated-accessing577256 ! Node: SystemExceptions.ProcessTerminated577551 ! Node: SystemExceptions.ProcessTerminated-accessing578074 ! Node: SystemExceptions.ReadOnlyObject578349 ! Node: SystemExceptions.ReadOnlyObject-accessing578828 ! Node: SystemExceptions.ShouldNotImplement579091 ! Node: SystemExceptions.ShouldNotImplement-accessing579619 ! Node: SystemExceptions.SubclassResponsibility579898 ! Node: SystemExceptions.SubclassResponsibility-accessing580466 ! Node: SystemExceptions.UserInterrupt580761 ! Node: SystemExceptions.UserInterrupt-accessing581211 ! Node: SystemExceptions.VMError581470 ! Node: SystemExceptions.VMError-accessing581894 ! Node: SystemExceptions.WrongArgumentCount582129 ! Node: SystemExceptions.WrongArgumentCount-accessing582683 ! Node: SystemExceptions.WrongClass582962 ! Node: SystemExceptions.WrongClass class-signaling583578 ! Node: SystemExceptions.WrongClass-accessing584233 ! Node: SystemExceptions.WrongMessageSent584885 ! Node: SystemExceptions.WrongMessageSent class-signaling585530 ! Node: SystemExceptions.WrongMessageSent-accessing585946 ! Node: TextCollector586534 ! Node: TextCollector class-accessing587232 ! Node: TextCollector-accessing587728 ! Node: TextCollector-printing588526 ! Node: TextCollector-set up588857 ! Node: TextCollector-storing589419 ! Node: Time589746 ! Node: Time class-basic (UTC)590525 ! Node: Time class-builtins590970 ! Node: Time class-clocks591994 ! Node: Time class-initialization592548 ! Node: Time class-instance creation592891 ! Node: Time-accessing (ANSI for DateAndTimes)593767 ! Node: Time-accessing (non ANSI & for Durations)594282 ! Node: Time-arithmetic594731 ! Node: Time-comparing595156 ! Node: TokenStream595440 ! Node: TokenStream class-instance creation596248 ! Node: TokenStream-basic596607 ! Node: TokenStream-write methods596928 ! Node: TrappableEvent597170 ! Node: TrappableEvent-enumerating597746 ! Node: TrappableEvent-instance creation598293 ! Node: True598622 ! Node: True-basic599000 ! Node: True-C hacks599949 ! Node: True-printing600108 ! Node: UndefinedObject600289 ! Node: UndefinedObject-basic601005 ! Node: UndefinedObject-class creation601273 ! Node: UndefinedObject-class creation - alternative603453 ! Node: UndefinedObject-CObject interoperability605740 ! Node: UndefinedObject-dependents access606073 ! Node: UndefinedObject-printing606421 ! Node: UndefinedObject-storing606700 ! Node: UndefinedObject-testing606975 ! Node: ValueAdaptor607810 ! Node: ValueAdaptor class-creating instances608294 ! Node: ValueAdaptor-accessing608581 ! Node: ValueAdaptor-printing608987 ! Node: ValueHolder609199 ! Node: ValueHolder class-creating instances609814 ! Node: ValueHolder-accessing610196 ! Node: ValueHolder-initializing610488 ! Node: VariableBinding610710 ! Node: VariableBinding-printing611342 ! Node: VariableBinding-saving and loading611656 ! Node: VariableBinding-storing612112 ! Node: VariableBinding-testing612399 ! Node: VersionableObjectProxy612656 ! Node: VersionableObjectProxy class-saving and restoring613552 ! Node: VersionableObjectProxy-saving and restoring614575 ! Node: VFS.ArchiveFileHandler614908 ! Node: VFS.ArchiveFileHandler class-registering615825 ! Node: VFS.ArchiveFileHandler-ArchiveMemberHandler protocol616279 ! Node: VFS.ArchiveFileHandler-directory operations617655 ! Node: VFS.ArchiveFileHandler-file operations618496 ! Node: VFS.ArchiveMemberHandler618782 ! Node: VFS.ArchiveMemberHandler-accessing619509 ! Node: VFS.ArchiveMemberHandler-directory operations620668 ! Node: VFS.ArchiveMemberHandler-file operations621288 ! Node: VFS.ArchiveMemberHandler-finalization621953 ! Node: VFS.ArchiveMemberHandler-initializing622445 ! Node: VFS.ArchiveMemberHandler-testing622978 ! Node: VFS.DecodedFileHandler623863 ! Node: VFS.DecodedFileHandler class-registering624404 ! Node: VFS.DecodedFileHandler-files625550 ! Node: VFS.ExternalArchiveFileHandler626244 ! Node: VFS.ExternalArchiveFileHandler class-registering627075 ! Node: VFS.ExternalArchiveFileHandler-ArchiveMemberHandler protocol627958 ! Node: VFS.ExternalArchiveFileHandler-members629278 ! Node: VFS.ExternalArchiveFileHandler-releasing629788 ! Node: VFS.RealFileHandler630137 ! Node: VFS.RealFileHandler class-C functions630880 ! Node: VFS.RealFileHandler class-initialization631161 ! Node: VFS.RealFileHandler-accessing631487 ! Node: VFS.RealFileHandler-directory operations632676 ! Node: VFS.RealFileHandler-file operations633171 ! Node: VFS.RealFileHandler-testing633712 ! Node: VFS.VFSHandler634455 ! Node: VFS.VFSHandler class-initializing635228 ! Node: VFS.VFSHandler class-instance creation636125 ! Node: VFS.VFSHandler-accessing636467 ! Node: VFS.VFSHandler-C functions637808 ! Node: VFS.VFSHandler-directory operations638943 ! Node: VFS.VFSHandler-file operations639531 ! Node: VFS.VFSHandler-testing640304 ! Node: Warning641144 ! Node: Warning-exception description641463 ! Node: WeakArray641666 ! Node: WeakArray class-instance creation642159 ! Node: WeakArray-accessing642482 ! Node: WeakArray-conversion644129 ! Node: WeakArray-loading644763 ! Node: WeakIdentitySet645027 ! Node: WeakKeyDictionary645489 ! Node: WeakKeyDictionary-accessing646038 ! Node: WeakKeyIdentityDictionary646541 ! Node: WeakSet647069 ! Node: WeakSet-accessing647525 ! Node: WeakValueIdentityDictionary648022 ! Node: WeakValueLookupTable648568 ! Node: WeakValueLookupTable-hacks649176 ! Node: WeakValueLookupTable-rehashing649732 ! Node: WordArray649954 ! Node: WriteStream650260 ! Node: WriteStream class-instance creation650786 ! Node: WriteStream-accessing651455 ! Node: WriteStream-accessing-writing651708 ! Node: WriteStream-positioning652298 ! Node: ZeroDivide652507 ! Node: ZeroDivide class-instance creation653000 ! Node: ZeroDivide-accessing653379 ! Node: ZeroDivide-description653631 ! Node: Class index653845 ! Node: Method index665682 ! Node: Cross-reference883898  End Tag Table diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-1 smalltalk-2.1.3/doc/gst-base.info-1 *** smalltalk-2.1.2/doc/gst-base.info-1 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-1 Sat Jun 28 12:27:12 2003 *************** *** 1,13 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Base classes: (gst-base). The GNU Smalltalk base classes. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 9 May 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. --- 1,13 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Base classes: (gst-base). The GNU Smalltalk base classes. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 28 June 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. *************** *** 31,38 **** This document describes the class libraries that are distributed together with the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 9 May 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. --- 31,38 ---- This document describes the class libraries that are distributed together with the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 28 June 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-10 smalltalk-2.1.3/doc/gst-base.info-10 *** smalltalk-2.1.2/doc/gst-base.info-10 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-10 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 75,82 **** newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. Pass an error message to ! aBlock if any of the packages needs prerequisites which are not ! defined. fileInPackage: package File in the given package into GNU Smalltalk. --- 75,82 ---- newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. Pass an error message to ! aBlock if one or more packages need prerequisites which are not ! available. fileInPackage: package File in the given package into GNU Smalltalk. diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-11 smalltalk-2.1.3/doc/gst-base.info-11 *** smalltalk-2.1.2/doc/gst-base.info-11 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-11 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 490,499 **** ----------------------------------- anyOne ! Answer an unspecified element of the collection. Example usage: ! ^coll inject: coll anyOne into: [ :max :each | max max: each ] to ! be used when you don't have a valid lowest-possible-value (which ! happens in common cases too, such as with arbitrary numbers do: aBlock Evaluate aBlock for all the elements in the sequenceable collection --- 490,496 ---- ----------------------------------- anyOne ! Answer an unspecified element of the collection. do: aBlock Evaluate aBlock for all the elements in the sequenceable collection *************** *** 1574,1577 **** --- 1571,1589 ---- size Answer the size of the receiver + +  + File: gst-base.info, Node: String-converting, Next: String-storing, Prev: String-built ins, Up: String + + String: converting + ------------------ + + asByteArray + Return the receiver, converted to a ByteArray of ASCII values + + asString + But I already am a String! Really! + + asSymbol + Returns the symbol corresponding to the receiver diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-12 smalltalk-2.1.3/doc/gst-base.info-12 *** smalltalk-2.1.2/doc/gst-base.info-12 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-12 Sat Jun 28 12:27:12 2003 *************** *** 1,25 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Base classes: (gst-base). The GNU Smalltalk base classes. END-INFO-DIR-ENTRY - -  - File: gst-base.info, Node: String-converting, Next: String-storing, Prev: String-built ins, Up: String - - String: converting - ------------------ - - asByteArray - Return the receiver, converted to a ByteArray of ASCII values - - asString - But I already am a String! Really! - - asSymbol - Returns the symbol corresponding to the receiver  File: gst-base.info, Node: String-storing, Next: String-testing functionality, Prev: String-converting, Up: String --- 1,10 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Base classes: (gst-base). The GNU Smalltalk base classes. END-INFO-DIR-ENTRY  File: gst-base.info, Node: String-storing, Next: String-testing functionality, Prev: String-converting, Up: String diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-13 smalltalk-2.1.3/doc/gst-base.info-13 *** smalltalk-2.1.2/doc/gst-base.info-13 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-13 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 950,958 **** vfsFor: file name: fsName subPath: subPath Create a temporary file and use it to construct the contents of ! the given file, under the virtual filesystem fsName. subPath must ! be nil because this class supports single-file virtual filesystems ! only.  File: gst-base.info, Node: VFS.ExternalArchiveFileHandler-ArchiveMemberHandler protocol, Next: VFS.ExternalArchiveFileHandler-members, Prev: VFS.ExternalArchiveFileHandler class-registering, Up: VFS.ExternalArchiveFileHandler --- 950,956 ---- vfsFor: file name: fsName subPath: subPath Create a temporary file and use it to construct the contents of ! the given file, under the virtual filesystem fsName.  File: gst-base.info, Node: VFS.ExternalArchiveFileHandler-ArchiveMemberHandler protocol, Next: VFS.ExternalArchiveFileHandler-members, Prev: VFS.ExternalArchiveFileHandler class-registering, Up: VFS.ExternalArchiveFileHandler diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-14 smalltalk-2.1.3/doc/gst-base.info-14 *** smalltalk-2.1.2/doc/gst-base.info-14 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-14 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-15 smalltalk-2.1.3/doc/gst-base.info-15 *** smalltalk-2.1.2/doc/gst-base.info-15 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-15 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 322,327 **** --- 322,328 ---- * allocMatches: ObjectMemory-accessing. * allocProbes: ObjectMemory-accessing. * allocSplits: ObjectMemory-accessing. + * allOwners: Object-built ins. * allSatisfy_: Collection-enumeration. * allSelectors: Behavior-accessing the methodDictionary. * allSharedPools <1>: Metaclass-delegation. *************** *** 1223,1228 **** --- 1224,1230 ---- * fminNormalized <1>: FloatQ class-characterization. * fminNormalized <2>: FloatE class-characterization. * fminNormalized: FloatD class-characterization. + * fold_: Collection-enumeration. * fopen_mode_: FileDescriptor class-instance creation. * fopen_mode_ifFail_: FileDescriptor class-instance creation. * for_: VFS.VFSHandler class-instance creation. *************** *** 1589,1596 **** * isLowercase: Character-testing. * isMemberOf_: Object-testing functionality. * isMeta: Object-testing functionality. * isMetaClass: Object-testing functionality. - * isMetaclass <1>: Object-testing functionality. * isMetaclass: Metaclass-testing functionality. * isNamespace <1>: Object-testing functionality. * isNamespace: AbstractNamespace-testing. --- 1591,1598 ---- * isLowercase: Character-testing. * isMemberOf_: Object-testing functionality. * isMeta: Object-testing functionality. + * isMetaclass: Object-testing functionality. * isMetaClass: Object-testing functionality. * isMetaclass: Metaclass-testing functionality. * isNamespace <1>: Object-testing functionality. * isNamespace: AbstractNamespace-testing. *************** *** 2841,2848 **** * subclassResponsibility: Object-built ins. * subspaces: AbstractNamespace-namespace hierarchy. * subspacesDo_: AbstractNamespace-namespace hierarchy. - * substrings: CharacterArray-string processing. * subStrings: CharacterArray-string processing. * subStrings_: CharacterArray-string processing. * substrings_: CharacterArray-string processing. * subtractDate_: Date-basic. --- 2843,2850 ---- * subclassResponsibility: Object-built ins. * subspaces: AbstractNamespace-namespace hierarchy. * subspacesDo_: AbstractNamespace-namespace hierarchy. * subStrings: CharacterArray-string processing. + * substrings: CharacterArray-string processing. * subStrings_: CharacterArray-string processing. * substrings_: CharacterArray-string processing. * subtractDate_: Date-basic. diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-16 smalltalk-2.1.3/doc/gst-base.info-16 *** smalltalk-2.1.2/doc/gst-base.info-16 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-16 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-2 smalltalk-2.1.3/doc/gst-base.info-2 *** smalltalk-2.1.2/doc/gst-base.info-2 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-2 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 1269,1275 **** Category: Language-Processes I represent a unit of computation for which external C code requested execution, so I must store the returned value once my ! computation terminates. I am otherwise equivalent to a Process. * Menu: --- 1269,1277 ---- Category: Language-Processes I represent a unit of computation for which external C code requested execution, so I must store the returned value once my ! computation terminates and I must not survive across image saves ! (since those who invoked me no longer exist). I am otherwise ! equivalent to a Process. * Menu: diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-3 smalltalk-2.1.3/doc/gst-base.info-3 *** smalltalk-2.1.2/doc/gst-base.info-3 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-3 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 727,743 **** Either return myself, or a copy shortened to smallSize characters by inserting an ellipsis (three dots: ...) - subStrings - Answer an OrderedCollection of substrings of the receiver. A new - substring start at the start of the receiver, or after every - sequence of white space characters - substrings Answer an OrderedCollection of substrings of the receiver. A new substring start at the start of the receiver, or after every sequence of white space characters. This message is preserved for backwards compatibility; the ANSI standard mandates `subStrings', with an uppercase s. substrings: aCharacter Answer an OrderedCollection of substrings of the receiver. A new --- 727,743 ---- Either return myself, or a copy shortened to smallSize characters by inserting an ellipsis (three dots: ...) substrings Answer an OrderedCollection of substrings of the receiver. A new substring start at the start of the receiver, or after every sequence of white space characters. This message is preserved for backwards compatibility; the ANSI standard mandates `subStrings', with an uppercase s. + + subStrings + Answer an OrderedCollection of substrings of the receiver. A new + substring start at the start of the receiver, or after every + sequence of white space characters substrings: aCharacter Answer an OrderedCollection of substrings of the receiver. A new diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-4 smalltalk-2.1.3/doc/gst-base.info-4 *** smalltalk-2.1.2/doc/gst-base.info-4 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-4 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 72,81 **** Answer true if none does, false otherwise. anyOne ! Answer an unspecified element of the collection. Example usage: ! ^coll inject: coll anyOne into: [ :max :each | max max: each ] to ! be used when you don't have a valid lowest-possible-value (which ! happens in common cases too, such as with arbitrary numbers anySatisfy: aBlock Search the receiver for an element for which aBlock returns true. --- 72,78 ---- Answer true if none does, false otherwise. anyOne ! Answer an unspecified element of the collection. anySatisfy: aBlock Search the receiver for an element for which aBlock returns true. *************** *** 120,127 **** Enumerate each object of the receiver, passing them to aBlock. Between every two invocations of aBlock, invoke separatorBlock inject: thisValue into: binaryBlock ! Pass to binaryBlock receiver thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation. --- 117,131 ---- Enumerate each object of the receiver, passing them to aBlock. Between every two invocations of aBlock, invoke separatorBlock + fold: binaryBlock + First, pass to binaryBlock the first and second elements of the + receiver; for each subsequent element, pass the result of the + previous evaluation and an element. Answer the result of the last + invocation, or the first element if the collection has size 1. + Fail if the collection is empty. + inject: thisValue into: binaryBlock ! First, pass to binaryBlock thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation. diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-5 smalltalk-2.1.3/doc/gst-base.info-5 *** smalltalk-2.1.2/doc/gst-base.info-5 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-5 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-6 smalltalk-2.1.3/doc/gst-base.info-6 *** smalltalk-2.1.2/doc/gst-base.info-6 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-6 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-7 smalltalk-2.1.3/doc/gst-base.info-7 *** smalltalk-2.1.2/doc/gst-base.info-7 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-7 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-8 smalltalk-2.1.3/doc/gst-base.info-8 *** smalltalk-2.1.2/doc/gst-base.info-8 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-8 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-base.info-9 smalltalk-2.1.3/doc/gst-base.info-9 *** smalltalk-2.1.2/doc/gst-base.info-9 Fri May 9 10:56:12 2003 --- smalltalk-2.1.3/doc/gst-base.info-9 Sat Jun 28 12:27:12 2003 *************** *** 1,5 **** This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-base.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-base-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 228,233 **** --- 228,236 ---- Answer whether the receiver is the same object as arg. This is a very fast test and is called 'identity' + allOwners + Return an Array of Objects that point to the receiver. + asOop Answer the object index associated to the receiver. The object index doesn't change when garbage collection is performed. *************** *** 776,786 **** isMeta Same as isMetaclass - isMetaclass - Answer `false'. - isMetaClass Same as isMetaclass isNamespace Answer `false'. --- 779,789 ---- isMeta Same as isMetaclass isMetaClass Same as isMetaclass + + isMetaclass + Answer `false'. isNamespace Answer `false'. diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info smalltalk-2.1.3/doc/gst-libs.info *** smalltalk-2.1.2/doc/gst-libs.info Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 8,377 ****  Indirect: ! gst-libs.info-1: 257 ! gst-libs.info-2: 49153 ! gst-libs.info-3: 96778 ! gst-libs.info-4: 144730 ! gst-libs.info-5: 181071 ! gst-libs.info-6: 230617 ! gst-libs.info-7: 280341 ! gst-libs.info-8: 326410 ! gst-libs.info-9: 346450 ! gst-libs.info-10: 428510  Tag Table: (Indirect) ! Node: Top257 ! Node: BLOX2286 ! Node: BLOX.BArc4828 ! Node: BLOX.BArc-accessing5133 ! Node: BLOX.BBalloon6666 ! Node: BLOX.BBalloon class-accessing7130 ! Node: BLOX.BBalloon-accessing7545 ! Node: BLOX.BBalloon-initializing7928 ! Node: BLOX.BBoundingBox8165 ! Node: BLOX.BBoundingBox-accessing8628 ! Node: BLOX.BButton11356 ! Node: BLOX.BButton class-instance creation11823 ! Node: BLOX.BButton-accessing12158 ! Node: BLOX.BButtonLike16330 ! Node: BLOX.BButtonLike-accessing16669 ! Node: BLOX.BCanvas17457 ! Node: BLOX.BCanvas-accessing18215 ! Node: BLOX.BCanvas-geometry management19058 ! Node: BLOX.BCanvas-widget protocol20764 ! Node: BLOX.BCanvasObject21976 ! Node: BLOX.BCanvasObject class-instance creation22510 ! Node: BLOX.BCanvasObject-accessing22914 ! Node: BLOX.BCanvasObject-widget protocol24851 ! Node: BLOX.BCheckMenuItem26123 ! Node: BLOX.BCheckMenuItem class-instance creation26562 ! Node: BLOX.BCheckMenuItem-accessing26872 ! Node: BLOX.BColorButton27321 ! Node: BLOX.BColorButton-accessing27742 ! Node: BLOX.BContainer28196 ! Node: BLOX.BContainer-accessing28633 ! Node: BLOX.BDialog29285 ! Node: BLOX.BDialog class-instance creation29898 ! Node: BLOX.BDialog class-prompters30800 ! Node: BLOX.BDialog-accessing34322 ! Node: BLOX.BDialog-widget protocol35515 ! Node: BLOX.BDropDown36402 ! Node: BLOX.BDropDown-accessing37324 ! Node: BLOX.BDropDown-callbacks42573 ! Node: BLOX.BDropDown-flexibility43184 ! Node: BLOX.BDropDown-list box accessing44664 ! Node: BLOX.BDropDown-widget protocol47699 ! Node: BLOX.BDropDownEdit48627 ! Node: BLOX.BDropDownEdit-accessing49153 ! Node: BLOX.BDropDownEdit-accessing-overrides51302 ! Node: BLOX.BDropDownEdit-text accessing51604 ! Node: BLOX.BDropDownList52999 ! Node: BLOX.BDropDownList-accessing53538 ! Node: BLOX.BDropDownList-callbacks56210 ! Node: BLOX.BDropDownList-list box accessing56895 ! Node: BLOX.BEdit57320 ! Node: BLOX.BEdit class-instance creation57727 ! Node: BLOX.BEdit-accessing58050 ! Node: BLOX.BEdit-widget protocol62398 ! Node: BLOX.BEmbeddedImage64361 ! Node: BLOX.BEmbeddedImage-accessing64702 ! Node: BLOX.BEmbeddedText65636 ! Node: BLOX.BEmbeddedText-accessing65988 ! Node: BLOX.BEventSet68918 ! Node: BLOX.BEventSet class-initializing69606 ! Node: BLOX.BEventSet-accessing70059 ! Node: BLOX.BEventSet-initializing70333 ! Node: BLOX.BEventTarget70701 ! Node: BLOX.BEventTarget-intercepting events71062 ! Node: BLOX.BExtended77143 ! Node: BLOX.BExtended-accessing77951 ! Node: BLOX.BExtended-customization78200 ! Node: BLOX.BForm79199 ! Node: BLOX.BForm-accessing79562 ! Node: BLOX.BImage80994 ! Node: BLOX.BImage class-arrows81569 ! Node: BLOX.BImage class-GNU82056 ! Node: BLOX.BImage class-icons82295 ! Node: BLOX.BImage class-instance creation82793 ! Node: BLOX.BImage class-small icons83536 ! Node: BLOX.BImage-accessing83903 ! Node: BLOX.BImage-image management87016 ! Node: BLOX.BImage-widget protocol89527 ! Node: BLOX.BLabel89821 ! Node: BLOX.BLabel class-initialization90203 ! Node: BLOX.BLabel class-instance creation90468 ! Node: BLOX.BLabel-accessing90838 ! Node: BLOX.BLine95522 ! Node: BLOX.BLine-accessing95858 ! Node: BLOX.BList96413 ! Node: BLOX.BList-accessing96778 ! Node: BLOX.BList-widget protocol108659 ! Node: BLOX.Blox110027 ! Node: BLOX.Blox class-event dispatching111105 ! Node: BLOX.Blox class-instance creation112381 ! Node: BLOX.Blox class-utility112816 ! Node: BLOX.Blox-accessing115938 ! Node: BLOX.Blox-basic117277 ! Node: BLOX.Blox-creating children117859 ! Node: BLOX.Blox-customization118865 ! Node: BLOX.Blox-widget protocol119647 ! Node: BLOX.BMenu121893 ! Node: BLOX.BMenu class-instance creation122281 ! Node: BLOX.BMenu-accessing122683 ! Node: BLOX.BMenu-callback registration123517 ! Node: BLOX.BMenuBar124600 ! Node: BLOX.BMenuBar-accessing124925 ! Node: BLOX.BMenuItem125145 ! Node: BLOX.BMenuItem class-instance creation125625 ! Node: BLOX.BMenuItem-accessing126014 ! Node: BLOX.BMenuObject126827 ! Node: BLOX.BMenuObject-accessing127216 ! Node: BLOX.BMenuObject-callback129540 ! Node: BLOX.BOval130481 ! Node: BLOX.BPolyline130795 ! Node: BLOX.BPolyline-accessing131124 ! Node: BLOX.BPopupMenu133446 ! Node: BLOX.BPopupMenu-widget protocol133853 ! Node: BLOX.BPopupWindow134055 ! Node: BLOX.BPopupWindow-geometry management134648 ! Node: BLOX.BPrimitive136701 ! Node: BLOX.BPrimitive-accessing137082 ! Node: BLOX.BProgress137298 ! Node: BLOX.BProgress-accessing137620 ! Node: BLOX.BRadioButton138851 ! Node: BLOX.BRadioButton-accessing139190 ! Node: BLOX.BRadioGroup140063 ! Node: BLOX.BRadioGroup-accessing140686 ! Node: BLOX.BRadioGroup-widget protocol141146 ! Node: BLOX.BRectangle141461 ! Node: BLOX.BRectangle-accessing141799 ! Node: BLOX.BScrolledCanvas142272 ! Node: BLOX.BSpline142691 ! Node: BLOX.BSpline-accessing143018 ! Node: BLOX.BText143434 ! Node: BLOX.BText class-accessing144049 ! Node: BLOX.BText class-instance creation144377 ! Node: BLOX.BText-accessing144730 ! Node: BLOX.BText-attributes150562 ! Node: BLOX.BText-geometry management151818 ! Node: BLOX.BText-images153382 ! Node: BLOX.BText-inserting text155049 ! Node: BLOX.BText-position & lines157050 ! Node: BLOX.BTextAttributes158842 ! Node: BLOX.BTextAttributes class-instance-creation shortcuts159298 ! Node: BLOX.BTextAttributes-colors162142 ! Node: BLOX.BTextAttributes-setting attributes163216 ! Node: BLOX.BTextBindings167355 ! Node: BLOX.BTextBindings class-instance creation167889 ! Node: BLOX.BTextTags168126 ! Node: BLOX.BToggle168485 ! Node: BLOX.BToggle-accessing168864 ! Node: BLOX.BTransientWindow169747 ! Node: BLOX.BTransientWindow class-instance creation170256 ! Node: BLOX.BTransientWindow-widget protocol170860 ! Node: BLOX.BViewport171437 ! Node: BLOX.BViewport-accessing171868 ! Node: BLOX.BViewport-scrollbars172113 ! Node: BLOX.BWidget173058 ! Node: BLOX.BWidget class-popups173617 ! Node: BLOX.BWidget-accessing174857 ! Node: BLOX.BWidget-customization179457 ! Node: BLOX.BWidget-geometry management181071 ! Node: BLOX.BWidget-widget protocol197562 ! Node: BLOX.BWindow199587 ! Node: BLOX.BWindow class-instance creation200030 ! Node: BLOX.BWindow-accessing200452 ! Node: BLOX.BWindow-widget protocol203159 ! Node: BLOX.Gui207854 ! Node: BLOX.Gui-accessing208244 ! Node: TCP208490 ! Node: TCP.AbstractSocket209830 ! Node: TCP.AbstractSocket class-defaults210435 ! Node: TCP.AbstractSocket class-instance creation211308 ! Node: TCP.AbstractSocket class-timed-out operations211890 ! Node: TCP.AbstractSocket-accessing212868 ! Node: TCP.AbstractSocket-printing214000 ! Node: TCP.AbstractSocket-socket options214295 ! Node: TCP.AbstractSocket-stream protocol215215 ! Node: TCP.AbstractSocket-testing215775 ! Node: TCP.AbstractSocketImpl216038 ! Node: TCP.AbstractSocketImpl class-abstract216619 ! Node: TCP.AbstractSocketImpl class-socket creation217064 ! Node: TCP.AbstractSocketImpl-accessing217393 ! Node: TCP.AbstractSocketImpl-asynchronous operations218541 ! Node: TCP.AbstractSocketImpl-socket operations219270 ! Node: TCP.AbstractSocketImpl-socket options221223 ! Node: TCP.Datagram223184 ! Node: TCP.Datagram class-instance creation223494 ! Node: TCP.Datagram-accessing224792 ! Node: TCP.DatagramSocket225812 ! Node: TCP.DatagramSocket class-accessing226310 ! Node: TCP.DatagramSocket class-initialization226946 ! Node: TCP.DatagramSocket class-instance creation227295 ! Node: TCP.DatagramSocket-accessing228297 ! Node: TCP.DatagramSocket-direct operations229187 ! Node: TCP.DatagramSocketImpl229489 ! Node: TCP.DatagramSocketImpl class-parameters229911 ! Node: TCP.DatagramSocketImpl-accessing230199 ! Node: TCP.DatagramSocketImpl-socket operations230617 ! Node: TCP.ICMPSocketImpl231756 ! Node: TCP.ICMPSocketImpl class-implementation232054 ! Node: TCP.IPAddress232337 ! Node: TCP.IPAddress class-constants232790 ! Node: TCP.IPAddress class-initialization233100 ! Node: TCP.IPAddress class-instance creation233800 ! Node: TCP.IPAddress-accessing237662 ! Node: TCP.IPAddress-printing238787 ! Node: TCP.MulticastSocket239001 ! Node: TCP.MulticastSocket-instance creation239303 ! Node: TCP.MulticastSocketImpl240121 ! Node: TCP.MulticastSocketImpl-multicasting240440 ! Node: TCP.OOBSocketImpl241214 ! Node: TCP.OOBSocketImpl class-implementation241567 ! Node: TCP.OOBSocketImpl-implementation241886 ! Node: TCP.RawSocketImpl242280 ! Node: TCP.RawSocketImpl class-parameters242571 ! Node: TCP.ReadBuffer242798 ! Node: TCP.ReadBuffer class-instance creation243260 ! Node: TCP.ReadBuffer-buffer handling243716 ! Node: TCP.ServerSocket244603 ! Node: TCP.ServerSocket class-instance creation244973 ! Node: TCP.ServerSocket-accessing246434 ! Node: TCP.ServerSocket-initializing247344 ! Node: TCP.Socket247724 ! Node: TCP.Socket class-accessing248273 ! Node: TCP.Socket class-instance creation249063 ! Node: TCP.Socket class-tests249892 ! Node: TCP.Socket class-well known ports251438 ! Node: TCP.Socket-accessing253513 ! Node: TCP.Socket-out-of-band data253811 ! Node: TCP.Socket-printing254108 ! Node: TCP.Socket-stream protocol254363 ! Node: TCP.SocketAddress256443 ! Node: TCP.SocketAddress class-abstract256906 ! Node: TCP.SocketAddress class-accessing257335 ! Node: TCP.SocketAddress class-host name lookup259328 ! Node: TCP.SocketAddress class-initialization260119 ! Node: TCP.SocketAddress-accessing261314 ! Node: TCP.SocketImpl262306 ! Node: TCP.SocketImpl class-parameters262677 ! Node: TCP.SocketImpl-abstract262924 ! Node: TCP.SocketImpl-socket operations263242 ! Node: TCP.TCPSocketImpl263669 ! Node: TCP.TCPSocketImpl class-implementation264005 ! Node: TCP.TCPSocketImpl-implementation264324 ! Node: TCP.UDPSocketImpl264638 ! Node: TCP.UDPSocketImpl class-implementation264982 ! Node: TCP.UDPSocketImpl-multicasting265299 ! Node: TCP.WriteBuffer266192 ! Node: TCP.WriteBuffer-buffer handling266596 ! Node: I18N267035 ! Node: I18N.BigEndianFileStream269596 ! Node: I18N.EncodedStream269944 ! Node: I18N.EncodedStream class-initializing270472 ! Node: I18N.EncodedStream class-instance creation271342 ! Node: I18N.Encoder272251 ! Node: I18N.Encoder class-instance creation272803 ! Node: I18N.Encoder-stream operations273226 ! Node: I18N.Encoders.ComposeUCS4BE274281 ! Node: I18N.Encoders.ComposeUCS4BE-stream operation274806 ! Node: I18N.Encoders.ComposeUCS4LE275142 ! Node: I18N.Encoders.ComposeUCS4LE-stream operation275680 ! Node: I18N.Encoders.FromUCS4276019 ! Node: I18N.Encoders.FromUCS4-stream operation276526 ! Node: I18N.Encoders.FromUTF7276798 ! Node: I18N.Encoders.FromUTF7 class-initialization277179 ! Node: I18N.Encoders.FromUTF7-converting277490 ! Node: I18N.Encoders.Iconv278161 ! Node: I18N.Encoders.Iconv-stream operation278835 ! Node: I18N.Encoders.SplitUCS4BE279231 ! Node: I18N.Encoders.SplitUCS4BE-stream operation279771 ! Node: I18N.Encoders.SplitUCS4LE280341 ! Node: I18N.Encoders.SplitUCS4LE-stream operation280885 ! Node: I18N.Encoders.ToUCS4281455 ! Node: I18N.Encoders.ToUCS4-stream operation281987 ! Node: I18N.Encoders.ToUTF7282262 ! Node: I18N.Encoders.ToUTF7 class-initialization282771 ! Node: I18N.Encoders.ToUTF7-conversion283072 ! Node: I18N.FileStreamSegment283507 ! Node: I18N.FileStreamSegment-basic283933 ! Node: I18N.IncompleteSequenceError284238 ! Node: I18N.IncompleteSequenceError-accessing284791 ! Node: I18N.InvalidCharsetError285042 ! Node: I18N.InvalidCharsetError-accessing285475 ! Node: I18N.InvalidSequenceError285710 ! Node: I18N.InvalidSequenceError-accessing286131 ! Node: I18N.LcMessages286370 ! Node: I18N.LcMessages class-accessing286816 ! Node: I18N.LcMessages-accessing287188 ! Node: I18N.LcMessages-opening MO files287912 ! Node: I18N.LcMessagesCatalog288695 ! Node: I18N.LcMessagesDomain289060 ! Node: I18N.LcMessagesDomain class-opening MO files290160 ! Node: I18N.LcMessagesDomain-handling the cache290536 ! Node: I18N.LcMessagesDomain-querying291060 ! Node: I18N.LcMessagesDummyDomain292168 ! Node: I18N.LcMessagesMoFileVersion0292577 ! Node: I18N.LcMessagesMoFileVersion0 class-documentation293260 ! Node: I18N.LcMessagesMoFileVersion0 class-plurals301206 ! Node: I18N.LcMessagesMoFileVersion0-flushing the cache301841 ! Node: I18N.LcMessagesTerritoryDomain302267 ! Node: I18N.LcMessagesTerritoryDomain class-instance creation302731 ! Node: I18N.LcMonetary303096 ! Node: I18N.LcMonetary class-accessing303620 ! Node: I18N.LcMonetary-printing303991 ! Node: I18N.LcMonetaryISO304775 ! Node: I18N.LcMonetaryISO class-accessing305058 ! Node: I18N.LcNumeric305319 ! Node: I18N.LcNumeric class-accessing305784 ! Node: I18N.LcNumeric-printing306150 ! Node: I18N.LcPrintFormats306639 ! Node: I18N.LcPrintFormats-printing307192 ! Node: I18N.LcTime307687 ! Node: I18N.LcTime class-accessing308175 ! Node: I18N.LcTime-printing308526 ! Node: I18N.LcTime-tests310811 ! Node: I18N.Locale311030 ! Node: I18N.Locale class-initialization311685 ! Node: I18N.Locale class-instance creation312058 ! Node: I18N.Locale-subobjects312696 ! Node: I18N.LocaleConventions313322 ! Node: I18N.LocaleConventions class-accessing313758 ! Node: I18N.LocaleConventions-accessing314467 ! Node: I18N.LocaleData314783 ! Node: I18N.LocaleData class-accessing315285 ! Node: I18N.LocaleData class-database316341 ! Node: I18N.LocaleData-accessing316797 ! Node: I18N.LocaleData-initialization317955 ! Node: I18N.RTEAlternativeNode318340 ! Node: I18N.RTEAlternativeNode class-compiling318704 ! Node: I18N.RTEAlternativeNode-computing319109 ! Node: I18N.RTEBinaryNode319670 ! Node: I18N.RTEBinaryNode class-compiling320063 ! Node: I18N.RTEBinaryNode-compiling320416 ! Node: I18N.RTEBinaryNode-computing320712 ! Node: I18N.RTELiteralNode321239 ! Node: I18N.RTELiteralNode class-initializing321591 ! Node: I18N.RTELiteralNode-computing321889 ! Node: I18N.RTENegationNode322304 ! Node: I18N.RTENegationNode class-initializing322663 ! Node: I18N.RTENegationNode-computing322963 ! Node: I18N.RTEParameterNode323405 ! Node: I18N.RTEParameterNode-computing323717 ! Node: I18N.RunTimeExpression324019 ! Node: I18N.RunTimeExpression class-compiling324456 ! Node: I18N.RunTimeExpression class-initializing325065 ! Node: I18N.RunTimeExpression class-instance creation325425 ! Node: I18N.RunTimeExpression-computing325785 ! Node: XML326195 ! Node: Building a DOM from XML326410 ! Node: Building XML331793 ! Node: Using DTDs334961 ! Node: XSL Processing338215 ! Node: Attributions339640 ! Node: Class index339979 ! Node: Method index346450 ! Node: Cross-reference428510  End Tag Table --- 8,377 ----  Indirect: ! gst-libs.info-1: 264 ! gst-libs.info-2: 49162 ! gst-libs.info-3: 96787 ! gst-libs.info-4: 144739 ! gst-libs.info-5: 181080 ! gst-libs.info-6: 230626 ! gst-libs.info-7: 280350 ! gst-libs.info-8: 326419 ! gst-libs.info-9: 346459 ! gst-libs.info-10: 428519  Tag Table: (Indirect) ! Node: Top264 ! Node: BLOX2295 ! Node: BLOX.BArc4837 ! Node: BLOX.BArc-accessing5142 ! Node: BLOX.BBalloon6675 ! Node: BLOX.BBalloon class-accessing7139 ! Node: BLOX.BBalloon-accessing7554 ! Node: BLOX.BBalloon-initializing7937 ! Node: BLOX.BBoundingBox8174 ! Node: BLOX.BBoundingBox-accessing8637 ! Node: BLOX.BButton11365 ! Node: BLOX.BButton class-instance creation11832 ! Node: BLOX.BButton-accessing12167 ! Node: BLOX.BButtonLike16339 ! Node: BLOX.BButtonLike-accessing16678 ! Node: BLOX.BCanvas17466 ! Node: BLOX.BCanvas-accessing18224 ! Node: BLOX.BCanvas-geometry management19067 ! Node: BLOX.BCanvas-widget protocol20773 ! Node: BLOX.BCanvasObject21985 ! Node: BLOX.BCanvasObject class-instance creation22519 ! Node: BLOX.BCanvasObject-accessing22923 ! Node: BLOX.BCanvasObject-widget protocol24860 ! Node: BLOX.BCheckMenuItem26132 ! Node: BLOX.BCheckMenuItem class-instance creation26571 ! Node: BLOX.BCheckMenuItem-accessing26881 ! Node: BLOX.BColorButton27330 ! Node: BLOX.BColorButton-accessing27751 ! Node: BLOX.BContainer28205 ! Node: BLOX.BContainer-accessing28642 ! Node: BLOX.BDialog29294 ! Node: BLOX.BDialog class-instance creation29907 ! Node: BLOX.BDialog class-prompters30809 ! Node: BLOX.BDialog-accessing34331 ! Node: BLOX.BDialog-widget protocol35524 ! Node: BLOX.BDropDown36411 ! Node: BLOX.BDropDown-accessing37333 ! Node: BLOX.BDropDown-callbacks42582 ! Node: BLOX.BDropDown-flexibility43193 ! Node: BLOX.BDropDown-list box accessing44673 ! Node: BLOX.BDropDown-widget protocol47708 ! Node: BLOX.BDropDownEdit48636 ! Node: BLOX.BDropDownEdit-accessing49162 ! Node: BLOX.BDropDownEdit-accessing-overrides51311 ! Node: BLOX.BDropDownEdit-text accessing51613 ! Node: BLOX.BDropDownList53008 ! Node: BLOX.BDropDownList-accessing53547 ! Node: BLOX.BDropDownList-callbacks56219 ! Node: BLOX.BDropDownList-list box accessing56904 ! Node: BLOX.BEdit57329 ! Node: BLOX.BEdit class-instance creation57736 ! Node: BLOX.BEdit-accessing58059 ! Node: BLOX.BEdit-widget protocol62407 ! Node: BLOX.BEmbeddedImage64370 ! Node: BLOX.BEmbeddedImage-accessing64711 ! Node: BLOX.BEmbeddedText65645 ! Node: BLOX.BEmbeddedText-accessing65997 ! Node: BLOX.BEventSet68927 ! Node: BLOX.BEventSet class-initializing69615 ! Node: BLOX.BEventSet-accessing70068 ! Node: BLOX.BEventSet-initializing70342 ! Node: BLOX.BEventTarget70710 ! Node: BLOX.BEventTarget-intercepting events71071 ! Node: BLOX.BExtended77152 ! Node: BLOX.BExtended-accessing77960 ! Node: BLOX.BExtended-customization78209 ! Node: BLOX.BForm79208 ! Node: BLOX.BForm-accessing79571 ! Node: BLOX.BImage81003 ! Node: BLOX.BImage class-arrows81578 ! Node: BLOX.BImage class-GNU82065 ! Node: BLOX.BImage class-icons82304 ! Node: BLOX.BImage class-instance creation82802 ! Node: BLOX.BImage class-small icons83545 ! Node: BLOX.BImage-accessing83912 ! Node: BLOX.BImage-image management87025 ! Node: BLOX.BImage-widget protocol89536 ! Node: BLOX.BLabel89830 ! Node: BLOX.BLabel class-initialization90212 ! Node: BLOX.BLabel class-instance creation90477 ! Node: BLOX.BLabel-accessing90847 ! Node: BLOX.BLine95531 ! Node: BLOX.BLine-accessing95867 ! Node: BLOX.BList96422 ! Node: BLOX.BList-accessing96787 ! Node: BLOX.BList-widget protocol108668 ! Node: BLOX.Blox110036 ! Node: BLOX.Blox class-event dispatching111114 ! Node: BLOX.Blox class-instance creation112390 ! Node: BLOX.Blox class-utility112825 ! Node: BLOX.Blox-accessing115947 ! Node: BLOX.Blox-basic117286 ! Node: BLOX.Blox-creating children117868 ! Node: BLOX.Blox-customization118874 ! Node: BLOX.Blox-widget protocol119656 ! Node: BLOX.BMenu121902 ! Node: BLOX.BMenu class-instance creation122290 ! Node: BLOX.BMenu-accessing122692 ! Node: BLOX.BMenu-callback registration123526 ! Node: BLOX.BMenuBar124609 ! Node: BLOX.BMenuBar-accessing124934 ! Node: BLOX.BMenuItem125154 ! Node: BLOX.BMenuItem class-instance creation125634 ! Node: BLOX.BMenuItem-accessing126023 ! Node: BLOX.BMenuObject126836 ! Node: BLOX.BMenuObject-accessing127225 ! Node: BLOX.BMenuObject-callback129549 ! Node: BLOX.BOval130490 ! Node: BLOX.BPolyline130804 ! Node: BLOX.BPolyline-accessing131133 ! Node: BLOX.BPopupMenu133455 ! Node: BLOX.BPopupMenu-widget protocol133862 ! Node: BLOX.BPopupWindow134064 ! Node: BLOX.BPopupWindow-geometry management134657 ! Node: BLOX.BPrimitive136710 ! Node: BLOX.BPrimitive-accessing137091 ! Node: BLOX.BProgress137307 ! Node: BLOX.BProgress-accessing137629 ! Node: BLOX.BRadioButton138860 ! Node: BLOX.BRadioButton-accessing139199 ! Node: BLOX.BRadioGroup140072 ! Node: BLOX.BRadioGroup-accessing140695 ! Node: BLOX.BRadioGroup-widget protocol141155 ! Node: BLOX.BRectangle141470 ! Node: BLOX.BRectangle-accessing141808 ! Node: BLOX.BScrolledCanvas142281 ! Node: BLOX.BSpline142700 ! Node: BLOX.BSpline-accessing143027 ! Node: BLOX.BText143443 ! Node: BLOX.BText class-accessing144058 ! Node: BLOX.BText class-instance creation144386 ! Node: BLOX.BText-accessing144739 ! Node: BLOX.BText-attributes150571 ! Node: BLOX.BText-geometry management151827 ! Node: BLOX.BText-images153391 ! Node: BLOX.BText-inserting text155058 ! Node: BLOX.BText-position & lines157059 ! Node: BLOX.BTextAttributes158851 ! Node: BLOX.BTextAttributes class-instance-creation shortcuts159307 ! Node: BLOX.BTextAttributes-colors162151 ! Node: BLOX.BTextAttributes-setting attributes163225 ! Node: BLOX.BTextBindings167364 ! Node: BLOX.BTextBindings class-instance creation167898 ! Node: BLOX.BTextTags168135 ! Node: BLOX.BToggle168494 ! Node: BLOX.BToggle-accessing168873 ! Node: BLOX.BTransientWindow169756 ! Node: BLOX.BTransientWindow class-instance creation170265 ! Node: BLOX.BTransientWindow-widget protocol170869 ! Node: BLOX.BViewport171446 ! Node: BLOX.BViewport-accessing171877 ! Node: BLOX.BViewport-scrollbars172122 ! Node: BLOX.BWidget173067 ! Node: BLOX.BWidget class-popups173626 ! Node: BLOX.BWidget-accessing174866 ! Node: BLOX.BWidget-customization179466 ! Node: BLOX.BWidget-geometry management181080 ! Node: BLOX.BWidget-widget protocol197571 ! Node: BLOX.BWindow199596 ! Node: BLOX.BWindow class-instance creation200039 ! Node: BLOX.BWindow-accessing200461 ! Node: BLOX.BWindow-widget protocol203168 ! Node: BLOX.Gui207863 ! Node: BLOX.Gui-accessing208253 ! Node: TCP208499 ! Node: TCP.AbstractSocket209839 ! Node: TCP.AbstractSocket class-defaults210444 ! Node: TCP.AbstractSocket class-instance creation211317 ! Node: TCP.AbstractSocket class-timed-out operations211899 ! Node: TCP.AbstractSocket-accessing212877 ! Node: TCP.AbstractSocket-printing214009 ! Node: TCP.AbstractSocket-socket options214304 ! Node: TCP.AbstractSocket-stream protocol215224 ! Node: TCP.AbstractSocket-testing215784 ! Node: TCP.AbstractSocketImpl216047 ! Node: TCP.AbstractSocketImpl class-abstract216628 ! Node: TCP.AbstractSocketImpl class-socket creation217073 ! Node: TCP.AbstractSocketImpl-accessing217402 ! Node: TCP.AbstractSocketImpl-asynchronous operations218550 ! Node: TCP.AbstractSocketImpl-socket operations219279 ! Node: TCP.AbstractSocketImpl-socket options221232 ! Node: TCP.Datagram223193 ! Node: TCP.Datagram class-instance creation223503 ! Node: TCP.Datagram-accessing224801 ! Node: TCP.DatagramSocket225821 ! Node: TCP.DatagramSocket class-accessing226319 ! Node: TCP.DatagramSocket class-initialization226955 ! Node: TCP.DatagramSocket class-instance creation227304 ! Node: TCP.DatagramSocket-accessing228306 ! Node: TCP.DatagramSocket-direct operations229196 ! Node: TCP.DatagramSocketImpl229498 ! Node: TCP.DatagramSocketImpl class-parameters229920 ! Node: TCP.DatagramSocketImpl-accessing230208 ! Node: TCP.DatagramSocketImpl-socket operations230626 ! Node: TCP.ICMPSocketImpl231765 ! Node: TCP.ICMPSocketImpl class-implementation232063 ! Node: TCP.IPAddress232346 ! Node: TCP.IPAddress class-constants232799 ! Node: TCP.IPAddress class-initialization233109 ! Node: TCP.IPAddress class-instance creation233809 ! Node: TCP.IPAddress-accessing237671 ! Node: TCP.IPAddress-printing238796 ! Node: TCP.MulticastSocket239010 ! Node: TCP.MulticastSocket-instance creation239312 ! Node: TCP.MulticastSocketImpl240130 ! Node: TCP.MulticastSocketImpl-multicasting240449 ! Node: TCP.OOBSocketImpl241223 ! Node: TCP.OOBSocketImpl class-implementation241576 ! Node: TCP.OOBSocketImpl-implementation241895 ! Node: TCP.RawSocketImpl242289 ! Node: TCP.RawSocketImpl class-parameters242580 ! Node: TCP.ReadBuffer242807 ! Node: TCP.ReadBuffer class-instance creation243269 ! Node: TCP.ReadBuffer-buffer handling243725 ! Node: TCP.ServerSocket244612 ! Node: TCP.ServerSocket class-instance creation244982 ! Node: TCP.ServerSocket-accessing246443 ! Node: TCP.ServerSocket-initializing247353 ! Node: TCP.Socket247733 ! Node: TCP.Socket class-accessing248282 ! Node: TCP.Socket class-instance creation249072 ! Node: TCP.Socket class-tests249901 ! Node: TCP.Socket class-well known ports251447 ! Node: TCP.Socket-accessing253522 ! Node: TCP.Socket-out-of-band data253820 ! Node: TCP.Socket-printing254117 ! Node: TCP.Socket-stream protocol254372 ! Node: TCP.SocketAddress256452 ! Node: TCP.SocketAddress class-abstract256915 ! Node: TCP.SocketAddress class-accessing257344 ! Node: TCP.SocketAddress class-host name lookup259337 ! Node: TCP.SocketAddress class-initialization260128 ! Node: TCP.SocketAddress-accessing261323 ! Node: TCP.SocketImpl262315 ! Node: TCP.SocketImpl class-parameters262686 ! Node: TCP.SocketImpl-abstract262933 ! Node: TCP.SocketImpl-socket operations263251 ! Node: TCP.TCPSocketImpl263678 ! Node: TCP.TCPSocketImpl class-implementation264014 ! Node: TCP.TCPSocketImpl-implementation264333 ! Node: TCP.UDPSocketImpl264647 ! Node: TCP.UDPSocketImpl class-implementation264991 ! Node: TCP.UDPSocketImpl-multicasting265308 ! Node: TCP.WriteBuffer266201 ! Node: TCP.WriteBuffer-buffer handling266605 ! Node: I18N267044 ! Node: I18N.BigEndianFileStream269605 ! Node: I18N.EncodedStream269953 ! Node: I18N.EncodedStream class-initializing270481 ! Node: I18N.EncodedStream class-instance creation271351 ! Node: I18N.Encoder272260 ! Node: I18N.Encoder class-instance creation272812 ! Node: I18N.Encoder-stream operations273235 ! Node: I18N.Encoders.ComposeUCS4BE274290 ! Node: I18N.Encoders.ComposeUCS4BE-stream operation274815 ! Node: I18N.Encoders.ComposeUCS4LE275151 ! Node: I18N.Encoders.ComposeUCS4LE-stream operation275689 ! Node: I18N.Encoders.FromUCS4276028 ! Node: I18N.Encoders.FromUCS4-stream operation276535 ! Node: I18N.Encoders.FromUTF7276807 ! Node: I18N.Encoders.FromUTF7 class-initialization277188 ! Node: I18N.Encoders.FromUTF7-converting277499 ! Node: I18N.Encoders.Iconv278170 ! Node: I18N.Encoders.Iconv-stream operation278844 ! Node: I18N.Encoders.SplitUCS4BE279240 ! Node: I18N.Encoders.SplitUCS4BE-stream operation279780 ! Node: I18N.Encoders.SplitUCS4LE280350 ! Node: I18N.Encoders.SplitUCS4LE-stream operation280894 ! Node: I18N.Encoders.ToUCS4281464 ! Node: I18N.Encoders.ToUCS4-stream operation281996 ! Node: I18N.Encoders.ToUTF7282271 ! Node: I18N.Encoders.ToUTF7 class-initialization282780 ! Node: I18N.Encoders.ToUTF7-conversion283081 ! Node: I18N.FileStreamSegment283516 ! Node: I18N.FileStreamSegment-basic283942 ! Node: I18N.IncompleteSequenceError284247 ! Node: I18N.IncompleteSequenceError-accessing284800 ! Node: I18N.InvalidCharsetError285051 ! Node: I18N.InvalidCharsetError-accessing285484 ! Node: I18N.InvalidSequenceError285719 ! Node: I18N.InvalidSequenceError-accessing286140 ! Node: I18N.LcMessages286379 ! Node: I18N.LcMessages class-accessing286825 ! Node: I18N.LcMessages-accessing287197 ! Node: I18N.LcMessages-opening MO files287921 ! Node: I18N.LcMessagesCatalog288704 ! Node: I18N.LcMessagesDomain289069 ! Node: I18N.LcMessagesDomain class-opening MO files290169 ! Node: I18N.LcMessagesDomain-handling the cache290545 ! Node: I18N.LcMessagesDomain-querying291069 ! Node: I18N.LcMessagesDummyDomain292177 ! Node: I18N.LcMessagesMoFileVersion0292586 ! Node: I18N.LcMessagesMoFileVersion0 class-documentation293269 ! Node: I18N.LcMessagesMoFileVersion0 class-plurals301215 ! Node: I18N.LcMessagesMoFileVersion0-flushing the cache301850 ! Node: I18N.LcMessagesTerritoryDomain302276 ! Node: I18N.LcMessagesTerritoryDomain class-instance creation302740 ! Node: I18N.LcMonetary303105 ! Node: I18N.LcMonetary class-accessing303629 ! Node: I18N.LcMonetary-printing304000 ! Node: I18N.LcMonetaryISO304784 ! Node: I18N.LcMonetaryISO class-accessing305067 ! Node: I18N.LcNumeric305328 ! Node: I18N.LcNumeric class-accessing305793 ! Node: I18N.LcNumeric-printing306159 ! Node: I18N.LcPrintFormats306648 ! Node: I18N.LcPrintFormats-printing307201 ! Node: I18N.LcTime307696 ! Node: I18N.LcTime class-accessing308184 ! Node: I18N.LcTime-printing308535 ! Node: I18N.LcTime-tests310820 ! Node: I18N.Locale311039 ! Node: I18N.Locale class-initialization311694 ! Node: I18N.Locale class-instance creation312067 ! Node: I18N.Locale-subobjects312705 ! Node: I18N.LocaleConventions313331 ! Node: I18N.LocaleConventions class-accessing313767 ! Node: I18N.LocaleConventions-accessing314476 ! Node: I18N.LocaleData314792 ! Node: I18N.LocaleData class-accessing315294 ! Node: I18N.LocaleData class-database316350 ! Node: I18N.LocaleData-accessing316806 ! Node: I18N.LocaleData-initialization317964 ! Node: I18N.RTEAlternativeNode318349 ! Node: I18N.RTEAlternativeNode class-compiling318713 ! Node: I18N.RTEAlternativeNode-computing319118 ! Node: I18N.RTEBinaryNode319679 ! Node: I18N.RTEBinaryNode class-compiling320072 ! Node: I18N.RTEBinaryNode-compiling320425 ! Node: I18N.RTEBinaryNode-computing320721 ! Node: I18N.RTELiteralNode321248 ! Node: I18N.RTELiteralNode class-initializing321600 ! Node: I18N.RTELiteralNode-computing321898 ! Node: I18N.RTENegationNode322313 ! Node: I18N.RTENegationNode class-initializing322672 ! Node: I18N.RTENegationNode-computing322972 ! Node: I18N.RTEParameterNode323414 ! Node: I18N.RTEParameterNode-computing323726 ! Node: I18N.RunTimeExpression324028 ! Node: I18N.RunTimeExpression class-compiling324465 ! Node: I18N.RunTimeExpression class-initializing325074 ! Node: I18N.RunTimeExpression class-instance creation325434 ! Node: I18N.RunTimeExpression-computing325794 ! Node: XML326204 ! Node: Building a DOM from XML326419 ! Node: Building XML331802 ! Node: Using DTDs334970 ! Node: XSL Processing338224 ! Node: Attributions339649 ! Node: Class index339988 ! Node: Method index346459 ! Node: Cross-reference428519  End Tag Table diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-1 smalltalk-2.1.3/doc/gst-libs.info-1 *** smalltalk-2.1.2/doc/gst-libs.info-1 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-1 Mon Jun 9 09:13:00 2003 *************** *** 1,13 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Libraries: (gst-libs). The GNU Smalltalk class libraries. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 9 May 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. --- 1,13 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * Libraries: (gst-libs). The GNU Smalltalk class libraries. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 4 June 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. *************** *** 31,38 **** This document describes the class libraries that are distributed together with the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 9 May 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. --- 31,38 ---- This document describes the class libraries that are distributed together with the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 4 June 2003. Copyright (C) 1988-92, 1994-95, 1999-2001 Free Software Foundation, Inc. diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-10 smalltalk-2.1.3/doc/gst-libs.info-10 *** smalltalk-2.1.2/doc/gst-libs.info-10 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-10 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-2 smalltalk-2.1.3/doc/gst-libs.info-2 *** smalltalk-2.1.2/doc/gst-libs.info-2 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-2 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-3 smalltalk-2.1.3/doc/gst-libs.info-3 *** smalltalk-2.1.2/doc/gst-libs.info-3 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-3 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-4 smalltalk-2.1.3/doc/gst-libs.info-4 *** smalltalk-2.1.2/doc/gst-libs.info-4 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-4 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-5 smalltalk-2.1.3/doc/gst-libs.info-5 *** smalltalk-2.1.2/doc/gst-libs.info-5 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-5 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-6 smalltalk-2.1.3/doc/gst-libs.info-6 *** smalltalk-2.1.2/doc/gst-libs.info-6 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-6 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-7 smalltalk-2.1.3/doc/gst-libs.info-7 *** smalltalk-2.1.2/doc/gst-libs.info-7 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-7 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-8 smalltalk-2.1.3/doc/gst-libs.info-8 *** smalltalk-2.1.2/doc/gst-libs.info-8 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-8 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst-libs.info-9 smalltalk-2.1.3/doc/gst-libs.info-9 *** smalltalk-2.1.2/doc/gst-libs.info-9 Fri May 9 10:56:14 2003 --- smalltalk-2.1.3/doc/gst-libs.info-9 Mon Jun 9 09:13:00 2003 *************** *** 1,5 **** This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst-libs.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-libs-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst.1 smalltalk-2.1.3/doc/gst.1 *** smalltalk-2.1.2/doc/gst.1 Fri May 9 11:59:36 2003 --- smalltalk-2.1.3/doc/gst.1 Sat Jun 28 12:25:42 2003 *************** *** 1,5 **** .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28. ! .TH SMALLTALK "1" "May 2003" "Smalltalk version 2.1.2" "User Commands" .SH NAME Smalltalk \- the GNU Smalltalk virtual machine .SH DESCRIPTION --- 1,5 ---- .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28. ! .TH SMALLTALK "1" "June 2003" "Smalltalk version 2.1.3" "User Commands" .SH NAME Smalltalk \- the GNU Smalltalk virtual machine .SH DESCRIPTION diff -rNC3 smalltalk-2.1.2/doc/gst.info smalltalk-2.1.3/doc/gst.info *** smalltalk-2.1.2/doc/gst.info Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 8,165 ****  Indirect: ! gst.info-1: 243 ! gst.info-2: 42377 ! gst.info-3: 90993 ! gst.info-4: 135964 ! gst.info-5: 185492 ! gst.info-6: 230461 ! gst.info-7: 278426  Tag Table: (Indirect) ! Node: Top243 ! Node: Overview5738 ! Node: Using GNU Smalltalk8461 ! Node: Invocation8974 ! Node: Operation15783 ! Ref: Operation-Footnote-118832 ! Ref: Operation-Footnote-219000 ! Node: Syntax19220 ! Node: Test suite22048 ! Node: Features22721 ! Node: Memory access24175 ! Node: Namespaces26566 ! Ref: Namespaces-Footnote-139204 ! Ref: Namespaces-Footnote-239417 ! Node: Disk file-IO39457 ! Node: Object dumping41795 ! Node: GC42377 ! Ref: GC-Footnote-153653 ! Ref: GC-Footnote-254017 ! Ref: GC-Footnote-354407 ! Ref: GC-Footnote-454640 ! Node: Special objects54695 ! Node: Dynamic loading59837 ! Node: Packages61038 ! Ref: Packages-Footnote-164290 ! Node: Blox64406 ! Node: Smalltalk-in-Smalltalk67598 ! Ref: Smalltalk-in-Smalltalk-Footnote-170605 ! Node: Database70657 ! Node: Locales74222 ! Ref: Locales-Footnote-178531 ! Ref: Locales-Footnote-278617 ! Node: SUnit78792 ! Ref: SUnit-Footnote-185221 ! Node: Network support85463 ! Ref: Network support-Footnote-187775 ! Node: XML87876 ! Node: Minor packages88361 ! Node: Emacs88850 ! Node: Autoloading89347 ! Node: Editing90013 ! Node: Interactor90993 ! Node: C and Smalltalk95456 ! Node: External modules96263 ! Ref: External modules-Footnote-1100287 ! Ref: External modules-Footnote-2100333 ! Node: C callout100517 ! Node: C data types109538 ! Ref: C data types-Footnote-1118482 ! Ref: C data types-Footnote-2118548 ! Node: Smalltalk types118684 ! Node: Smalltalk callin128164 ! Node: Other C functions135964 ! Ref: Other C functions-Footnote-1141447 ! Node: Object representation141670 ! Node: Using Smalltalk148975 ! Node: Incubator152028 ! Node: Tutorial157267 ! Node: Getting started159023 ! Node: Starting Smalltalk159448 ! Node: Saying hello159987 ! Ref: Saying hello-Footnote-1160536 ! Node: What happened160760 ! Ref: What happened-Footnote-1162357 ! Ref: What happened-Footnote-2162656 ! Node: Doing math162941 ! Node: Math in Smalltalk164348 ! Node: Some classes165490 ! Node: Arrays166276 ! Ref: Arrays-Footnote-1168730 ! Ref: Arrays-Footnote-2169115 ! Node: Sets169218 ! Node: Dictionaries172241 ! Node: Smalltalk dictionary173655 ! Ref: Smalltalk dictionary-Footnote-1175476 ! Ref: Smalltalk dictionary-Footnote-2175658 ! Node: Closing thoughts175715 ! Node: The hierarchy176722 ! Node: Class Object177502 ! Node: Animals178412 ! Node: But why181272 ! Node: Creating classes182280 ! Node: A new class184222 ! Ref: A new class-Footnote-1185325 ! Node: Documenting the class185492 ! Node: Defining methods186190 ! Ref: Defining methods-Footnote-1190662 ! Node: Instance methods190955 ! Ref: Instance methods-Footnote-1192345 ! Node: A look at our object192566 ! Node: Moving money around194760 ! Node: Next coming195509 ! Node: Creating subclasses195947 ! Node: The Savings class196701 ! Ref: The Savings class-Footnote-1200361 ! Ref: The Savings class-Footnote-2200679 ! Node: The Checking class200939 ! Node: Writing checks202232 ! Node: Code blocks (I)204262 ! Node: Conditions204873 ! Ref: Conditions-Footnote-1208012 ! Node: Iteration208233 ! Ref: Iteration-Footnote-1216372 ! Node: Code blocks (II)216896 ! Ref: Code blocks (II)-Footnote-1217746 ! Node: Integer loops218145 ! Node: Intervals218639 ! Node: Invoking code blocks219314 ! Ref: Invoking code blocks-Footnote-1222958 ! Node: Debugging223080 ! Node: Simple errors224012 ! Node: Nested calls225302 ! Node: Looking at objects227785 ! Ref: Looking at objects-Footnote-1229055 ! Node: More subclassing229138 ! Node: The existing hierarchy230461 ! Ref: The existing hierarchy-Footnote-1236125 ! Node: Playing with Arrays236272 ! Ref: Playing with Arrays-Footnote-1240150 ! Node: New kinds of Numbers240693 ! Node: Inheritance and Polymorphism245528 ! Node: Streams247789 ! Node: The output stream248899 ! Ref: The output stream-Footnote-1249823 ! Node: Your own stream249916 ! Node: Files253454 ! Node: Dynamic Strings254129 ! Node: Behind the scenes255751 ! Node: Inside Arrays256338 ! Ref: Inside Arrays-Footnote-1265245 ! Ref: Inside Arrays-Footnote-2265322 ! Ref: Inside Arrays-Footnote-3265383 ! Ref: Inside Arrays-Footnote-4265541 ! Ref: Inside Arrays-Footnote-5265621 ! Node: Two flavors of equality265780 ! Node: Why is #new there?!?268555 ! Ref: Why is #new there?!?-Footnote-1273557 ! Node: Performance273627 ! Ref: Performance-Footnote-1278236 ! Ref: Performance-Footnote-2278317 ! Node: And now278426 ! Node: The syntax281035 ! Node: Future289260  End Tag Table --- 8,166 ----  Indirect: ! gst.info-1: 250 ! gst.info-2: 42484 ! gst.info-3: 91237 ! gst.info-4: 136208 ! gst.info-5: 185736 ! gst.info-6: 230705 ! gst.info-7: 278670  Tag Table: (Indirect) ! Node: Top250 ! Node: Overview5791 ! Node: Using GNU Smalltalk8514 ! Node: Invocation9027 ! Node: Operation15836 ! Ref: Operation-Footnote-118885 ! Ref: Operation-Footnote-219053 ! Node: Syntax19273 ! Node: Test suite22101 ! Node: Features22774 ! Node: Memory access24282 ! Node: Namespaces26673 ! Ref: Namespaces-Footnote-139311 ! Ref: Namespaces-Footnote-239524 ! Node: Disk file-IO39564 ! Node: Object dumping41902 ! Node: GC42484 ! Ref: GC-Footnote-153753 ! Ref: GC-Footnote-254117 ! Ref: GC-Footnote-354507 ! Ref: GC-Footnote-454740 ! Node: Security54795 ! Node: Special objects54933 ! Node: Dynamic loading60081 ! Node: Packages61282 ! Ref: Packages-Footnote-164534 ! Node: Blox64650 ! Node: Smalltalk-in-Smalltalk67842 ! Ref: Smalltalk-in-Smalltalk-Footnote-170849 ! Node: Database70901 ! Node: Locales74466 ! Ref: Locales-Footnote-178775 ! Ref: Locales-Footnote-278861 ! Node: SUnit79036 ! Ref: SUnit-Footnote-185465 ! Node: Network support85707 ! Ref: Network support-Footnote-188019 ! Node: XML88120 ! Node: Minor packages88605 ! Node: Emacs89094 ! Node: Autoloading89591 ! Node: Editing90257 ! Node: Interactor91237 ! Node: C and Smalltalk95700 ! Node: External modules96507 ! Ref: External modules-Footnote-1100531 ! Ref: External modules-Footnote-2100577 ! Node: C callout100761 ! Node: C data types109782 ! Ref: C data types-Footnote-1118726 ! Ref: C data types-Footnote-2118792 ! Node: Smalltalk types118928 ! Node: Smalltalk callin128408 ! Node: Other C functions136208 ! Ref: Other C functions-Footnote-1141691 ! Node: Object representation141914 ! Node: Using Smalltalk149219 ! Node: Incubator152272 ! Node: Tutorial157511 ! Node: Getting started159267 ! Node: Starting Smalltalk159692 ! Node: Saying hello160231 ! Ref: Saying hello-Footnote-1160780 ! Node: What happened161004 ! Ref: What happened-Footnote-1162601 ! Ref: What happened-Footnote-2162900 ! Node: Doing math163185 ! Node: Math in Smalltalk164592 ! Node: Some classes165734 ! Node: Arrays166520 ! Ref: Arrays-Footnote-1168974 ! Ref: Arrays-Footnote-2169359 ! Node: Sets169462 ! Node: Dictionaries172485 ! Node: Smalltalk dictionary173899 ! Ref: Smalltalk dictionary-Footnote-1175720 ! Ref: Smalltalk dictionary-Footnote-2175902 ! Node: Closing thoughts175959 ! Node: The hierarchy176966 ! Node: Class Object177746 ! Node: Animals178656 ! Node: But why181516 ! Node: Creating classes182524 ! Node: A new class184466 ! Ref: A new class-Footnote-1185569 ! Node: Documenting the class185736 ! Node: Defining methods186434 ! Ref: Defining methods-Footnote-1190906 ! Node: Instance methods191199 ! Ref: Instance methods-Footnote-1192589 ! Node: A look at our object192810 ! Node: Moving money around195004 ! Node: Next coming195753 ! Node: Creating subclasses196191 ! Node: The Savings class196945 ! Ref: The Savings class-Footnote-1200605 ! Ref: The Savings class-Footnote-2200923 ! Node: The Checking class201183 ! Node: Writing checks202476 ! Node: Code blocks (I)204506 ! Node: Conditions205117 ! Ref: Conditions-Footnote-1208256 ! Node: Iteration208477 ! Ref: Iteration-Footnote-1216616 ! Node: Code blocks (II)217140 ! Ref: Code blocks (II)-Footnote-1217990 ! Node: Integer loops218389 ! Node: Intervals218883 ! Node: Invoking code blocks219558 ! Ref: Invoking code blocks-Footnote-1223202 ! Node: Debugging223324 ! Node: Simple errors224256 ! Node: Nested calls225546 ! Node: Looking at objects228029 ! Ref: Looking at objects-Footnote-1229299 ! Node: More subclassing229382 ! Node: The existing hierarchy230705 ! Ref: The existing hierarchy-Footnote-1236369 ! Node: Playing with Arrays236516 ! Ref: Playing with Arrays-Footnote-1240394 ! Node: New kinds of Numbers240937 ! Node: Inheritance and Polymorphism245772 ! Node: Streams248033 ! Node: The output stream249143 ! Ref: The output stream-Footnote-1250067 ! Node: Your own stream250160 ! Node: Files253698 ! Node: Dynamic Strings254373 ! Node: Behind the scenes255995 ! Node: Inside Arrays256582 ! Ref: Inside Arrays-Footnote-1265489 ! Ref: Inside Arrays-Footnote-2265566 ! Ref: Inside Arrays-Footnote-3265627 ! Ref: Inside Arrays-Footnote-4265785 ! Ref: Inside Arrays-Footnote-5265865 ! Node: Two flavors of equality266024 ! Node: Why is #new there?!?268799 ! Ref: Why is #new there?!?-Footnote-1273801 ! Node: Performance273871 ! Ref: Performance-Footnote-1278480 ! Ref: Performance-Footnote-2278561 ! Node: And now278670 ! Node: The syntax281279 ! Node: Future289504  End Tag Table diff -rNC3 smalltalk-2.1.2/doc/gst.info-1 smalltalk-2.1.3/doc/gst.info-1 *** smalltalk-2.1.2/doc/gst.info-1 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-1 Wed Jun 11 23:05:41 2003 *************** *** 1,13 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * GNU Smalltalk: (gst). The GNU Smalltalk environment. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 12 December 2002. Copyright (C) 1988, 1989, 1991, 1992, 1994, 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. --- 1,13 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY * GNU Smalltalk: (gst). The GNU Smalltalk environment. END-INFO-DIR-ENTRY ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 11 June 2003. Copyright (C) 1988, 1989, 1991, 1992, 1994, 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. *************** *** 31,38 **** This document describes installing and operating the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.2. It was last updated ! on 12 December 2002. Copyright (C) 1988, 1989, 1991, 1992, 1994, 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. --- 31,38 ---- This document describes installing and operating the GNU Smalltalk programming language. ! This file documents GNU Smalltalk Version 2.1.3. It was last updated ! on 11 June 2003. Copyright (C) 1988, 1989, 1991, 1992, 1994, 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. *************** *** 79,84 **** --- 79,85 ---- * Disk file-IO:: Methods for reading and writing disk files. * Object dumping:: Methods that read and write objects in binary format. * GC:: The GNU Smalltalk memory manager. + * Security:: Sandboxing and access control. * Special objects:: Methods to assign particular properties to objects. * Dynamic loading:: Picking external libraries and modules at run-time. * Packages:: An easy way to install Smalltalk code into an image. *************** *** 536,541 **** --- 537,543 ---- * Disk file-IO:: Methods for reading and writing disk files. * Object dumping:: Methods that read and write objects in binary format. * GC:: The GNU Smalltalk memory manager. + * Security:: Sandboxing and access control. * Special objects:: Methods to assign particular properties to objects. * Dynamic loading:: Picking external libraries and modules at run-time. * Packages:: An easy way to install Smalltalk code into an image. diff -rNC3 smalltalk-2.1.2/doc/gst.info-2 smalltalk-2.1.3/doc/gst.info-2 *** smalltalk-2.1.2/doc/gst.info-2 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-2 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 7,13 **** END-INFO-DIR-ENTRY  ! File: gst.info, Node: GC, Next: Special objects, Prev: Object dumping, Up: Features Memory management in GNU Smalltalk ================================== --- 7,13 ---- END-INFO-DIR-ENTRY  ! File: gst.info, Node: GC, Next: Security, Prev: Object dumping, Up: Features Memory management in GNU Smalltalk ================================== *************** *** 220,226 **** (4) This is short for "Ordinary Object Pointer".  ! File: gst.info, Node: Special objects, Next: Dynamic loading, Prev: GC, Up: Features Special kinds of object ======================= --- 220,232 ---- (4) This is short for "Ordinary Object Pointer".  ! File: gst.info, Node: Security, Next: Special objects, Prev: GC, Up: Features ! ! Security in GNU Smalltalk ! ========================= ! !  ! File: gst.info, Node: Special objects, Next: Dynamic loading, Prev: Security, Up: Features Special kinds of object ======================= diff -rNC3 smalltalk-2.1.2/doc/gst.info-3 smalltalk-2.1.3/doc/gst.info-3 *** smalltalk-2.1.2/doc/gst.info-3 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-3 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst.info-4 smalltalk-2.1.3/doc/gst.info-4 *** smalltalk-2.1.2/doc/gst.info-4 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-4 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst.info-5 smalltalk-2.1.3/doc/gst.info-5 *** smalltalk-2.1.2/doc/gst.info-5 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-5 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst.info-6 smalltalk-2.1.3/doc/gst.info-6 *** smalltalk-2.1.2/doc/gst.info-6 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-6 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY diff -rNC3 smalltalk-2.1.2/doc/gst.info-7 smalltalk-2.1.3/doc/gst.info-7 *** smalltalk-2.1.2/doc/gst.info-7 Tue Apr 29 16:58:53 2003 --- smalltalk-2.1.3/doc/gst.info-7 Wed Jun 11 23:05:41 2003 *************** *** 1,5 **** This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY --- 1,5 ---- This is gst.info, produced by makeinfo version 4.2 from ! /home/utente/devel-gst-stable/doc/gst-fixed.texi. INFO-DIR-SECTION GNU Smalltalk START-INFO-DIR-ENTRY *************** *** 286,297 **** process each time it is called when `setitimer' or a similar function call is not available; this involves using a pipe. I want to do it somewhen, but if you do it before me, please tell me. - - * Improve the memory manager. The current one works, but it's not so - cunning and does not scale at all when there are many small - objects. We really should use multiple heaps each with its own - OOP table, and/or use memory locks to implement write barriers for - a true generational GC. * Port Blox to GTK+. --- 286,291 ---- diff -rNC3 smalltalk-2.1.2/doc/gst.texi smalltalk-2.1.3/doc/gst.texi *** smalltalk-2.1.2/doc/gst.texi Thu Dec 12 15:21:50 2002 --- smalltalk-2.1.3/doc/gst.texi Wed Jun 11 23:04:11 2003 *************** *** 152,157 **** --- 152,158 ---- * Disk file-IO:: Methods for reading and writing disk files. * Object dumping:: Methods that read and write objects in binary format. * GC:: The @gst{} memory manager. + * Security:: Sandboxing and access control. * Special objects:: Methods to assign particular properties to objects. * Dynamic loading:: Picking external libraries and modules at run-time. * Packages:: An easy way to install Smalltalk code into an image. *************** *** 681,686 **** --- 682,688 ---- * Disk file-IO:: Methods for reading and writing disk files. * Object dumping:: Methods that read and write objects in binary format. * GC:: The @gst{} memory manager. + * Security:: Sandboxing and access control. * Special objects:: Methods to assign particular properties to objects. * Dynamic loading:: Picking external libraries and modules at run-time. * Packages:: An easy way to install Smalltalk code into an image. *************** *** 1288,1293 **** --- 1290,1300 ---- (scavenges and global garbage collections count equally), the incremental sweeper discards it, so that it will be recomputed if and when necessary. + + @node Security + @section Security in @gst{} + + @node Special objects @section Special kinds of object *************** *** 3895,3907 **** each time it is called when @code{setitimer} or a similar function call is not available; this involves using a pipe. I want to do it somewhen, but if you do it before me, please tell me. - - @item - Improve the memory manager. The current one works, but it's not so - cunning and does not scale at all when there are many small objects. - We really should use multiple heaps each with its own OOP table, - and/or use memory locks to implement write barriers for a true - generational GC. @item Port Blox to @sc{gtk+}. --- 3902,3907 ---- diff -rNC3 smalltalk-2.1.2/doc/stamp-1 smalltalk-2.1.3/doc/stamp-1 *** smalltalk-2.1.2/doc/stamp-1 Fri May 9 11:59:37 2003 --- smalltalk-2.1.3/doc/stamp-1 Sat Jun 28 12:27:05 2003 *************** *** 1,4 **** ! @set UPDATED 9 May 2003 ! @set UPDATED-MONTH May 2003 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 28 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/doc/stamp-2 smalltalk-2.1.3/doc/stamp-2 *** smalltalk-2.1.2/doc/stamp-2 Fri May 9 11:59:37 2003 --- smalltalk-2.1.3/doc/stamp-2 Sun Jun 15 22:11:29 2003 *************** *** 1,4 **** ! @set UPDATED 9 May 2003 ! @set UPDATED-MONTH May 2003 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 4 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/doc/stamp-vti smalltalk-2.1.3/doc/stamp-vti *** smalltalk-2.1.2/doc/stamp-vti Fri May 9 11:59:36 2003 --- smalltalk-2.1.3/doc/stamp-vti Sun Jun 15 22:11:29 2003 *************** *** 1,4 **** ! @set UPDATED 12 December 2002 ! @set UPDATED-MONTH December 2002 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 11 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/doc/vers-base.texi smalltalk-2.1.3/doc/vers-base.texi *** smalltalk-2.1.2/doc/vers-base.texi Fri May 9 10:43:18 2003 --- smalltalk-2.1.3/doc/vers-base.texi Sat Jun 28 12:27:05 2003 *************** *** 1,4 **** ! @set UPDATED 9 May 2003 ! @set UPDATED-MONTH May 2003 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 28 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/doc/vers-gst.texi smalltalk-2.1.3/doc/vers-gst.texi *** smalltalk-2.1.2/doc/vers-gst.texi Tue Apr 29 16:57:48 2003 --- smalltalk-2.1.3/doc/vers-gst.texi Wed Jun 11 23:05:40 2003 *************** *** 1,4 **** ! @set UPDATED 12 December 2002 ! @set UPDATED-MONTH December 2002 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 11 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/doc/vers-libs.texi smalltalk-2.1.3/doc/vers-libs.texi *** smalltalk-2.1.2/doc/vers-libs.texi Fri May 9 10:43:18 2003 --- smalltalk-2.1.3/doc/vers-libs.texi Wed Jun 4 12:16:53 2003 *************** *** 1,4 **** ! @set UPDATED 9 May 2003 ! @set UPDATED-MONTH May 2003 ! @set EDITION 2.1.2 ! @set VERSION 2.1.2 --- 1,4 ---- ! @set UPDATED 4 June 2003 ! @set UPDATED-MONTH June 2003 ! @set EDITION 2.1.3 ! @set VERSION 2.1.3 diff -rNC3 smalltalk-2.1.2/examples/Makefile.in smalltalk-2.1.3/examples/Makefile.in *** smalltalk-2.1.2/examples/Makefile.in Fri May 9 11:59:17 2003 --- smalltalk-2.1.3/examples/Makefile.in Sun Jun 22 13:38:02 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 294,326 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 297,332 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/examples/xml.sed smalltalk-2.1.3/examples/xml.sed *** smalltalk-2.1.2/examples/xml.sed Fri Sep 13 10:33:02 2002 --- smalltalk-2.1.3/examples/xml.sed Fri May 30 14:20:18 2003 *************** *** 4,13 **** # # Convert VisualWorks XML file-outs to chunked format # - # $Revision: 1.95.1$ - # $Date: 2000/12/27 10:45:49$ - # $Author: pb$ - # ######################################################################## --- 4,9 ---- diff -rNC3 smalltalk-2.1.2/gnu-smalltalk.spec smalltalk-2.1.3/gnu-smalltalk.spec *** smalltalk-2.1.2/gnu-smalltalk.spec Fri May 9 11:57:16 2003 --- smalltalk-2.1.3/gnu-smalltalk.spec Sat Jun 28 12:23:11 2003 *************** *** 2,8 **** Summary: GNU Smalltalk Name: gst ! Version: 2.1.2 Release: 1 Source: ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-%{version}.tar.gz Copyright: GPL --- 2,8 ---- Summary: GNU Smalltalk Name: gst ! Version: 2.1.3 Release: 1 Source: ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-%{version}.tar.gz Copyright: GPL diff -rNC3 smalltalk-2.1.2/i18n/ChangeLog smalltalk-2.1.3/i18n/ChangeLog *** smalltalk-2.1.2/i18n/ChangeLog Fri May 9 09:26:19 2003 --- smalltalk-2.1.3/i18n/ChangeLog Sat Jun 28 15:52:29 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/i18n/Makefile.in smalltalk-2.1.3/i18n/Makefile.in *** smalltalk-2.1.2/i18n/Makefile.in Fri May 9 11:58:54 2003 --- smalltalk-2.1.3/i18n/Makefile.in Sun Jun 22 13:38:04 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 277,309 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 280,315 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/kernel/Bag.st smalltalk-2.1.3/kernel/Bag.st *** smalltalk-2.1.2/kernel/Bag.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/Bag.st Tue May 27 19:41:19 2003 *************** *** 76,82 **** newOccurrences := contents at: newObject put: (self occurrencesOf: newObject) + anInteger. ! newOccurrences < 0 ifTrue: [ contents removeKey: newObject ]. ^newObject ! --- 76,82 ---- newOccurrences := contents at: newObject put: (self occurrencesOf: newObject) + anInteger. ! newOccurrences <= 0 ifTrue: [ contents removeKey: newObject ]. ^newObject ! diff -rNC3 smalltalk-2.1.2/kernel/Builtins.st smalltalk-2.1.3/kernel/Builtins.st *** smalltalk-2.1.2/kernel/Builtins.st Tue May 6 20:22:33 2003 --- smalltalk-2.1.3/kernel/Builtins.st Mon Jun 23 13:26:11 2003 *************** *** 686,691 **** --- 686,696 ---- !Object methodsFor: 'built ins'! + allOwners + "Return an Array of Objects that point to the receiver." + + ! + changeClassTo: aBehavior "Mutate the class of the receiver to be aBehavior. Note: Tacitly assumes that the structure is the same *************** *** 1359,1365 **** ^Smalltalk setTraceFlag: 3 to: aBoolean ! ! ! ^L !ObjectMemory methodsFor: 'builtins'! update --- 1364,1370 ---- ^Smalltalk setTraceFlag: 3 to: aBoolean ! ! ! !ObjectMemory methodsFor: 'builtins'! update diff -rNC3 smalltalk-2.1.2/kernel/CallinProcess.st smalltalk-2.1.3/kernel/CallinProcess.st *** smalltalk-2.1.2/kernel/CallinProcess.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/CallinProcess.st Tue May 27 20:32:33 2003 *************** *** 41,45 **** CallinProcess comment: 'I represent a unit of computation for which external C code requested execution, so I must store the returned value once my computation ! terminates. I am otherwise equivalent to a Process.'! --- 41,46 ---- CallinProcess comment: 'I represent a unit of computation for which external C code requested execution, so I must store the returned value once my computation ! terminates and I must not survive across image saves (since those who ! invoked me no longer exist). I am otherwise equivalent to a Process.'! diff -rNC3 smalltalk-2.1.2/kernel/Collection.st smalltalk-2.1.3/kernel/Collection.st *** smalltalk-2.1.2/kernel/Collection.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/Collection.st Mon Jun 9 09:12:48 2003 *************** *** 8,14 **** "====================================================================== | ! | Copyright 1988,92,94,95,99,2000,2001,2002 | Free Software Foundation, Inc. | Written by Steve Byrne. | --- 8,14 ---- "====================================================================== | ! | Copyright 1988,92,94,95,99,2000,2001,2002,2003 | Free Software Foundation, Inc. | Written by Steve Byrne. | *************** *** 199,210 **** !Collection methodsFor: 'enumeration'! anyOne ! "Answer an unspecified element of the collection. Example usage: ! ^coll inject: coll anyOne into: [ :max :each | ! max max: each ] ! ! to be used when you don't have a valid lowest-possible-value ! (which happens in common cases too, such as with arbitrary numbers" self do: [ :each | ^each ] ! --- 199,205 ---- !Collection methodsFor: 'enumeration'! anyOne ! "Answer an unspecified element of the collection." self do: [ :each | ^each ] ! *************** *** 317,324 **** ifNone: [ SystemExceptions.NotFound signal: 'object not found' ]. ! inject: thisValue into: binaryBlock ! "Pass to binaryBlock receiver thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation." --- 312,339 ---- ifNone: [ SystemExceptions.NotFound signal: 'object not found' ]. ! + fold: binaryBlock + "First, pass to binaryBlock the first and second elements of the + receiver; for each subsequent element, pass the result of the previous + evaluation and an element. Answer the result of the last invocation, + or the first element if the collection has size 1. Fail if the collection + is empty." + + | result marker | + self isEmpty + ifTrue: [ ^SystemExceptions.EmptyCollection signalOn: self ]. + + result := marker := Object new. + self do: [ :element | + result := result == marker + ifTrue: [ element ] + ifFalse: [ binaryBlock value: result value: element ] + ]. + ^result + ! + inject: thisValue into: binaryBlock ! "First, pass to binaryBlock thisValue and the first element of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation." diff -rNC3 smalltalk-2.1.2/kernel/CompildCode.st smalltalk-2.1.3/kernel/CompildCode.st *** smalltalk-2.1.2/kernel/CompildCode.st Tue May 6 17:23:07 2003 --- smalltalk-2.1.3/kernel/CompildCode.st Thu Jun 5 12:40:58 2003 *************** *** 263,274 **** nextPutAll: ']: '. lit := self literalAt: i. ! "Avoid an infinite loop" ! (lit class == Association) ! ifTrue: [ ! Transcript nextPutAll: ! '(Reference to global/pool variable ', lit key, ')'; nl ] ! ifFalse: [ lit printNl ]. ]. Transcript nextPutAll: ' ]'; nl ]. Transcript nextPutAll: ' byte codes: ['; nl. --- 263,269 ---- nextPutAll: ']: '. lit := self literalAt: i. ! lit printNl. ]. Transcript nextPutAll: ' ]'; nl ]. Transcript nextPutAll: ' byte codes: ['; nl. *************** *** 400,406 **** instVarIndex >= 64 ifTrue: [ self allByteCodeIndicesDo: [ :i :byte | (byte = 134 and: [ ! ((self byteCodeAt: i + 1) > 128) and: [ (self byteCodeAt: i + 1) \\ 64 = (instVarIndex // 256) and: [ (self byteCodeAt: i + 2) = (instVarIndex \\ 256) ]]]) ifTrue: [ ^true ]. --- 395,401 ---- instVarIndex >= 64 ifTrue: [ self allByteCodeIndicesDo: [ :i :byte | (byte = 134 and: [ ! ((self byteCodeAt: i + 1) >= 128) and: [ (self byteCodeAt: i + 1) \\ 64 = (instVarIndex // 256) and: [ (self byteCodeAt: i + 2) = (instVarIndex \\ 256) ]]]) ifTrue: [ ^true ]. *************** *** 513,519 **** deref: true at: anIndex + 1 to: anObject with: param ]. byte == 127 ifTrue: [ ^self dispatchLineNoBytecodeAt: anIndex + 1 to: anObject with: param ]. - "127 is the debugger breakpoint and we don't get it here" byte == 128 ifTrue: [ ^self dispatch2ByteStackOp: #(#pushInstVar:with: #pushTemporary:with: #pushLiteral:with: #pushGlobal:with:) --- 508,513 ---- diff -rNC3 smalltalk-2.1.2/kernel/ExcHandling.st smalltalk-2.1.3/kernel/ExcHandling.st *** smalltalk-2.1.2/kernel/ExcHandling.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/ExcHandling.st Thu Jun 5 12:41:48 2003 *************** *** 448,469 **** context at: context numArgs + 1 put: 0 ] ] - ! - - unwindTo: aContext - thisContext - scanBacktraceFor: #(#on:do: #on:do:on:do: - #on:do:on:do:on:do: #on:do:on:do:on:do:on:do: - #on:do:on:do:on:do:on:do:on:do: #activateHandler:) - do: [ :context | - context receiver class == BlockClosure - ifTrue: [ - context == aContext ifTrue: [ ^self ] - ] - ifFalse: [ - context receiver resetHandler - ]. - ] ! ! --- 448,453 ---- *************** *** 712,718 **** ^result ]. - "CoreException unwindTo: context." context parentContext continue: result ! --- 696,701 ---- diff -rNC3 smalltalk-2.1.2/kernel/LargeInt.st smalltalk-2.1.3/kernel/LargeInt.st *** smalltalk-2.1.2/kernel/LargeInt.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/LargeInt.st Sat Jun 21 14:16:43 2003 *************** *** 492,498 **** bitAt: aNumber "Answer the aNumber-th bit in the receiver, where the LSB is 1" ! ^(self at: aNumber // 8) bitAt: aNumber \\ 8 ! bitInvert --- 492,500 ---- bitAt: aNumber "Answer the aNumber-th bit in the receiver, where the LSB is 1" ! | bit | ! bit := aNumber - 1. ! ^(self at: bit // 8 + 1) bitAt: bit \\ 8 + 1 ! bitInvert diff -rNC3 smalltalk-2.1.2/kernel/Makefile.in smalltalk-2.1.3/kernel/Makefile.in *** smalltalk-2.1.2/kernel/Makefile.in Fri May 9 11:59:06 2003 --- smalltalk-2.1.3/kernel/Makefile.in Sun Jun 22 13:38:06 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ diff -rNC3 smalltalk-2.1.2/kernel/PkgLoader.st smalltalk-2.1.3/kernel/PkgLoader.st *** smalltalk-2.1.2/kernel/PkgLoader.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/PkgLoader.st Mon Jun 9 18:02:49 2003 *************** *** 290,297 **** on a newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. ! Pass an error message to aBlock if any of the packages needs ! prerequisites which are not defined." | toBeLoaded oldDep newDep | toBeLoaded := packagesList asOrderedCollection. --- 290,297 ---- on a newly built image will evaluate to an OrderedCollection containing 'Kernel', 'Blox', 'BloxTestSuite' and 'Browser'. Note that Blox has been moved before BloxTestSuite. ! Pass an error message to aBlock if one or more packages need ! prerequisites which are not available." | toBeLoaded oldDep newDep | toBeLoaded := packagesList asOrderedCollection. diff -rNC3 smalltalk-2.1.2/kernel/SeqCollect.st smalltalk-2.1.3/kernel/SeqCollect.st *** smalltalk-2.1.2/kernel/SeqCollect.st Tue Feb 25 18:40:55 2003 --- smalltalk-2.1.3/kernel/SeqCollect.st Mon Jun 9 18:10:30 2003 *************** *** 8,14 **** "====================================================================== | ! | Copyright 1988,92,94,95,99,2000,2001,2002 | Free Software Foundation, Inc. | Written by Steve Byrne. | --- 8,14 ---- "====================================================================== | ! | Copyright 1988,92,94,95,99,2000,2001,2002,2003 | Free Software Foundation, Inc. | Written by Steve Byrne. | *************** *** 511,522 **** !SequenceableCollection methodsFor: 'enumerating'! anyOne ! "Answer an unspecified element of the collection. Example usage: ! ^coll inject: coll anyOne into: [ :max :each | ! max max: each ] ! ! to be used when you don't have a valid lowest-possible-value ! (which happens in common cases too, such as with arbitrary numbers" ^self at: 1 ! --- 511,517 ---- !SequenceableCollection methodsFor: 'enumerating'! anyOne ! "Answer an unspecified element of the collection." ^self at: 1 ! diff -rNC3 smalltalk-2.1.2/kernel/VFS.st smalltalk-2.1.3/kernel/VFS.st *** smalltalk-2.1.2/kernel/VFS.st Tue Apr 29 16:18:11 2003 --- smalltalk-2.1.3/kernel/VFS.st Mon Jun 9 17:55:32 2003 *************** *** 802,809 **** vfsFor: file name: fsName subPath: subPath "Create a temporary file and use it to construct the contents of the given ! file, under the virtual filesystem fsName. subPath must be nil because ! this class supports single-file virtual filesystems only." subPath isNil ifFalse: [ ^(self vfsFor: file name: fsName subPath: nil) newMemberHandlerFor: subPath --- 802,808 ---- vfsFor: file name: fsName subPath: subPath "Create a temporary file and use it to construct the contents of the given ! file, under the virtual filesystem fsName." subPath isNil ifFalse: [ ^(self vfsFor: file name: fsName subPath: nil) newMemberHandlerFor: subPath diff -rNC3 smalltalk-2.1.2/lib-src/Makefile.in smalltalk-2.1.3/lib-src/Makefile.in *** smalltalk-2.1.2/lib-src/Makefile.in Fri May 9 11:57:21 2003 --- smalltalk-2.1.3/lib-src/Makefile.in Sun Jun 22 13:38:08 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 308,340 **** -rm -rf $(DEPDIR) ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 311,346 ---- -rm -rf $(DEPDIR) ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/lib-src/poll.c smalltalk-2.1.3/lib-src/poll.c *** smalltalk-2.1.2/lib-src/poll.c Sun Mar 2 11:36:27 2003 --- smalltalk-2.1.3/lib-src/poll.c Wed Jun 4 08:12:48 2003 *************** *** 1,13 **** /******************************** -*- C -*- **************************** * ! * Emulation for poll * * ***********************************************************************/ /*********************************************************************** * ! * Copyright 2001, 2002 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU Smalltalk. --- 1,13 ---- /******************************** -*- C -*- **************************** * ! * poll(2) emulation * * ***********************************************************************/ /*********************************************************************** * ! * Copyright 2001, 2002, 2003 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU Smalltalk. *************** *** 28,48 **** * ***********************************************************************/ - #ifdef HAVE_CONFIG_H #include "config.h" - #endif - #include "poll.h" #include #include #include - #include "socketx.h" - - #ifdef HAVE_UNISTD_H - # include - #endif ! int poll(struct pollfd *pfd, int nfd, int timeout) { fd_set rfds, wfds, efds; struct timeval tv, *ptv; --- 28,44 ---- * ***********************************************************************/ #include "config.h" #include "poll.h" + #include + #include #include #include + #include #include ! int ! poll (struct pollfd *pfd, int nfd, int timeout) { fd_set rfds, wfds, efds; struct timeval tv, *ptv; *************** *** 51,150 **** char data[64]; /* poll(2) semantics */ ! if (pfd == NULL) { ! errno = EFAULT; ! return -1; ! } /* convert timeout number into a timeval structure */ ptv = &tv; ! if (timeout == 0) { ! /* return immediately */ ! ptv->tv_sec = 0; ! ptv->tv_usec = 0; ! } ! else if (timeout == INFTIM /* (-1) */) { ! /* wait forever */ ! ptv = NULL; ! } ! else if (timeout > 0) { ! /* return after timeout */ ! ptv->tv_sec = timeout / 1000; ! ptv->tv_usec = (timeout % 1000) * 1000; ! } ! else { ! errno = EINVAL; ! return -1; ! } /* create fd sets and determine max fd */ maxfd = -1; ! FD_ZERO(&rfds); ! FD_ZERO(&wfds); ! FD_ZERO(&efds); ! for(i = 0; i < nfd; i++) { ! if (pfd[i].fd < 0) ! continue; ! ! if (pfd[i].events & (POLLIN|POLLRDNORM)) ! FD_SET(pfd[i].fd, &rfds); ! ! /* see select(2): "the only exceptional condition detectable ! is out-of-band data received on a socket", hence we push ! POLLWRBAND events onto wfds instead of efds. */ ! if (pfd[i].events & (POLLOUT|POLLWRNORM|POLLWRBAND)) ! FD_SET(pfd[i].fd, &wfds); ! if (pfd[i].events & (POLLPRI|POLLRDBAND)) ! FD_SET(pfd[i].fd, &efds); ! if (pfd[i].fd >= maxfd && ! (pfd[i].events & (POLLIN|POLLOUT|POLLPRI| ! POLLRDNORM|POLLRDBAND| ! POLLWRNORM|POLLWRBAND))) ! maxfd = pfd[i].fd; ! } ! if (maxfd == -1) { ! errno = EINVAL; ! return -1; ! } /* examine fd sets */ ! rc = select(maxfd+1, &rfds, &wfds, &efds, ptv); /* establish results */ ! if (rc > 0) { ! rc = 0; ! for (i = 0; i < nfd; i++) { ! ok = 0; ! pfd[i].revents = 0; ! if (pfd[i].fd < 0) { ! pfd[i].revents |= POLLNVAL; ! continue; ! } ! if (FD_ISSET(pfd[i].fd, &rfds)) { ! /* support for POLLHUP */ ! if (recv(pfd[i].fd, data, 64, MSG_PEEK) == -1) { ! if (is_socket_error (ESHUTDOWN) || is_socket_error (ECONNRESET) || ! is_socket_error (ECONNABORTED) || is_socket_error (ENETRESET)) ! pfd[i].revents |= POLLHUP; ! } ! else { ! pfd[i].revents |= pfd[i].events & (POLLIN|POLLRDNORM); ! ok++; } - } - if (FD_ISSET(pfd[i].fd, &wfds)) { - pfd[i].revents |= pfd[i].events & (POLLOUT|POLLWRNORM|POLLWRBAND); - ok++; - } - if (FD_ISSET(pfd[i].fd, &efds)) { - pfd[i].revents |= pfd[i].events & (POLLPRI|POLLRDBAND); - ok++; - } - if (ok) - rc++; } - } return rc; } - --- 47,162 ---- char data[64]; /* poll(2) semantics */ ! if (pfd == NULL) ! { ! errno = EFAULT; ! return -1; ! } /* convert timeout number into a timeval structure */ ptv = &tv; ! if (timeout == 0) ! { ! /* return immediately */ ! ptv->tv_sec = 0; ! ptv->tv_usec = 0; ! } ! else if (timeout == INFTIM /* (-1) */ ) ! { ! /* wait forever */ ! ptv = NULL; ! } ! else if (timeout > 0) ! { ! /* return after timeout */ ! ptv->tv_sec = timeout / 1000; ! ptv->tv_usec = (timeout % 1000) * 1000; ! } ! else ! { ! errno = EINVAL; ! return -1; ! } /* create fd sets and determine max fd */ maxfd = -1; ! FD_ZERO (&rfds); ! FD_ZERO (&wfds); ! FD_ZERO (&efds); ! for (i = 0; i < nfd; i++) ! { ! if (pfd[i].fd < 0) ! continue; ! ! if (pfd[i].events & (POLLIN | POLLRDNORM)) ! FD_SET (pfd[i].fd, &rfds); ! ! /* see select(2): "the only exceptional condition detectable ! is out-of-band data received on a socket", hence we push ! POLLWRBAND events onto wfds instead of efds. */ ! if (pfd[i].events & (POLLOUT | POLLWRNORM | POLLWRBAND)) ! FD_SET (pfd[i].fd, &wfds); ! if (pfd[i].events & (POLLPRI | POLLRDBAND)) ! FD_SET (pfd[i].fd, &efds); ! if (pfd[i].fd >= maxfd && ! (pfd[i].events & (POLLIN | POLLOUT | POLLPRI | ! POLLRDNORM | POLLRDBAND | ! POLLWRNORM | POLLWRBAND))) ! maxfd = pfd[i].fd; ! } ! if (maxfd == -1) ! { ! errno = EINVAL; ! return -1; ! } /* examine fd sets */ ! rc = select (maxfd + 1, &rfds, &wfds, &efds, ptv); /* establish results */ ! if (rc > 0) ! { ! rc = 0; ! for (i = 0; i < nfd; i++) ! { ! ok = 0; ! pfd[i].revents = 0; ! if (pfd[i].fd < 0) ! { ! pfd[i].revents |= POLLNVAL; ! continue; ! } ! if (FD_ISSET (pfd[i].fd, &rfds)) ! { ! /* support for POLLHUP */ ! int save_errno = errno; ! if ((recv (pfd[i].fd, data, 64, MSG_PEEK) == -1) ! && (errno == ESHUTDOWN || errno == ECONNRESET || ! errno == ECONNABORTED || errno == ENETRESET)) ! pfd[i].revents |= POLLHUP; ! else ! { ! pfd[i].revents |= pfd[i].events & (POLLIN | POLLRDNORM); ! ok++; ! } ! ! errno = save_errno; ! } ! if (FD_ISSET (pfd[i].fd, &wfds)) ! { ! pfd[i].revents |= ! pfd[i].events & (POLLOUT | POLLWRNORM | POLLWRBAND); ! ok++; ! } ! if (FD_ISSET (pfd[i].fd, &efds)) ! { ! pfd[i].revents |= pfd[i].events & (POLLPRI | POLLRDBAND); ! ok++; ! } ! if (ok) ! rc++; } } return rc; } diff -rNC3 smalltalk-2.1.2/libgst/ChangeLog smalltalk-2.1.3/libgst/ChangeLog *** smalltalk-2.1.2/libgst/ChangeLog Fri May 9 09:25:22 2003 --- smalltalk-2.1.3/libgst/ChangeLog Sat Jun 28 15:52:28 2003 *************** *** 1,3 **** --- 1,59 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + + 2003-06-23 Paolo Bonzini + + * libgst/comp.c: death to _gst_get_method_descriptor and + _gst_set_method_descriptor. + + 2003-06-15 Paolo Bonzini + + * libgst/xlat.c: new function _gst_reset_inline_caches; + prefix _gst_ to global functions + * libgst/xlat.h: ditto + * libgst/interp.c: invoke _gst_reset_inline_caches + * libgst/comp.c: callers adjusted. + * libgst/oop.c: callers adjusted. + * libgst/oop.inl: callers adjusted. + * libgst/prims.def: callers adjusted. + + 2003-06-11 Paolo Bonzini + + * libgst/gstpriv.h: check for SmallIntegers in + read-only accessors. + * libgst/prims.def: don't crash in read-only and + weak object-related primitives + + 2003-06-10 Paolo Bonzini + + * libgst/oop.c: death to _gst_fixup_metaclass_objects. + * libgst/oop.h: ditto. + + 2003-06-09 Paolo Bonzini + + * libgst/interp-bc.inl: REGISTER with structs is not good. + * libgst/interp-jit.inl: REGISTER with structs is not good. + + 2003-06-08 Paolo Bonzini + + * libgst/interp.c: don't trap SIGBUS. + + 2003-06-05 Paolo Bonzini + + * libgst/oop.c: check for out of range _gst_mem.scan.queue_at + while scanning, not in QUEUE_NEXT. + + 2003-06-04 Paolo Bonzini + + * libgst/genpr-parse.y: start primitive numbers + from 1. + + 2003-05-27 Paolo Bonzini + + * libgst/prims.def: add VMpr_Object_allOwners + * libgst/dict.inl: implement is_owner + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/libgst/Makefile.am smalltalk-2.1.3/libgst/Makefile.am *** smalltalk-2.1.2/libgst/Makefile.am Fri May 9 10:41:42 2003 --- smalltalk-2.1.3/libgst/Makefile.am Sun Jun 22 13:38:22 2003 *************** *** 1,9 **** dist_noinst_DATA = valgrind.supp prims.def ! if USE_JIT_TRANSLATION ! INCLIGHTNING = -I$(top_srcdir)/lightning -I$(top_builddir)/lightning ! else INCLIGHTNING = endif if HAVE_SIGSEGV --- 1,9 ---- dist_noinst_DATA = valgrind.supp prims.def ! if HAVE_INSTALLED_LIGHTNING INCLIGHTNING = + else + INCLIGHTNING = -I$(top_srcdir)/lightning -I$(top_builddir)/lightning endif if HAVE_SIGSEGV diff -rNC3 smalltalk-2.1.2/libgst/Makefile.in smalltalk-2.1.3/libgst/Makefile.in *** smalltalk-2.1.2/libgst/Makefile.in Fri May 9 11:58:46 2003 --- smalltalk-2.1.3/libgst/Makefile.in Sun Jun 22 13:38:35 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 105,110 **** --- 107,113 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 177,185 **** sysconfdir = @sysconfdir@ target_alias = @target_alias@ dist_noinst_DATA = valgrind.supp prims.def ! @USE_JIT_TRANSLATION_TRUE@INCLIGHTNING = -I$(top_srcdir)/lightning -I$(top_builddir)/lightning ! @USE_JIT_TRANSLATION_FALSE@INCLIGHTNING = @HAVE_SIGSEGV_FALSE@INCSIGSEGV = @HAVE_SIGSEGV_TRUE@INCSIGSEGV = -I$(top_srcdir)/sigsegv/src -I$(top_builddir)/sigsegv/src --- 180,188 ---- sysconfdir = @sysconfdir@ target_alias = @target_alias@ dist_noinst_DATA = valgrind.supp prims.def + @HAVE_INSTALLED_LIGHTNING_FALSE@INCLIGHTNING = -I$(top_srcdir)/lightning -I$(top_builddir)/lightning ! @HAVE_INSTALLED_LIGHTNING_TRUE@INCLIGHTNING = @HAVE_SIGSEGV_FALSE@INCSIGSEGV = @HAVE_SIGSEGV_TRUE@INCSIGSEGV = -I$(top_srcdir)/sigsegv/src -I$(top_builddir)/sigsegv/src *************** *** 396,428 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 399,434 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/libgst/byte.c smalltalk-2.1.3/libgst/byte.c *** smalltalk-2.1.2/libgst/byte.c Fri May 9 09:02:13 2003 --- smalltalk-2.1.3/libgst/byte.c Thu Jun 19 12:52:47 2003 *************** *** 600,606 **** case 244: case 245: case 246: case 247: case 248: case 249: case 250: case 251: case 252: case 253: case 254: case 255: ! printf ("send selector %d, %d args", bp[0] & 15, (bp[0] >> 4) & 3); if (literal_vec) printf (" = %O", literal_vec[bp[0] & 15]); break; --- 600,606 ---- case 244: case 245: case 246: case 247: case 248: case 249: case 250: case 251: case 252: case 253: case 254: case 255: ! printf ("send selector %d, %d args", bp[0] & 15, (bp[0] - 208) >> 4); if (literal_vec) printf (" = %O", literal_vec[bp[0] & 15]); break; diff -rNC3 smalltalk-2.1.2/libgst/callin.c smalltalk-2.1.3/libgst/callin.c *** smalltalk-2.1.2/libgst/callin.c Fri May 9 09:02:37 2003 --- smalltalk-2.1.3/libgst/callin.c Sun Jun 22 13:37:39 2003 *************** *** 90,95 **** --- 90,97 ---- /* Smalltalk process support */ _gst_async_signal, _gst_sync_wait, _gst_async_signal_and_unregister, + + _gst_register_oop_array, _gst_unregister_oop_array }; OOP diff -rNC3 smalltalk-2.1.2/libgst/comp.c smalltalk-2.1.3/libgst/comp.c *** smalltalk-2.1.2/libgst/comp.c Fri May 9 09:04:09 2003 --- smalltalk-2.1.3/libgst/comp.c Tue Jun 24 23:43:46 2003 *************** *** 2620,2626 **** #ifdef USE_JIT_TRANSLATION if (oldMethod != _gst_nil_oop) ! discard_native_code (oldMethod); #endif _gst_invalidate_method_cache (); --- 2620,2626 ---- #ifdef USE_JIT_TRANSLATION if (oldMethod != _gst_nil_oop) ! _gst_discard_native_code (oldMethod); #endif _gst_invalidate_method_cache (); *************** *** 2808,2832 **** method = (gst_compiled_method) OOP_TO_OBJ (methodOOP); OOP_TO_OBJ (method->literals)->data[index - 1] = valueOOP; - } - - OOP - _gst_get_method_descriptor (OOP methodOOP) - { - gst_compiled_method method; - - method = (gst_compiled_method) OOP_TO_OBJ (methodOOP); - return (method->descriptor); - } - - void - _gst_set_method_descriptor (OOP methodOOP, - OOP descriptorOOP) - { - gst_compiled_method method; - - method = (gst_compiled_method) OOP_TO_OBJ (methodOOP); - method->descriptor = descriptorOOP; } OOP --- 2808,2813 ---- diff -rNC3 smalltalk-2.1.2/libgst/comp.h smalltalk-2.1.3/libgst/comp.h *** smalltalk-2.1.2/libgst/comp.h Fri May 9 09:20:50 2003 --- smalltalk-2.1.3/libgst/comp.h Mon Jun 23 14:35:15 2003 *************** *** 271,280 **** extern OOP _gst_compiled_method_at (OOP methodOOP, long int index); - /* Sets the method descriptor of METHODOOP to be DESCRIPTOROOP. */ - extern void _gst_set_method_descriptor (OOP methodOOP, - OOP descriptorOOP); - /* Prepares the compiler for execution, initializing some variables. */ extern void _gst_init_compiler (void); --- 271,276 ---- *************** *** 287,299 **** extern OOP _gst_compile_method (tree_node method, mst_Boolean returnLast, mst_Boolean install); - - /* Returns the descriptor for the given CompiledMethod METHODOOP, - normally an instance of MethodInfo. The descriptor contains - information about which category the method was stored under, and - information that can be used to reconstruct the source code for the - method. */ - extern OOP _gst_get_method_descriptor (OOP methodOOP) ATTRIBUTE_PURE; /* Constructs and returns a new CompiledMethod instance. It computes the method header based on its arguments, and on the contents of --- 283,288 ---- diff -rNC3 smalltalk-2.1.2/libgst/dict.c smalltalk-2.1.3/libgst/dict.c *** smalltalk-2.1.2/libgst/dict.c Fri May 9 09:04:27 2003 --- smalltalk-2.1.3/libgst/dict.c Tue Jun 24 23:44:11 2003 *************** *** 405,411 **** "HashedCollection", "tally", NULL, NULL }, {&_gst_set_class, &_gst_hashed_collection_class, ! true, false, true, 1, "Set", NULL, NULL, NULL }, {&_gst_identity_set_class, &_gst_set_class, --- 405,411 ---- "HashedCollection", "tally", NULL, NULL }, {&_gst_set_class, &_gst_hashed_collection_class, ! true, false, true, 0, "Set", NULL, NULL, NULL }, {&_gst_identity_set_class, &_gst_set_class, *************** *** 1142,1147 **** --- 1142,1149 ---- _gst_restore_cfunc_descriptor (oop); /* in cint.c */ else if UNCOMMON (OOP_CLASS (oop) == _gst_compiled_method_class) _gst_restore_primitive_number (oop, primitive_numbers_map); + else if UNCOMMON (OOP_CLASS (oop) == _gst_callin_process_class) + _gst_terminate_process (oop); } return (true); diff -rNC3 smalltalk-2.1.2/libgst/dict.inl smalltalk-2.1.3/libgst/dict.inl *** smalltalk-2.1.2/libgst/dict.inl Fri May 9 09:09:07 2003 --- smalltalk-2.1.3/libgst/dict.inl Tue Jun 24 23:44:11 2003 *************** *** 142,147 **** --- 142,151 ---- static inline int identity_dictionary_find_key_or_nil (OOP identityDictionaryOOP, OOP keyOOP); + /* Returns whether the SCANNEDOOP points to TARGETOOP. */ + static inline mst_Boolean is_owner (OOP scannedOOP, + OOP targetOOP); + /* Returns an Object (an Integer for byte or word objects) containing the value of the INDEX-th indexed instance variable of the Object pointed to by OOP. No range checks are done in INDEX. */ *************** *** 875,880 **** --- 879,924 ---- } else return words; + } + + mst_Boolean + is_owner (OOP scannedOOP, + OOP targetOOP) + { + mst_Object object; + OOP *scanPtr; + int n; + + object = OOP_TO_OBJ (scannedOOP); + if UNCOMMON (object->objClass == targetOOP) + return true; + + if UNCOMMON (scannedOOP->flags & F_CONTEXT) + { + gst_method_context ctx; + long methodSP; + ctx = (gst_method_context) object; + methodSP = TO_INT (ctx->spOffset); + n = ctx->contextStack + methodSP + 1 - object->data; + } + else + n = NUM_OOPS (object); + + /* Peel a couple of iterations for optimization. */ + if (n--) + { + scanPtr = object->data; + if UNCOMMON (*scanPtr++ == targetOOP) + return true; + + if (n--) + do + if UNCOMMON (*scanPtr++ == targetOOP) + return true; + while (n--); + } + + return false; } OOP diff -rNC3 smalltalk-2.1.2/libgst/genpr-parse.c smalltalk-2.1.3/libgst/genpr-parse.c *** smalltalk-2.1.2/libgst/genpr-parse.c Fri Apr 18 01:12:51 2003 --- smalltalk-2.1.3/libgst/genpr-parse.c Wed Jun 4 12:12:37 2003 *************** *** 1,4 **** ! /* A Bison parser, made from /home/utente/devel-gst/libgst/genpr-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. --- 1,4 ---- ! /* A Bison parser, made from /home/utente/devel-gst-stable/libgst/genpr-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. *************** *** 1459,1464 **** --- 1459,1466 ---- node->next = current_ids; current_ids = node; + prim_no++; + filprintf (def_fil, " _gst_primitive_table[%d].name = \"%s\";\n" " _gst_primitive_table[%d].attributes = %s;\n" *************** *** 1468,1475 **** prim_no, attrs, prim_no, id, prim_no, current_func_name); - - prim_no++; } int --- 1470,1475 ---- *************** *** 1536,1542 **** " _gst_primitive_table[i].func = VMpr_HOLE;\n" " }\n" "}\n" ! "\n", proto, stmt, def, prim_no); free (proto); free (stmt); --- 1536,1542 ---- " _gst_primitive_table[i].func = VMpr_HOLE;\n" " }\n" "}\n" ! "\n", proto, stmt, def, prim_no + 1); free (proto); free (stmt); diff -rNC3 smalltalk-2.1.2/libgst/genpr-parse.h smalltalk-2.1.3/libgst/genpr-parse.h *** smalltalk-2.1.2/libgst/genpr-parse.h Fri Apr 18 01:12:51 2003 --- smalltalk-2.1.3/libgst/genpr-parse.h Wed Jun 4 12:12:37 2003 *************** *** 1,4 **** ! /* A Bison parser, made from /home/utente/devel-gst/libgst/genpr-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. --- 1,4 ---- ! /* A Bison parser, made from /home/utente/devel-gst-stable/libgst/genpr-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. diff -rNC3 smalltalk-2.1.2/libgst/genpr-parse.y smalltalk-2.1.3/libgst/genpr-parse.y *** smalltalk-2.1.2/libgst/genpr-parse.y Fri Apr 18 01:11:15 2003 --- smalltalk-2.1.3/libgst/genpr-parse.y Wed Jun 4 12:12:34 2003 *************** *** 290,295 **** --- 290,297 ---- node->next = current_ids; current_ids = node; + prim_no++; + filprintf (def_fil, " _gst_primitive_table[%d].name = \"%s\";\n" " _gst_primitive_table[%d].attributes = %s;\n" *************** *** 299,306 **** prim_no, attrs, prim_no, id, prim_no, current_func_name); - - prim_no++; } int --- 301,306 ---- *************** *** 367,373 **** " _gst_primitive_table[i].func = VMpr_HOLE;\n" " }\n" "}\n" ! "\n", proto, stmt, def, prim_no); free (proto); free (stmt); --- 367,373 ---- " _gst_primitive_table[i].func = VMpr_HOLE;\n" " }\n" "}\n" ! "\n", proto, stmt, def, prim_no + 1); free (proto); free (stmt); diff -rNC3 smalltalk-2.1.2/libgst/gst-parse.c smalltalk-2.1.3/libgst/gst-parse.c *** smalltalk-2.1.2/libgst/gst-parse.c Thu Jan 16 12:23:22 2003 --- smalltalk-2.1.3/libgst/gst-parse.c Fri May 30 14:23:41 2003 *************** *** 1,4 **** ! /* A Bison parser, made from /home/utente/devel-gst/libgst/gst-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. --- 1,4 ---- ! /* A Bison parser, made from /home/utente/devel-gst-stable/libgst/gst-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. *************** *** 54,60 **** #define yylloc _gst_yylloc /* Copy the first part of user declarations. */ ! #line 35 "gst-parse.y" #include "gst.h" #include "gstpriv.h" --- 54,60 ---- #define yylloc _gst_yylloc /* Copy the first part of user declarations. */ ! #line 31 "gst-parse.y" #include "gst.h" #include "gstpriv.h" *************** *** 133,139 **** #endif #ifndef YYSTYPE ! #line 56 "gst-parse.y" typedef union { char cval; long double fval; --- 133,139 ---- #endif #ifndef YYSTYPE ! #line 52 "gst-parse.y" typedef union { char cval; long double fval; *************** *** 376,395 **** /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const unsigned short yyrline[] = { ! 0, 107, 107, 109, 110, 113, 120, 122, 125, 127, ! 135, 145, 152, 156, 161, 164, 178, 183, 187, 193, ! 197, 199, 202, 209, 214, 221, 225, 230, 236, 242, ! 247, 251, 257, 262, 269, 274, 278, 282, 289, 294, ! 299, 307, 309, 312, 319, 327, 329, 335, 340, 347, ! 349, 350, 353, 355, 356, 357, 358, 365, 371, 377, ! 382, 388, 390, 391, 392, 393, 394, 395, 396, 399, ! 404, 408, 412, 416, 420, 426, 433, 438, 444, 449, ! 453, 457, 464, 471, 478, 483, 489, 494, 501, 507, ! 513, 518, 525, 527, 528, 529, 545, 550, 557, 563, ! 569, 574, 581, 589, 595, 606, 613, 621, 627, 637, ! 645, 651, 657, 665, 671, 677, 682, 696, 701, 708, ! 710, 711, 714, 725, 727, 730, 737, 739, 742, 749, ! 754, 762, 769, 774, 781, 786, 790 }; #endif --- 376,395 ---- /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const unsigned short yyrline[] = { ! 0, 103, 103, 105, 106, 109, 116, 118, 121, 123, ! 131, 141, 148, 152, 157, 160, 174, 179, 183, 189, ! 193, 195, 198, 205, 210, 217, 221, 226, 232, 238, ! 243, 247, 253, 258, 265, 270, 274, 278, 285, 290, ! 295, 303, 305, 308, 315, 323, 325, 331, 336, 343, ! 345, 346, 349, 351, 352, 353, 354, 361, 367, 373, ! 378, 384, 386, 387, 388, 389, 390, 391, 392, 395, ! 400, 404, 408, 412, 416, 422, 429, 434, 440, 445, ! 449, 453, 460, 467, 474, 479, 485, 490, 497, 503, ! 509, 514, 521, 523, 524, 525, 541, 546, 553, 559, ! 565, 570, 577, 585, 591, 602, 609, 617, 623, 633, ! 641, 647, 653, 661, 667, 673, 678, 692, 697, 704, ! 706, 707, 710, 721, 723, 726, 733, 735, 738, 745, ! 750, 758, 765, 770, 777, 782, 786 }; #endif *************** *** 1319,1332 **** switch (yyn) { case 5: ! #line 115 "gst-parse.y" { _gst_clear_method_start_pos(); } break; case 9: ! #line 128 "gst-parse.y" { _gst_skip_compilation = false; _gst_set_compilation_class(_gst_undefined_object_class); --- 1319,1332 ---- switch (yyn) { case 5: ! #line 111 "gst-parse.y" { _gst_clear_method_start_pos(); } break; case 9: ! #line 124 "gst-parse.y" { _gst_skip_compilation = false; _gst_set_compilation_class(_gst_undefined_object_class); *************** *** 1334,1340 **** break; case 10: ! #line 138 "gst-parse.y" { if (yyvsp[-1].node && !_gst_had_error) _gst_execute_statements(yyvsp[-2].node, yyvsp[-1].node, false); --- 1334,1340 ---- break; case 10: ! #line 134 "gst-parse.y" { if (yyvsp[-1].node && !_gst_had_error) _gst_execute_statements(yyvsp[-2].node, yyvsp[-1].node, false); *************** *** 1345,1351 **** break; case 11: ! #line 146 "gst-parse.y" { _gst_had_error = false; yyerrok; --- 1345,1351 ---- break; case 11: ! #line 142 "gst-parse.y" { _gst_had_error = false; yyerrok; *************** *** 1353,1365 **** break; case 12: ! #line 154 "gst-parse.y" { } break; case 13: ! #line 157 "gst-parse.y" { _gst_had_error = false; yyerrok; --- 1353,1365 ---- break; case 12: ! #line 150 "gst-parse.y" { } break; case 13: ! #line 153 "gst-parse.y" { _gst_had_error = false; yyerrok; *************** *** 1367,1373 **** break; case 15: ! #line 166 "gst-parse.y" { yyval.node = _gst_make_method(&yyloc, yyvsp[-3].node, yyvsp[-2].node, yyvsp[-1].sval, yyvsp[0].node); if (!_gst_had_error && !_gst_skip_compilation) { --- 1367,1373 ---- break; case 15: ! #line 162 "gst-parse.y" { yyval.node = _gst_make_method(&yyloc, yyvsp[-3].node, yyvsp[-2].node, yyvsp[-1].sval, yyvsp[0].node); if (!_gst_had_error && !_gst_skip_compilation) { *************** *** 1381,1422 **** break; case 16: ! #line 180 "gst-parse.y" { yyval.node = _gst_make_unary_expr(&yyloc, NULL, yyvsp[0].sval); } break; case 17: ! #line 184 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, NULL, yyvsp[-1].sval, yyvsp[0].node); } break; case 18: ! #line 188 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, NULL, yyvsp[0].node); } break; case 22: ! #line 204 "gst-parse.y" { yyval.node = _gst_make_variable(&yyloc, yyvsp[0].sval); } break; case 23: ! #line 211 "gst-parse.y" { yyval.node = _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node); } break; case 24: ! #line 215 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node)); yyval.node = yyvsp[-2].node; --- 1381,1422 ---- break; case 16: ! #line 176 "gst-parse.y" { yyval.node = _gst_make_unary_expr(&yyloc, NULL, yyvsp[0].sval); } break; case 17: ! #line 180 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, NULL, yyvsp[-1].sval, yyvsp[0].node); } break; case 18: ! #line 184 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, NULL, yyvsp[0].node); } break; case 22: ! #line 200 "gst-parse.y" { yyval.node = _gst_make_variable(&yyloc, yyvsp[0].sval); } break; case 23: ! #line 207 "gst-parse.y" { yyval.node = _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node); } break; case 24: ! #line 211 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node)); yyval.node = yyvsp[-2].node; *************** *** 1424,1479 **** break; case 26: ! #line 227 "gst-parse.y" { yyval.sval = 0; } break; case 27: ! #line 231 "gst-parse.y" { yyval.sval = yyvsp[-1].sval; } break; case 28: ! #line 237 "gst-parse.y" { if (strcmp(yyvsp[0].sval, ">") != 0) YYFAIL; } break; case 29: ! #line 244 "gst-parse.y" { yyval.node = NULL; } break; case 30: ! #line 248 "gst-parse.y" { yyval.node = NULL; } break; case 31: ! #line 252 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 32: ! #line 259 "gst-parse.y" { yyval.node = _gst_make_variable_list(&yyloc, yyvsp[0].node); } break; case 33: ! #line 263 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_variable_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; --- 1424,1479 ---- break; case 26: ! #line 223 "gst-parse.y" { yyval.sval = 0; } break; case 27: ! #line 227 "gst-parse.y" { yyval.sval = yyvsp[-1].sval; } break; case 28: ! #line 233 "gst-parse.y" { if (strcmp(yyvsp[0].sval, ">") != 0) YYFAIL; } break; case 29: ! #line 240 "gst-parse.y" { yyval.node = NULL; } break; case 30: ! #line 244 "gst-parse.y" { yyval.node = NULL; } break; case 31: ! #line 248 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 32: ! #line 255 "gst-parse.y" { yyval.node = _gst_make_variable_list(&yyloc, yyvsp[0].node); } break; case 33: ! #line 259 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_variable_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; *************** *** 1481,1508 **** break; case 34: ! #line 271 "gst-parse.y" { yyval.node = NULL; } break; case 35: ! #line 275 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 36: ! #line 279 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 37: ! #line 283 "gst-parse.y" { _gst_add_node (yyvsp[-3].node, yyvsp[-1].node); yyval.node = yyvsp[-3].node; --- 1481,1508 ---- break; case 34: ! #line 267 "gst-parse.y" { yyval.node = NULL; } break; case 35: ! #line 271 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 36: ! #line 275 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 37: ! #line 279 "gst-parse.y" { _gst_add_node (yyvsp[-3].node, yyvsp[-1].node); yyval.node = yyvsp[-3].node; *************** *** 1510,1523 **** break; case 38: ! #line 291 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 39: ! #line 295 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, yyvsp[0].node); yyval.node = yyvsp[-2].node; --- 1510,1523 ---- break; case 38: ! #line 287 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 39: ! #line 291 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, yyvsp[0].node); yyval.node = yyvsp[-2].node; *************** *** 1525,1531 **** break; case 40: ! #line 300 "gst-parse.y" { yyval.node = yyvsp[-2].node; yyerrok; --- 1525,1531 ---- break; case 40: ! #line 296 "gst-parse.y" { yyval.node = yyvsp[-2].node; yyerrok; *************** *** 1534,1547 **** break; case 43: ! #line 314 "gst-parse.y" { yyval.node = _gst_make_statement_list(&yyloc, yyvsp[0].node); } break; case 44: ! #line 321 "gst-parse.y" { yyval.node = _gst_make_statement_list(&yyloc, _gst_make_return(&yyloc, yyvsp[0].node)); --- 1534,1547 ---- break; case 43: ! #line 310 "gst-parse.y" { yyval.node = _gst_make_statement_list(&yyloc, yyvsp[0].node); } break; case 44: ! #line 317 "gst-parse.y" { yyval.node = _gst_make_statement_list(&yyloc, _gst_make_return(&yyloc, yyvsp[0].node)); *************** *** 1549,1569 **** break; case 46: ! #line 330 "gst-parse.y" { yyval.node = _gst_make_assign(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 47: ! #line 337 "gst-parse.y" { yyval.node = _gst_make_assignment_list(&yyloc, yyvsp[-1].node); } break; case 48: ! #line 341 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_assignment_list(&yyloc, yyvsp[-1].node)); yyval.node = yyvsp[-2].node; --- 1549,1569 ---- break; case 46: ! #line 326 "gst-parse.y" { yyval.node = _gst_make_assign(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 47: ! #line 333 "gst-parse.y" { yyval.node = _gst_make_assignment_list(&yyloc, yyvsp[-1].node); } break; case 48: ! #line 337 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_assignment_list(&yyloc, yyvsp[-1].node)); yyval.node = yyvsp[-2].node; *************** *** 1571,1577 **** break; case 56: ! #line 359 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1571,1577 ---- break; case 56: ! #line 355 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1581,1587 **** break; case 57: ! #line 366 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1581,1587 ---- break; case 57: ! #line 362 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1590,1743 **** break; case 58: ! #line 372 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 59: ! #line 379 "gst-parse.y" { yyval.node = _gst_make_variable(&yyloc, yyvsp[0].sval); } break; case 60: ! #line 383 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_variable(&yyloc, yyvsp[0].sval)); } break; case 69: ! #line 401 "gst-parse.y" { yyval.node = _gst_make_int_constant(&yyloc, yyvsp[0].ival); } break; case 70: ! #line 405 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATD); } break; case 71: ! #line 409 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATE); } break; case 72: ! #line 413 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATQ); } break; case 73: ! #line 417 "gst-parse.y" { yyval.node = _gst_make_byte_object_constant(&yyloc, yyvsp[0].boval); } break; case 74: ! #line 421 "gst-parse.y" { yyval.node = _gst_make_oop_constant(&yyloc, yyvsp[0].oval); } break; case 75: ! #line 428 "gst-parse.y" { yyval.node = _gst_make_int_constant(&yyloc, yyvsp[0].ival); } break; case 76: ! #line 435 "gst-parse.y" { yyval.node = _gst_make_symbol_constant(&yyloc, yyvsp[0].node); } break; case 77: ! #line 439 "gst-parse.y" { yyval.node = _gst_make_symbol_constant(&yyloc, _gst_intern_ident(&yyloc, yyvsp[0].sval)); } break; case 78: ! #line 446 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 79: ! #line 450 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 80: ! #line 454 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 81: ! #line 458 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 82: ! #line 466 "gst-parse.y" { yyval.node = _gst_make_char_constant(&yyloc, yyvsp[0].cval); } break; case 83: ! #line 473 "gst-parse.y" { yyval.node = _gst_make_string_constant(&yyloc, yyvsp[0].sval); } break; case 84: ! #line 480 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 85: ! #line 484 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 86: ! #line 491 "gst-parse.y" { yyval.node = _gst_make_array_constant(&yyloc, NULL); } break; case 87: ! #line 495 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1590,1743 ---- break; case 58: ! #line 368 "gst-parse.y" { yyval.node = yyvsp[-1].node; } break; case 59: ! #line 375 "gst-parse.y" { yyval.node = _gst_make_variable(&yyloc, yyvsp[0].sval); } break; case 60: ! #line 379 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_variable(&yyloc, yyvsp[0].sval)); } break; case 69: ! #line 397 "gst-parse.y" { yyval.node = _gst_make_int_constant(&yyloc, yyvsp[0].ival); } break; case 70: ! #line 401 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATD); } break; case 71: ! #line 405 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATE); } break; case 72: ! #line 409 "gst-parse.y" { yyval.node = _gst_make_float_constant(&yyloc, yyvsp[0].fval, CONST_FLOATQ); } break; case 73: ! #line 413 "gst-parse.y" { yyval.node = _gst_make_byte_object_constant(&yyloc, yyvsp[0].boval); } break; case 74: ! #line 417 "gst-parse.y" { yyval.node = _gst_make_oop_constant(&yyloc, yyvsp[0].oval); } break; case 75: ! #line 424 "gst-parse.y" { yyval.node = _gst_make_int_constant(&yyloc, yyvsp[0].ival); } break; case 76: ! #line 431 "gst-parse.y" { yyval.node = _gst_make_symbol_constant(&yyloc, yyvsp[0].node); } break; case 77: ! #line 435 "gst-parse.y" { yyval.node = _gst_make_symbol_constant(&yyloc, _gst_intern_ident(&yyloc, yyvsp[0].sval)); } break; case 78: ! #line 442 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 79: ! #line 446 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 80: ! #line 450 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 81: ! #line 454 "gst-parse.y" { yyval.node = _gst_intern_ident(&yyloc, yyvsp[0].sval); } break; case 82: ! #line 462 "gst-parse.y" { yyval.node = _gst_make_char_constant(&yyloc, yyvsp[0].cval); } break; case 83: ! #line 469 "gst-parse.y" { yyval.node = _gst_make_string_constant(&yyloc, yyvsp[0].sval); } break; case 84: ! #line 476 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 85: ! #line 480 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 86: ! #line 487 "gst-parse.y" { yyval.node = _gst_make_array_constant(&yyloc, NULL); } break; case 87: ! #line 491 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1747,1753 **** break; case 88: ! #line 502 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1747,1753 ---- break; case 88: ! #line 498 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1756,1776 **** break; case 89: ! #line 508 "gst-parse.y" { yyval.node = _gst_make_array_constant(&yyloc, yyvsp[-1].node); } break; case 90: ! #line 515 "gst-parse.y" { yyval.node = _gst_make_array_elt(&yyloc, yyvsp[0].node); } break; case 91: ! #line 519 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_array_elt(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; --- 1756,1776 ---- break; case 89: ! #line 504 "gst-parse.y" { yyval.node = _gst_make_array_constant(&yyloc, yyvsp[-1].node); } break; case 90: ! #line 511 "gst-parse.y" { yyval.node = _gst_make_array_elt(&yyloc, yyvsp[0].node); } break; case 91: ! #line 515 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_array_elt(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; *************** *** 1778,1784 **** break; case 95: ! #line 530 "gst-parse.y" { OOP symbolOOP = yyvsp[0].node->v_expr.selector; if (symbolOOP == _gst_true_symbol) { --- 1778,1784 ---- break; case 95: ! #line 526 "gst-parse.y" { OOP symbolOOP = yyvsp[0].node->v_expr.selector; if (symbolOOP == _gst_true_symbol) { *************** *** 1795,1808 **** break; case 96: ! #line 547 "gst-parse.y" { yyval.node = _gst_make_byte_array_constant(&yyloc, NULL); } break; case 97: ! #line 551 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1795,1808 ---- break; case 96: ! #line 543 "gst-parse.y" { yyval.node = _gst_make_byte_array_constant(&yyloc, NULL); } break; case 97: ! #line 547 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1812,1818 **** break; case 98: ! #line 558 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1812,1818 ---- break; case 98: ! #line 554 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1821,1841 **** break; case 99: ! #line 564 "gst-parse.y" { yyval.node = _gst_make_byte_array_constant(&yyloc, yyvsp[-1].node); } break; case 100: ! #line 571 "gst-parse.y" { yyval.node = _gst_make_array_elt(&yyloc, yyvsp[0].node); } break; case 101: ! #line 575 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_array_elt(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; --- 1821,1841 ---- break; case 99: ! #line 560 "gst-parse.y" { yyval.node = _gst_make_byte_array_constant(&yyloc, yyvsp[-1].node); } break; case 100: ! #line 567 "gst-parse.y" { yyval.node = _gst_make_array_elt(&yyloc, yyvsp[0].node); } break; case 101: ! #line 571 "gst-parse.y" { _gst_add_node(yyvsp[-1].node, _gst_make_array_elt(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-1].node; *************** *** 1843,1849 **** break; case 102: ! #line 583 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1843,1849 ---- break; case 102: ! #line 579 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1853,1859 **** break; case 103: ! #line 590 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1853,1859 ---- break; case 103: ! #line 586 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1862,1868 **** break; case 104: ! #line 597 "gst-parse.y" { yyval.node = _gst_make_binding_constant(&yyloc, yyvsp[-1].node); if (!yyval.node) { --- 1862,1868 ---- break; case 104: ! #line 593 "gst-parse.y" { yyval.node = _gst_make_binding_constant(&yyloc, yyvsp[-1].node); if (!yyval.node) { *************** *** 1873,1886 **** break; case 105: ! #line 608 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 106: ! #line 615 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1873,1886 ---- break; case 105: ! #line 604 "gst-parse.y" { yyval.node = yyvsp[0].node; } break; case 106: ! #line 611 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1890,1896 **** break; case 107: ! #line 622 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1890,1896 ---- break; case 107: ! #line 618 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1899,1905 **** break; case 108: ! #line 628 "gst-parse.y" { OOP result = _gst_nil_oop; if (yyvsp[-1].node && !_gst_had_error) --- 1899,1905 ---- break; case 108: ! #line 624 "gst-parse.y" { OOP result = _gst_nil_oop; if (yyvsp[-1].node && !_gst_had_error) *************** *** 1910,1916 **** break; case 109: ! #line 639 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1910,1916 ---- break; case 109: ! #line 635 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1920,1926 **** break; case 110: ! #line 646 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1920,1926 ---- break; case 110: ! #line 642 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1929,1942 **** break; case 111: ! #line 652 "gst-parse.y" { yyval.node = _gst_make_array_constructor(&yyloc, yyvsp[-1].node); } break; case 112: ! #line 659 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); --- 1929,1942 ---- break; case 111: ! #line 648 "gst-parse.y" { yyval.node = _gst_make_array_constructor(&yyloc, yyvsp[-1].node); } break; case 112: ! #line 655 "gst-parse.y" { yyclearin; _gst_unread_char ('!'); *************** *** 1946,1952 **** break; case 113: ! #line 666 "gst-parse.y" { yyerrok; _gst_had_error = true; --- 1946,1952 ---- break; case 113: ! #line 662 "gst-parse.y" { yyerrok; _gst_had_error = true; *************** *** 1955,1975 **** break; case 114: ! #line 672 "gst-parse.y" { yyval.node = _gst_make_block(&yyloc, yyvsp[-3].node, yyvsp[-2].node, yyvsp[-1].node); } break; case 115: ! #line 679 "gst-parse.y" { yyval.node = NULL; } break; case 116: ! #line 683 "gst-parse.y" { if (yyvsp[0].sval[0] != '|') { YYFAIL; --- 1955,1975 ---- break; case 114: ! #line 668 "gst-parse.y" { yyval.node = _gst_make_block(&yyloc, yyvsp[-3].node, yyvsp[-2].node, yyvsp[-1].node); } break; case 115: ! #line 675 "gst-parse.y" { yyval.node = NULL; } break; case 116: ! #line 679 "gst-parse.y" { if (yyvsp[0].sval[0] != '|') { YYFAIL; *************** *** 1981,1994 **** break; case 117: ! #line 698 "gst-parse.y" { yyval.node = _gst_make_variable_list(&yyloc, yyvsp[0].node); } break; case 118: ! #line 702 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_variable_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-2].node; --- 1981,1994 ---- break; case 117: ! #line 694 "gst-parse.y" { yyval.node = _gst_make_variable_list(&yyloc, yyvsp[0].node); } break; case 118: ! #line 698 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_variable_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-2].node; *************** *** 1996,2002 **** break; case 122: ! #line 716 "gst-parse.y" { if (is_unlikely_selector (yyvsp[0].sval)) { _gst_warningf ("sending `%s', most likely you " --- 1996,2002 ---- break; case 122: ! #line 712 "gst-parse.y" { if (is_unlikely_selector (yyvsp[0].sval)) { _gst_warningf ("sending `%s', most likely you " *************** *** 2007,2034 **** break; case 125: ! #line 732 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, yyvsp[-2].node, yyvsp[-1].sval, yyvsp[0].node); } break; case 128: ! #line 744 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 129: ! #line 751 "gst-parse.y" { yyval.node = _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node); } break; case 130: ! #line 756 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node)); yyval.node = yyvsp[-2].node; --- 2007,2034 ---- break; case 125: ! #line 728 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, yyvsp[-2].node, yyvsp[-1].sval, yyvsp[0].node); } break; case 128: ! #line 740 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 129: ! #line 747 "gst-parse.y" { yyval.node = _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node); } break; case 130: ! #line 752 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_keyword_list(&yyloc, yyvsp[-1].sval, yyvsp[0].node)); yyval.node = yyvsp[-2].node; *************** *** 2036,2056 **** break; case 131: ! #line 764 "gst-parse.y" { yyval.node = _gst_make_cascaded_message(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 132: ! #line 771 "gst-parse.y" { yyval.node = _gst_make_message_list(&yyloc, yyvsp[0].node); } break; case 133: ! #line 775 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_message_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-2].node; --- 2036,2056 ---- break; case 131: ! #line 760 "gst-parse.y" { yyval.node = _gst_make_cascaded_message(&yyloc, yyvsp[-1].node, yyvsp[0].node); } break; case 132: ! #line 767 "gst-parse.y" { yyval.node = _gst_make_message_list(&yyloc, yyvsp[0].node); } break; case 133: ! #line 771 "gst-parse.y" { _gst_add_node(yyvsp[-2].node, _gst_make_message_list(&yyloc, yyvsp[0].node)); yyval.node = yyvsp[-2].node; *************** *** 2058,2078 **** break; case 134: ! #line 783 "gst-parse.y" { yyval.node = _gst_make_unary_expr(&yyloc, NULL, yyvsp[0].sval); } break; case 135: ! #line 787 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, NULL, yyvsp[-1].sval, yyvsp[0].node); } break; case 136: ! #line 791 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, NULL, yyvsp[0].node); } --- 2058,2078 ---- break; case 134: ! #line 779 "gst-parse.y" { yyval.node = _gst_make_unary_expr(&yyloc, NULL, yyvsp[0].sval); } break; case 135: ! #line 783 "gst-parse.y" { yyval.node = _gst_make_binary_expr(&yyloc, NULL, yyvsp[-1].sval, yyvsp[0].node); } break; case 136: ! #line 787 "gst-parse.y" { yyval.node = _gst_make_keyword_expr(&yyloc, NULL, yyvsp[0].node); } *************** *** 2254,2260 **** } ! #line 797 "gst-parse.y" /* * ADDITIONAL C CODE --- 2254,2260 ---- } ! #line 793 "gst-parse.y" /* * ADDITIONAL C CODE diff -rNC3 smalltalk-2.1.2/libgst/gst-parse.h smalltalk-2.1.3/libgst/gst-parse.h *** smalltalk-2.1.2/libgst/gst-parse.h Thu Jan 16 12:23:22 2003 --- smalltalk-2.1.3/libgst/gst-parse.h Fri May 30 14:23:41 2003 *************** *** 1,4 **** ! /* A Bison parser, made from /home/utente/devel-gst/libgst/gst-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. --- 1,4 ---- ! /* A Bison parser, made from /home/utente/devel-gst-stable/libgst/gst-parse.y, by GNU bison 1.49b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. *************** *** 76,82 **** #ifndef YYSTYPE ! #line 56 "gst-parse.y" typedef union { char cval; long double fval; --- 76,82 ---- #ifndef YYSTYPE ! #line 52 "gst-parse.y" typedef union { char cval; long double fval; diff -rNC3 smalltalk-2.1.2/libgst/gst-parse.y smalltalk-2.1.3/libgst/gst-parse.y *** smalltalk-2.1.2/libgst/gst-parse.y Thu Jan 16 12:22:47 2003 --- smalltalk-2.1.3/libgst/gst-parse.y Fri May 30 14:18:35 2003 *************** *** 2,11 **** * * GNU Smalltalk language grammar definition * - * $Revision: 1.95.1$ - * $Date: 2000/12/27 10:45:49$ - * $Author: pb$ - * ***********************************************************************/ /*********************************************************************** --- 2,7 ---- diff -rNC3 smalltalk-2.1.2/libgst/gstpriv.h smalltalk-2.1.3/libgst/gstpriv.h *** smalltalk-2.1.2/libgst/gstpriv.h Fri May 9 09:21:22 2003 --- smalltalk-2.1.3/libgst/gstpriv.h Wed Jun 11 22:46:22 2003 *************** *** 191,197 **** /* Answer whether an object, OOP, is readonly. */ #define IS_OOP_READONLY(oop) \ ! (((oop)->flags & F_READONLY) != 0) /* Set whether an object, OOP, is readonly or readwrite. */ #define MAKE_OOP_READONLY(oop, ro) do { \ --- 191,197 ---- /* Answer whether an object, OOP, is readonly. */ #define IS_OOP_READONLY(oop) \ ! (IS_INT((oop)) ? true : ((oop)->flags & F_READONLY) != 0) /* Set whether an object, OOP, is readonly or readwrite. */ #define MAKE_OOP_READONLY(oop, ro) do { \ diff -rNC3 smalltalk-2.1.2/libgst/interp-bc.inl smalltalk-2.1.3/libgst/interp-bc.inl *** smalltalk-2.1.2/libgst/interp-bc.inl Tue May 6 19:12:47 2003 --- smalltalk-2.1.3/libgst/interp-bc.inl Mon Jun 9 17:37:40 2003 *************** *** 216,222 **** OOP methodOOP; method_cache_entry * methodData; gst_method_context newContext; ! REGISTER (1, method_header header); /* hash the selector and the class of the receiver together using XOR. Since both are addresses in the object table, and since --- 216,222 ---- OOP methodOOP; method_cache_entry * methodData; gst_method_context newContext; ! method_header header; /* hash the selector and the class of the receiver together using XOR. Since both are addresses in the object table, and since *************** *** 336,344 **** { int sendArgs; OOP receiver; REGISTER (1, gst_compiled_method method); REGISTER (2, gst_method_context newContext); - REGISTER (3, method_header header); _gst_sample_counter++; --- 336,344 ---- { int sendArgs; OOP receiver; + method_header header; REGISTER (1, gst_compiled_method method); REGISTER (2, gst_method_context newContext); _gst_sample_counter++; *************** *** 408,416 **** send_block_value (int numArgs) { OOP closureOOP; REGISTER (1, gst_block_context blockContext); REGISTER (2, gst_block_closure closure); - REGISTER (3, block_header header); closureOOP = STACK_AT (numArgs); closure = (gst_block_closure) OOP_TO_OBJ (closureOOP); --- 408,416 ---- send_block_value (int numArgs) { OOP closureOOP; + block_header header; REGISTER (1, gst_block_context blockContext); REGISTER (2, gst_block_closure closure); closureOOP = STACK_AT (numArgs); closure = (gst_block_closure) OOP_TO_OBJ (closureOOP); *************** *** 915,923 **** /******************** COMMON DEFINITIONS *********************************/ #ifdef OPTIMIZE ! # define ILLEGAL(errMsg) #else ! # define ILLEGAL(errMsg) _gst_errorf(errMsg) #endif #define BRANCH_LABEL(lab) lab: --- 915,923 ---- /******************** COMMON DEFINITIONS *********************************/ #ifdef OPTIMIZE ! # define INVALID(errMsg) #else ! # define INVALID(errMsg) _gst_errorf(errMsg) #endif #define BRANCH_LABEL(lab) lab: *************** *** 1785,1791 **** break; case 2: LOAD2; ! ILLEGAL ("Attempt to store into a method constant"); break; case 3: default: --- 1785,1791 ---- break; case 2: LOAD2; ! INVALID ("Attempt to store into a method constant"); break; case 3: default: *************** *** 1809,1815 **** break; case 2: LOAD2; ! ILLEGAL ("Attempt to store into a method constant"); break; case 3: default: --- 1809,1815 ---- break; case 2: LOAD2; ! INVALID ("Attempt to store into a method constant"); break; case 3: default: *************** *** 1927,1933 **** { case 0: LOAD3; ! ILLEGAL ("Invalid bytecode 138/0"); break; case 1: LOAD3; --- 1927,1933 ---- { case 0: LOAD3; ! INVALID ("Invalid bytecode 138/0"); break; case 1: LOAD3; *************** *** 2006,2012 **** abort (); process->returnedValue = POP_OOP (); ! terminate_process (activeProcessOOP); if (processOOP == activeProcessOOP) SET_EXCEPT_FLAG (true); } --- 2006,2012 ---- abort (); process->returnedValue = POP_OOP (); ! _gst_terminate_process (activeProcessOOP); if (processOOP == activeProcessOOP) SET_EXCEPT_FLAG (true); } diff -rNC3 smalltalk-2.1.2/libgst/interp-jit.inl smalltalk-2.1.3/libgst/interp-jit.inl *** smalltalk-2.1.2/libgst/interp-jit.inl Fri Jan 17 10:37:21 2003 --- smalltalk-2.1.3/libgst/interp-jit.inl Sun Jun 15 22:16:59 2003 *************** *** 192,198 **** methodData->receiverClass = receiverClass; methodData->nativeCode = ! get_native_code (methodData->methodOOP, receiverClass); return (methodData->nativeCode); } --- 192,198 ---- methodData->receiverClass = receiverClass; methodData->nativeCode = ! _gst_get_native_code (methodData->methodOOP, receiverClass); return (methodData->nativeCode); } *************** *** 204,212 **** search */ { long hashIndex; REGISTER (1, OOP receiverClass); REGISTER (2, method_cache_entry * methodData); - REGISTER (3, method_header header); /* hash the selector and the class of the receiver together using XOR. Since both are addresses in the object table, and since --- 204,212 ---- search */ { long hashIndex; + method_header header; REGISTER (1, OOP receiverClass); REGISTER (2, method_cache_entry * methodData); /* hash the selector and the class of the receiver together using XOR. Since both are addresses in the object table, and since *************** *** 242,248 **** { methodData->receiverClass = receiverClass; methodData->nativeCode = ! get_native_code (methodData->methodOOP, receiverClass); } native_ip = methodData->nativeCode; } --- 242,248 ---- { methodData->receiverClass = receiverClass; methodData->nativeCode = ! _gst_get_native_code (methodData->methodOOP, receiverClass); } native_ip = methodData->nativeCode; } *************** *** 266,272 **** receiverClass = IS_INT (receiver) ? _gst_small_integer_class : OOP_CLASS (receiver); ! native_ip = get_native_code (methodOOP, receiverClass); } static mst_Boolean --- 266,272 ---- receiverClass = IS_INT (receiver) ? _gst_small_integer_class : OOP_CLASS (receiver); ! native_ip = _gst_get_native_code (methodOOP, receiverClass); } static mst_Boolean *************** *** 274,281 **** { OOP closureOOP; OOP receiverClass; REGISTER (2, gst_block_closure closure); - REGISTER (3, block_header header); closureOOP = STACK_AT (numArgs); closure = (gst_block_closure) OOP_TO_OBJ (closureOOP); --- 274,281 ---- { OOP closureOOP; OOP receiverClass; + block_header header; REGISTER (2, gst_block_closure closure); closureOOP = STACK_AT (numArgs); closure = (gst_block_closure) OOP_TO_OBJ (closureOOP); *************** *** 290,296 **** ? _gst_small_integer_class : OOP_CLASS (closure->receiver); ! native_ip = get_native_code (closure->block, receiverClass); return (false); } --- 290,296 ---- ? _gst_small_integer_class : OOP_CLASS (closure->receiver); ! native_ip = _gst_get_native_code (closure->block, receiverClass); return (false); } *************** *** 333,339 **** /* Go get the native IP! */ virtualIP = TO_INT (context->ipOffset); native_ip = ! map_virtual_ip (context->method, receiverClass, virtualIP); #ifndef OPTIMIZE if (!native_ip) --- 333,339 ---- /* Go get the native IP! */ virtualIP = TO_INT (context->ipOffset); native_ip = ! _gst_map_virtual_ip (context->method, receiverClass, virtualIP); #ifndef OPTIMIZE if (!native_ip) *************** *** 388,394 **** OOP activeProcessOOP = get_scheduled_process (); gst_callin_process process = (gst_callin_process) OOP_TO_OBJ (activeProcessOOP); process->returnedValue = POP_OOP (); ! terminate_process (activeProcessOOP); } if UNCOMMON (_gst_abort_execution) --- 388,394 ---- OOP activeProcessOOP = get_scheduled_process (); gst_callin_process process = (gst_callin_process) OOP_TO_OBJ (activeProcessOOP); process->returnedValue = POP_OOP (); ! _gst_terminate_process (activeProcessOOP); } if UNCOMMON (_gst_abort_execution) diff -rNC3 smalltalk-2.1.2/libgst/interp.c smalltalk-2.1.3/libgst/interp.c *** smalltalk-2.1.2/libgst/interp.c Fri May 9 12:00:16 2003 --- smalltalk-2.1.3/libgst/interp.c Sun Jun 15 22:27:25 2003 *************** *** 364,372 **** /* Suspend execution of PROCESSOOP. */ static void suspend_process (OOP processOOP); - /* Terminate execution of the given PROCESSOOP. */ - static void terminate_process (OOP processOOP); - /* Resume execution of PROCESSOOP. If it must preempt the currently running process, or if ALWAYSPREEMPT is true, put to sleep the active process and activate PROCESSOOP instead; if it must not, --- 364,369 ---- *************** *** 1407,1413 **** } void ! terminate_process (OOP processOOP) { gst_process process; --- 1404,1410 ---- } void ! _gst_terminate_process (OOP processOOP) { gst_process process; *************** *** 1954,1960 **** unsigned int i; #ifdef USE_JIT_TRANSLATION ! init_translator (); ip = 0; #else ip = NULL; --- 1951,1957 ---- unsigned int i; #ifdef USE_JIT_TRANSLATION ! _gst_init_translator (); ip = 0; #else ip = NULL; *************** *** 2108,2113 **** --- 2105,2118 ---- { int i; + #ifdef USE_JIT_TRANSLATION + /* Only run this if code was run since the last method cache cleanup. */ + if (_gst_sample_counter) + _gst_reset_inline_caches (); + #else + at_cache_class = at_put_cache_class = size_cache_class = NULL; + #endif + _gst_cache_misses = _gst_sample_counter = 0; for (i = 0; i < METHOD_CACHE_SIZE; i++) *************** *** 2118,2126 **** #endif } - #ifndef USE_JIT_TRANSLATION - at_cache_class = at_put_cache_class = size_cache_class = NULL; - #endif } --- 2123,2128 ---- *************** *** 2283,2291 **** { #ifdef USE_JIT_TRANSLATION _gst_set_signal_handler (SIGILL, interrupt_handler); - #endif - #ifdef SIGBUS - _gst_set_signal_handler (SIGBUS, interrupt_handler); #endif _gst_set_signal_handler (SIGABRT, interrupt_handler); } --- 2285,2290 ---- diff -rNC3 smalltalk-2.1.2/libgst/interp.h smalltalk-2.1.3/libgst/interp.h *** smalltalk-2.1.2/libgst/interp.h Fri May 9 09:20:46 2003 --- smalltalk-2.1.3/libgst/interp.h Tue May 27 20:21:37 2003 *************** *** 392,397 **** --- 392,400 ---- are actually freed. */ extern void _gst_validate_method_cache_entries (void); + /* Terminate execution of the given PROCESSOOP. */ + extern void _gst_terminate_process (OOP processOOP); + /* Similar to _gst_send_message_internal, but forces the specified CompiledMethod to be sent. If it is not valid for the current receiver, well, you are looking for trouble and well deserve it. diff -rNC3 smalltalk-2.1.2/libgst/oop.c smalltalk-2.1.3/libgst/oop.c *** smalltalk-2.1.2/libgst/oop.c Fri May 9 09:53:03 2003 --- smalltalk-2.1.3/libgst/oop.c Sun Jun 15 22:18:44 2003 *************** *** 513,532 **** _gst_char_object_table[i].objClass = _gst_char_class; } - void - _gst_fixup_metaclass_objects (void) - { - OOP oop; - mst_Object object; - - for (oop = _gst_mem.ot; - oop <= _gst_mem.last_allocated_oop; oop++) - { - object = OOP_TO_OBJ (oop); - if (IS_OOP_VALID (oop) && IS_NIL (object->objClass)) - object->objClass = _gst_metaclass_class; - } - } OOP _gst_find_an_instance (OOP class_oop) --- 513,518 ---- *************** *** 1173,1179 **** #ifdef USE_JIT_TRANSLATION /* Go and really free the blocks associated to garbage collected native code. */ ! free_released_native_code (); #endif } --- 1159,1165 ---- #ifdef USE_JIT_TRANSLATION /* Go and really free the blocks associated to garbage collected native code. */ ! _gst_free_released_native_code (); #endif } *************** *** 1226,1232 **** /* Reachable, but not referenced by active contexts. We give it a second chance... */ if (oop->flags & F_XLAT_2NDCHANCE) ! release_native_code (oop); oop->flags ^= F_XLAT_2NDCHANCE; } --- 1212,1218 ---- /* Reachable, but not referenced by active contexts. We give it a second chance... */ if (oop->flags & F_XLAT_2NDCHANCE) ! _gst_release_native_code (oop); oop->flags ^= F_XLAT_2NDCHANCE; } *************** *** 1284,1290 **** method could use the same OOP as this one and the old method one would be executed instead of the new one! */ ! release_native_code (oop); #endif if UNCOMMON (oop->flags & F_WEAK) --- 1270,1276 ---- method could use the same OOP as this one and the old method one would be executed instead of the new one! */ ! _gst_release_native_code (oop); #endif if UNCOMMON (oop->flags & F_WEAK) *************** *** 1741,1757 **** while (_gst_mem.scan.queue_at != _gst_mem.tenuring_queue.allocPtr) { ! OOP oop = *_gst_mem.scan.queue_at; int i, numFields; #if defined(GC_DEBUGGING) printf (">Scan "); _gst_display_oop (oop); #endif _gst_mem.scan.current = oop; ! _gst_mem.scan.queue_at = QUEUE_NEXT (&_gst_mem.tenuring_queue, ! _gst_mem.scan.queue_at + 1); if (oop->flags & F_EPHEMERON) continue; --- 1727,1753 ---- while (_gst_mem.scan.queue_at != _gst_mem.tenuring_queue.allocPtr) { ! OOP oop; int i, numFields; + if (_gst_mem.scan.queue_at >= _gst_mem.tenuring_queue.topPtr) + _gst_mem.scan.queue_at = _gst_mem.tenuring_queue.minPtr; + + if (_gst_mem.scan.queue_at == _gst_mem.tenuring_queue.allocPtr) + break; + + oop = *_gst_mem.scan.queue_at; + #if defined(GC_DEBUGGING) + if (!IS_OOP_ADDR (oop)) + abort(); + printf (">Scan "); _gst_display_oop (oop); #endif _gst_mem.scan.current = oop; ! _gst_mem.scan.queue_at++; if (oop->flags & F_EPHEMERON) continue; diff -rNC3 smalltalk-2.1.2/libgst/oop.h smalltalk-2.1.3/libgst/oop.h *** smalltalk-2.1.2/libgst/oop.h Fri Apr 18 01:12:20 2003 --- smalltalk-2.1.3/libgst/oop.h Tue Jun 10 13:29:28 2003 *************** *** 255,268 **** extern void _gst_swap_objects (OOP oop1, OOP oop2); - /* Called after the fundamental class hierarchy has been defined, this - function goes through and fixes up all the objects in the oop table - that don't have a objClass (objClass == _gst_nil_oop). It's a - chicken-and-egg problem: the _gst_metaclass_class doesn't yet exist - when the hierarchy is put together, so after it's created, we have - to go back and fix all the metaclasses that we created. */ - extern void _gst_fixup_metaclass_objects (void); - /* Flip the two survivor spaces. Starting from the root set, move eden objects to survivor space, tenuring objects when the top of the space is hit. Then tell the incremental sweeper not to sweep old objects. */ --- 255,260 ---- diff -rNC3 smalltalk-2.1.2/libgst/oop.inl smalltalk-2.1.3/libgst/oop.inl *** smalltalk-2.1.2/libgst/oop.inl Mon Oct 21 10:35:41 2002 --- smalltalk-2.1.3/libgst/oop.inl Sun Jun 15 22:18:08 2003 *************** *** 176,182 **** /* Reachable, but not referenced by active contexts. We give it a second chance... */ if (oop->flags & F_XLAT_2NDCHANCE) ! release_native_code (oop); oop->flags ^= F_XLAT_2NDCHANCE; } --- 176,182 ---- /* Reachable, but not referenced by active contexts. We give it a second chance... */ if (oop->flags & F_XLAT_2NDCHANCE) ! _gst_release_native_code (oop); oop->flags ^= F_XLAT_2NDCHANCE; } diff -rNC3 smalltalk-2.1.2/libgst/prims.def smalltalk-2.1.3/libgst/prims.def *** smalltalk-2.1.2/libgst/prims.def Tue May 6 18:55:02 2003 --- smalltalk-2.1.3/libgst/prims.def Sun Jun 15 22:18:14 2003 *************** *** 2385,2396 **** --- 2385,2427 ---- } PRIM_FAILED; } + + + /* Object allOwners */ + primitive VMpr_Object_allOwners [succeed] + { + OOP oop1; + OOP oop2, lastOOP; + OOP result; + mst_Object object; + _gst_primitives_executed++; + + oop1 = STACKTOP (); + + _gst_reset_buffer (); + for (oop2 = _gst_mem.ot_base, lastOOP = &_gst_mem.ot[_gst_mem.ot_size]; + oop2 < lastOOP; oop2++) + { + if UNCOMMON (IS_OOP_VALID (oop2) && is_owner(oop2, oop1)) + _gst_add_buf_pointer (oop2); + } + + object = new_instance_with (_gst_array_class, + _gst_buffer_size() / sizeof (PTR), + &result); + + _gst_copy_buffer (object->data); + SET_STACKTOP (result); + PRIM_SUCCEEDED; + } + primitive VMpr_ContextPart_continue [checks_receiver,reload_ip] { OOP oop2; OOP oop1; + _gst_primitives_executed++; oop2 = POP_OOP (); oop1 = STACKTOP (); if COMMON (RECEIVER_IS_A_KIND_OF (OOP_CLASS (oop1), *************** *** 2736,2742 **** { _gst_primitives_executed++; #ifdef USE_JIT_TRANSLATION ! discard_native_code (STACKTOP ()); #endif PRIM_SUCCEEDED; } --- 2767,2773 ---- { _gst_primitives_executed++; #ifdef USE_JIT_TRANSLATION ! _gst_discard_native_code (STACKTOP ()); #endif PRIM_SUCCEEDED; } *************** *** 3480,3485 **** --- 3511,3517 ---- gst_processor_scheduler processor; int count; + _gst_primitives_executed++; processor = (gst_processor_scheduler) OOP_TO_OBJ (_gst_processor_oop); processOOP = processor->activeProcess; process = (gst_process) OOP_TO_OBJ (processOOP); *************** *** 4635,4655 **** oop2 = POP_OOP (); oop1 = STACKTOP (); ! if (oop2 == _gst_true_oop) ! { ! MAKE_OOP_READONLY (oop1, true); ! PRIM_SUCCEEDED; ! } ! else if (oop2 == _gst_false_oop) ! { ! MAKE_OOP_READONLY (oop1, false); ! PRIM_SUCCEEDED; ! } ! else { ! UNPOP (1); ! PRIM_FAILED; } } /* Behavior compileString: aString */ --- 4667,4688 ---- oop2 = POP_OOP (); oop1 = STACKTOP (); ! if (IS_OOP (oop1)) { ! if (oop2 == _gst_true_oop) ! { ! MAKE_OOP_READONLY (oop1, true); ! PRIM_SUCCEEDED; ! } ! else if (oop2 == _gst_false_oop) ! { ! MAKE_OOP_READONLY (oop1, false); ! PRIM_SUCCEEDED; ! } } + + UNPOP (1); + PRIM_FAILED; } /* Behavior compileString: aString */ *************** *** 4810,4820 **** } /* Object makeWeak */ ! primitive VMpr_Object_makeWeak [succeed] { _gst_primitives_executed++; ! if (!IS_OOP_WEAK (STACKTOP ())) ! _gst_make_oop_weak (STACKTOP ()); PRIM_SUCCEEDED; } --- 4843,4861 ---- } /* Object makeWeak */ ! primitive VMpr_Object_makeWeak [succeed,fail] { + OOP oop1; + _gst_primitives_executed++; ! oop1 = STACKTOP (); ! ! if (IS_INT (oop1)) ! PRIM_FAILED; ! ! if (!IS_OOP_WEAK (oop1)) ! _gst_make_oop_weak (oop1); ! PRIM_SUCCEEDED; } diff -rNC3 smalltalk-2.1.2/libgst/xlat.c smalltalk-2.1.3/libgst/xlat.c *** smalltalk-2.1.2/libgst/xlat.c Fri May 9 09:08:38 2003 --- smalltalk-2.1.3/libgst/xlat.c Sun Jun 15 22:30:09 2003 *************** *** 166,176 **** /* These are for the hash table of translations */ ! #define HASH_TABLE_SIZE (16384) #define METHOD_HEADER_SIZE (sizeof(method_entry) - sizeof(jit_insn)) /* Here is where the dynamically compiled stuff goes */ ! static method_entry *methods_table[HASH_TABLE_SIZE], *released, *discarded; /* Current status of the translator at the method level */ static method_entry *current; --- 166,178 ---- /* These are for the hash table of translations */ ! #define HASH_TABLE_SIZE (8192) #define METHOD_HEADER_SIZE (sizeof(method_entry) - sizeof(jit_insn)) /* Here is where the dynamically compiled stuff goes */ ! static method_entry *methods_table[HASH_TABLE_SIZE+1], *released; ! ! #define discarded methods_table[HASH_TABLE_SIZE] /* Current status of the translator at the method level */ static method_entry *current; *************** *** 356,362 **** static void gen_top_context (code_tree *tree); static void gen_nothing (code_tree *tree); static void gen_two_extras (code_tree *tree); ! static void gen_illegal (code_tree *tree); /* code_tree building functions */ static mst_Boolean dcd_push_rec_var (gst_uchar b, gst_uchar *bp); --- 358,364 ---- static void gen_top_context (code_tree *tree); static void gen_nothing (code_tree *tree); static void gen_two_extras (code_tree *tree); ! static void gen_invalid (code_tree *tree); /* code_tree building functions */ static mst_Boolean dcd_push_rec_var (gst_uchar b, gst_uchar *bp); *************** *** 402,412 **** /* Function table for the code generator */ static const emit_func emit_operation_funcs[96] = { ! gen_send, gen_binary_int, gen_illegal, gen_binary_bool, gen_block_copy, gen_fetch_class, gen_nil_check, gen_pop_into_array, ! gen_store_rec_var, gen_store_temp, gen_illegal, gen_store_lit_var, ! gen_illegal, gen_illegal, gen_store_outer, gen_illegal, gen_push_rec_var, gen_push_temp, gen_push_lit_const, gen_push_lit_var, gen_dup_top, gen_push_self, gen_push_outer, gen_push_context, --- 404,414 ---- /* Function table for the code generator */ static const emit_func emit_operation_funcs[96] = { ! gen_send, gen_binary_int, gen_invalid, gen_binary_bool, gen_block_copy, gen_fetch_class, gen_nil_check, gen_pop_into_array, ! gen_store_rec_var, gen_store_temp, gen_invalid, gen_store_lit_var, ! gen_invalid, gen_invalid, gen_store_outer, gen_invalid, gen_push_rec_var, gen_push_temp, gen_push_lit_const, gen_push_lit_var, gen_dup_top, gen_push_self, gen_push_outer, gen_push_context, *************** *** 415,424 **** gen_get_top, gen_alt_self, gen_alt_outer, gen_alt_context, gen_top_rec_var, gen_top_temp, gen_top_lit_const, gen_top_lit_var, ! gen_illegal, gen_top_self, gen_top_outer, gen_top_context, ! gen_nothing, gen_two_extras, gen_illegal, gen_illegal, ! gen_illegal, gen_illegal, gen_illegal, gen_illegal }; /* Functions used in the reconstruction of the parse true */ --- 417,426 ---- gen_get_top, gen_alt_self, gen_alt_outer, gen_alt_context, gen_top_rec_var, gen_top_temp, gen_top_lit_const, gen_top_lit_var, ! gen_invalid, gen_top_self, gen_top_outer, gen_top_context, ! gen_nothing, gen_two_extras, gen_invalid, gen_invalid, ! gen_invalid, gen_invalid, gen_invalid, gen_invalid }; /* Functions used in the reconstruction of the parse true */ *************** *** 2397,2405 **** } void ! gen_illegal (code_tree *tree) { ! printf ("Illegal operation %o in the code tree", tree->operation); exit (1); } --- 2399,2407 ---- } void ! gen_invalid (code_tree *tree) { ! printf ("Invalid operation %o in the code tree", tree->operation); exit (1); } *************** *** 4096,4102 **** /* External interfacing */ void ! init_translator (void) { static mst_Boolean initialized = false; --- 4098,4104 ---- /* External interfacing */ void ! _gst_init_translator (void) { static mst_Boolean initialized = false; *************** *** 4109,4115 **** } PTR ! map_virtual_ip (OOP methodOOP, OOP receiverClass, int ip) { ip_map *map; method_entry *method; --- 4111,4117 ---- } PTR ! _gst_map_virtual_ip (OOP methodOOP, OOP receiverClass, int ip) { ip_map *map; method_entry *method; *************** *** 4129,4135 **** } PTR ! get_native_code (OOP methodOOP, OOP receiverClass) { return find_method_entry (methodOOP, receiverClass)->nativeCode; } --- 4131,4137 ---- } PTR ! _gst_get_native_code (OOP methodOOP, OOP receiverClass) { return find_method_entry (methodOOP, receiverClass)->nativeCode; } *************** *** 4171,4211 **** } void ! walk_and_reset_caches (method_entry **head) { inline_cache *ic; jit_insn *lookupIP; - method_entry *method; ! for (method = *head; method; method = method->next) ! { ! ic = method->inlineCaches; ! if (!ic) ! continue; ! do ! { ! lookupIP = ic->is_super ? do_super_code : do_send_code; ! if (ic->cachedIP != lookupIP && !IS_VALID_IP (ic->cachedIP)) ! ic->cachedIP = lookupIP; ! } ! while ((ic++)->more); ! } } void ! free_released_native_code (void) { ! method_entry **hashEntry, *method; if (!released) return; ! for (hashEntry = methods_table; ! hashEntry < &methods_table[HASH_TABLE_SIZE]; hashEntry++) ! walk_and_reset_caches (hashEntry); ! ! walk_and_reset_caches (&discarded); _gst_validate_method_cache_entries (); /* now free the list */ --- 4173,4229 ---- } void ! reset_invalidated_inline_caches () { + method_entry *method, **hashEntry; inline_cache *ic; jit_insn *lookupIP; ! for (hashEntry = methods_table; hashEntry <= &discarded; hashEntry++) ! for (method = *hashEntry; method; method = method->next) ! { ! ic = method->inlineCaches; ! if (!ic) ! continue; ! do ! { ! lookupIP = ic->is_super ? do_super_code : do_send_code; ! if (ic->cachedIP != lookupIP && !IS_VALID_IP (ic->cachedIP)) ! ic->cachedIP = lookupIP; ! } ! while ((ic++)->more); ! } } void ! _gst_reset_inline_caches () { ! method_entry *method, **hashEntry; ! inline_cache *ic; ! ! for (hashEntry = methods_table; hashEntry <= &discarded; hashEntry++) ! for (method = *hashEntry; method; method = method->next) ! { ! ic = method->inlineCaches; ! if (!ic) ! continue; ! ! do ! ic->cachedIP = ic->is_super ? do_super_code : do_send_code; ! while ((ic++)->more); ! } ! } ! ! void ! _gst_free_released_native_code (void) ! { ! method_entry *method; if (!released) return; ! reset_invalidated_inline_caches (); _gst_validate_method_cache_entries (); /* now free the list */ *************** *** 4248,4254 **** } void ! release_native_code (OOP methodOOP) { unsigned int hashEntry; --- 4266,4272 ---- } void ! _gst_release_native_code (OOP methodOOP) { unsigned int hashEntry; *************** *** 4264,4270 **** } void ! discard_native_code (OOP methodOOP) { method_entry *method, **ptrNext; unsigned int hashEntry; --- 4282,4288 ---- } void ! _gst_discard_native_code (OOP methodOOP) { method_entry *method, **ptrNext; unsigned int hashEntry; diff -rNC3 smalltalk-2.1.2/libgst/xlat.h smalltalk-2.1.3/libgst/xlat.h *** smalltalk-2.1.2/libgst/xlat.h Tue Jun 25 20:35:35 2002 --- smalltalk-2.1.3/libgst/xlat.h Sun Jun 15 22:16:32 2003 *************** *** 47,60 **** } method_entry; ! extern PTR get_native_code (OOP methodOOP, OOP receiverClass); ! extern PTR map_virtual_ip (OOP methodOOP, OOP receiverClass, int ip); ! extern void free_released_native_code (void); ! extern void release_native_code (OOP methodOOP); ! extern void discard_native_code (OOP methodOOP); ! extern void init_translator (void); extern PTR (*_gst_run_native_code) (); --- 47,62 ---- } method_entry; ! extern void _gst_reset_inline_caches (); ! extern PTR _gst_get_native_code (OOP methodOOP, OOP receiverClass); ! extern PTR _gst_map_virtual_ip (OOP methodOOP, OOP receiverClass, int ip); ! ! extern void _gst_free_released_native_code (void); ! extern void _gst_release_native_code (OOP methodOOP); ! extern void _gst_discard_native_code (OOP methodOOP); ! extern void _gst_init_translator (void); extern PTR (*_gst_run_native_code) (); diff -rNC3 smalltalk-2.1.2/libltdl/Makefile.am smalltalk-2.1.3/libltdl/Makefile.am *** smalltalk-2.1.2/libltdl/Makefile.am Sat Feb 22 11:46:08 2003 --- smalltalk-2.1.3/libltdl/Makefile.am Tue Jun 24 23:44:40 2003 *************** *** 1,6 **** --- 1,7 ---- ## Process this file with automake to produce Makefile.in AUTOMAKE_OPTIONS = no-dependencies foreign + ACLOCAL_AMFLAGS = -I ../config if INSTALL_LTDL include_HEADERS = ltdl.h diff -rNC3 smalltalk-2.1.2/libltdl/Makefile.in smalltalk-2.1.3/libltdl/Makefile.in *** smalltalk-2.1.2/libltdl/Makefile.in Fri Feb 28 11:19:29 2003 --- smalltalk-2.1.3/libltdl/Makefile.in Sat Jun 28 12:23:40 2003 *************** *** 123,128 **** --- 123,129 ---- target_alias = @target_alias@ AUTOMAKE_OPTIONS = no-dependencies foreign + ACLOCAL_AMFLAGS = -I ../config @INSTALL_LTDL_TRUE@include_HEADERS = ltdl.h @INSTALL_LTDL_TRUE@lib_LTLIBRARIES = libltdl.la *************** *** 171,178 **** ../config/depcomp ../config/elisp-comp ../config/install-sh \ ../config/ltmain.sh ../config/mdate-sh ../config/missing \ ../config/mkinstalldirs ../config/texinfo.tex ../config/ylwrap \ ! COPYING.LIB Makefile.am Makefile.in acinclude.m4 aclocal.m4 \ ! config-h.in configure configure.ac SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) all: config.h --- 172,179 ---- ../config/depcomp ../config/elisp-comp ../config/install-sh \ ../config/ltmain.sh ../config/mdate-sh ../config/missing \ ../config/mkinstalldirs ../config/texinfo.tex ../config/ylwrap \ ! COPYING.LIB Makefile.am Makefile.in aclocal.m4 config-h.in \ ! configure configure.ac SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) all: config.h *************** *** 194,200 **** $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac acinclude.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 --- 195,201 ---- $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac ../config/align.m4 ../config/bold.m4 ../config/codeset.m4 ../config/ext_goto.m4 ../config/fault.m4 ../config/gcc.m4 ../config/getpagesize.m4 ../config/glib-2.0.m4 ../config/gmp.m4 ../config/gst.m4 ../config/gtk-2.0.m4 ../config/iconv.m4 ../config/inet.m4 ../config/lib-ld.m4 ../config/lib-link.m4 ../config/lib-prefix.m4 ../config/libtool.m4 ../config/lightning.m4 ../config/localtime.m4 ../config/ltdl.m4 ../config/mmap-anon.m4 ../config/modules.m4 ../config/pkg.m4 ../config/readline.m4 ../config/relocatable.m4 ../config/restrict.m4 ../config/sigaltstack-longjmp.m4 ../config/sigaltstack-siglongjmp.m4 ../config/sigaltstack.m4 ../config/snprintfv.m4 ../config/strtoul.m4 ../config/symbolset.m4 ../config/tcltk.m4 ../config/version.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 diff -rNC3 smalltalk-2.1.2/libltdl/acinclude.m4 smalltalk-2.1.3/libltdl/acinclude.m4 *** smalltalk-2.1.2/libltdl/acinclude.m4 Fri Feb 28 11:19:01 2003 --- smalltalk-2.1.3/libltdl/acinclude.m4 Thu Jan 1 01:00:00 1970 *************** *** 1,395 **** - ## ltdl.m4 - Configure ltdl for the target system. -*-Shell-script-*- - ## Copyright (C) 1999-2000 Free Software Foundation, Inc. - ## - ## This program is free software; you can redistribute it and/or modify - ## it under the terms of the GNU General Public License as published by - ## the Free Software Foundation; either version 2 of the License, or - ## (at your option) any later version. - ## - ## This program is distributed in the hope that it will be useful, but - ## WITHOUT ANY WARRANTY; without even the implied warranty of - ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - ## General Public License for more details. - ## - ## You should have received a copy of the GNU General Public License - ## along with this program; if not, write to the Free Software - ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - ## - ## As a special exception to the GNU General Public License, if you - ## distribute this file as part of a program that contains a - ## configuration script generated by Autoconf, you may include it under - ## the same distribution terms that you use for the rest of that program. - - # serial 5 AC_LIB_LTDL - - # AC_WITH_LTDL - # ------------ - # Clients of libltdl can use this macro to allow the installer to - # choose between a shipped copy of the ltdl sources or a preinstalled - # version of the library. - AC_DEFUN([AC_WITH_LTDL], - [AC_REQUIRE([AC_LIB_LTDL]) - AC_SUBST([LIBLTDL]) - AC_SUBST([INCLTDL]) - - # Unless the user asks us to check, assume no installed ltdl exists. - use_installed_libltdl=no - - AC_ARG_WITH([included_ltdl], - [ --with-included-ltdl use the GNU ltdl sources included here]) - - if test "x$with_included_ltdl" != xyes; then - # We are not being forced to use the included libltdl sources, so - # decide whether there is a useful installed version we can use. - AC_CHECK_HEADER([ltdl.h], - [AC_CHECK_LIB([ltdl], [lt_dlcaller_register], - [with_included_ltdl=no], - [with_included_ltdl=yes]) - ]) - fi - - if test "x$enable_ltdl_install" != xyes; then - # If the user did not specify an installable libltdl, then default - # to a convenience lib. - AC_LIBLTDL_CONVENIENCE - fi - - if test "x$with_included_ltdl" = xno; then - # If the included ltdl is not to be used. then Use the - # preinstalled libltdl we found. - AC_DEFINE([HAVE_LTDL], 1, - [Define this if a modern libltdl is already installed]) - LIBLTDL=-lltdl - fi - - # Report our decision... - AC_MSG_CHECKING([whether to use included libltdl]) - AC_MSG_RESULT([$with_included_ltdl]) - - AC_CONFIG_SUBDIRS([libltdl]) - ])# AC_WITH_LTDL - - - # AC_LIB_LTDL - # ----------- - # Perform all the checks necessary for compilation of the ltdl objects - # -- including compiler checks and header checks. - AC_DEFUN([AC_LIB_LTDL], - [AC_PREREQ(2.54) - AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([AC_C_CONST]) - AC_REQUIRE([AC_HEADER_STDC]) - AC_REQUIRE([AC_HEADER_DIRENT]) - AC_REQUIRE([AC_LIBTOOL_HEADER_ASSERT]) - AC_REQUIRE([_LT_AC_CHECK_DLFCN]) - AC_REQUIRE([AC_LTDL_ENABLE_INSTALL]) - AC_REQUIRE([AC_LTDL_SHLIBEXT]) - AC_REQUIRE([AC_LTDL_SHLIBPATH]) - AC_REQUIRE([AC_LTDL_SYSSEARCHPATH]) - AC_REQUIRE([AC_LTDL_OBJDIR]) - AC_REQUIRE([AC_LTDL_DLPREOPEN]) - AC_REQUIRE([AC_LTDL_DLLIB]) - AC_REQUIRE([AC_LTDL_SYMBOL_USCORE]) - AC_REQUIRE([AC_LTDL_DLSYM_USCORE]) - AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS]) - AC_REQUIRE([AC_LTDL_FUNC_ARGZ]) - - AC_CHECK_HEADERS([errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h]) - AC_CHECK_HEADERS([dl.h sys/dl.h dld.h]) - AC_CHECK_HEADERS([string.h strings.h], break) - - AC_CHECK_FUNCS([strchr index], break) - AC_CHECK_FUNCS([strrchr rindex], break) - AC_CHECK_FUNCS([memcpy bcopy], break) - AC_CHECK_FUNCS([memmove strcmp]) - - ])# AC_LIB_LTDL - - # AC_LTDL_ENABLE_INSTALL - # ---------------------- - AC_DEFUN([AC_LTDL_ENABLE_INSTALL], - [AC_ARG_ENABLE(ltdl-install, - [ --enable-ltdl-install install libltdl]) - - AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) - AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno) - ])])# AC_LTDL_ENABLE_INSTALL - - # AC_LTDL_SYS_DLOPEN_DEPLIBS - # -------------------------- - AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], - [AC_REQUIRE([AC_CANONICAL_HOST]) - AC_CACHE_CHECK([whether deplibs are loaded by dlopen], - libltdl_cv_sys_dlopen_deplibs, [dnl - # PORTME does your system automatically load deplibs for dlopen()? - libltdl_cv_sys_dlopen_deplibs=unknown - case "$host_os" in - hpux10*|hpux11*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - linux*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - netbsd*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - openbsd*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - solaris*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - esac - ]) - if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then - AC_DEFINE(LTDL_DLOPEN_DEPLIBS, 1, - [Define if the OS needs help to load dependent libraries for dlopen(). ]) - fi - ])# AC_LTDL_SYS_DLOPEN_DEPLIBS - - # AC_LTDL_SHLIBEXT - # ---------------- - AC_DEFUN([AC_LTDL_SHLIBEXT], - [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) - AC_CACHE_CHECK([which extension is used for shared libraries], - libltdl_cv_shlibext, - [ac_last= - for ac_spec in $library_names_spec; do - ac_last="$ac_spec" - done - echo "$ac_last" | [sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//'] > conftest - libltdl_cv_shlibext=`cat conftest` - rm -f conftest - ]) - if test -n "$libltdl_cv_shlibext"; then - AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext", - [Define to the extension used for shared libraries, say, ".so". ]) - fi - ])# AC_LTDL_SHLIBEXT - - # AC_LTDL_SHLIBPATH - # ----------------- - AC_DEFUN([AC_LTDL_SHLIBPATH], - [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) - AC_CACHE_CHECK([which variable specifies run-time library path], - libltdl_cv_shlibpath_var, [libltdl_cv_shlibpath_var="$shlibpath_var"]) - if test -n "$libltdl_cv_shlibpath_var"; then - AC_DEFINE_UNQUOTED(LTDL_SHLIBPATH_VAR, "$libltdl_cv_shlibpath_var", - [Define to the name of the environment variable that determines the dynamic library search path. ]) - fi - ])# AC_LTDL_SHLIBPATH - - # AC_LTDL_SYSSEARCHPATH - # --------------------- - AC_DEFUN([AC_LTDL_SYSSEARCHPATH], - [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) - AC_CACHE_CHECK([for the default library search path], - libltdl_cv_sys_search_path, [libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"]) - if test -n "$libltdl_cv_sys_search_path"; then - case "$host" in - *-*-mingw*) pathsep=";" ;; - *) pathsep=":" ;; - esac - sys_search_path= - for dir in $libltdl_cv_sys_search_path; do - if test -z "$sys_search_path"; then - sys_search_path="$dir" - else - sys_search_path="$sys_search_path$pathsep$dir" - fi - done - AC_DEFINE_UNQUOTED(LTDL_SYSSEARCHPATH, "$sys_search_path", - [Define to the system default library search path. ]) - fi - ])# AC_LTDL_SYSSEARCHPATH - - # AC_LTDL_OBJDIR - # -------------- - AC_DEFUN([AC_LTDL_OBJDIR], - [AC_CACHE_CHECK([for objdir], - libltdl_cv_objdir, [libltdl_cv_objdir="$objdir" - if test -n "$objdir"; then - : - else - rm -f .libs 2>/dev/null - mkdir .libs 2>/dev/null - if test -d .libs; then - libltdl_cv_objdir=.libs - else - # MS-DOS does not allow filenames that begin with a dot. - libltdl_cv_objdir=_libs - fi - rmdir .libs 2>/dev/null - fi]) - AC_DEFINE_UNQUOTED(LTDL_OBJDIR, "$libltdl_cv_objdir/", - [Define to the sub-directory in which libtool stores uninstalled libraries. ]) - ])# AC_LTDL_OBJDIR - - # AC_LTDL_DLPREOPEN - # ----------------- - AC_DEFUN([AC_LTDL_DLPREOPEN], - [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl - AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], - libltdl_cv_preloaded_symbols, [dnl - if test -n "$global_symbol_pipe"; then - libltdl_cv_preloaded_symbols=yes - else - libltdl_cv_preloaded_symbols=no - fi - ]) - if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then - AC_DEFINE(HAVE_PRELOADED_SYMBOLS, 1, - [Define if libtool can extract symbol lists from object files. ]) - fi - ])# AC_LTDL_DLPREOPEN - - # AC_LTDL_DLLIB - # ------------- - AC_DEFUN([AC_LTDL_DLLIB], - [LIBADD_DL= - AC_SUBST(LIBADD_DL) - - AC_CHECK_FUNC([shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.])], - [AC_CHECK_LIB([dld], [shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.]) - LIBADD_DL="$LIBADD_DL -ldld"], - [AC_CHECK_LIB([dl], [dlopen], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - LIBADD_DL="-ldl"], - [AC_TRY_LINK([#if HAVE_DLFCN_H - # include - #endif - ], - [dlopen(0, 0);], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.])], - [AC_CHECK_LIB([svld], [dlopen], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - LIBADD_DL="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [AC_DEFINE([HAVE_DLD], [1], - [Define if you have the GNU dld library.]) - LIBADD_DL="$LIBADD_DL -ldld" - ]) - ]) - ]) - ]) - ]) - ]) - - if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then - LIBS_SAVE="$LIBS" - LIBS="$LIBS $LIBADD_DL" - AC_CHECK_FUNCS(dlerror) - LIBS="$LIBS_SAVE" - fi - ])# AC_LTDL_DLLIB - - # AC_LTDL_SYMBOL_USCORE - # --------------------- - AC_DEFUN([AC_LTDL_SYMBOL_USCORE], - [dnl does the compiler prefix global symbols with an underscore? - AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl - AC_MSG_CHECKING([for _ prefix in compiled symbols]) - AC_CACHE_VAL(ac_cv_sys_symbol_underscore, - [ac_cv_sys_symbol_underscore=no - cat > conftest.$ac_ext < $ac_nlist) && test -s "$ac_nlist"; then - # See whether the symbols have a leading underscore. - if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then - ac_cv_sys_symbol_underscore=yes - else - if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then - : - else - echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD() - fi - fi - else - echo "configure: cannot run $global_symbol_pipe" >&AS_MESSAGE_LOG_FD() - fi - else - echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD() - cat conftest.c >&AS_MESSAGE_LOG_FD() - fi - rm -rf conftest* - ]) - AC_MSG_RESULT($ac_cv_sys_symbol_underscore) - ])# AC_LTDL_SYMBOL_USCORE - - - # AC_LTDL_DLSYM_USCORE - # -------------------- - AC_DEFUN([AC_LTDL_DLSYM_USCORE], - [AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])dnl - if test x"$ac_cv_sys_symbol_underscore" = xyes; then - if test x"$ac_cv_func_dlopen" = xyes || - test x"$ac_cv_lib_dl_dlopen" = xyes ; then - AC_CACHE_CHECK([whether we have to add an underscore for dlsym], - libltdl_cv_need_uscore, [dnl - libltdl_cv_need_uscore=unknown - save_LIBS="$LIBS" - LIBS="$LIBS $LIBADD_DL" - _LT_AC_TRY_DLOPEN_SELF( - libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes, - [], libltdl_cv_need_uscore=cross) - LIBS="$save_LIBS" - ]) - fi - fi - - if test x"$libltdl_cv_need_uscore" = xyes; then - AC_DEFINE(NEED_USCORE, 1, - [Define if dlsym() requires a leading underscore in symbol names. ]) - fi - ])# AC_LTDL_DLSYM_USCORE - - - # AC_CHECK_TYPES(TYPES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], - # [INCLUDES]) - # --------------------------------------------------------------- - # This macro did not exist in Autoconf 2.13, which we do still support - ifdef([AC_CHECK_TYPES], [], - [define([AC_CHECK_TYPES], - [AC_CACHE_CHECK([for $1], ac_Type, - [AC_TRY_LINK([$4], - [if (($1 *) 0) - return 0; - if (sizeof ($1)) - return 0;], - [ac_Type=yes], - [ac_Type=no])]) - if test "x$ac_Type" = xyes; then - ifelse([$2], [], [:], [$2]) - else - ifelse([$3], [], [:], [$3]) - fi]) - ])# AC_CHECK_TYPES - - - # AC_LTDL_FUNC_ARGZ - # ----------------- - AC_DEFUN([AC_LTDL_FUNC_ARGZ], - [AC_CHECK_HEADERS([argz.h]) - - AC_CHECK_TYPES([error_t], - [], - [AC_DEFINE([error_t], [int], - [Define to a type to use for \`error_t' if it is not otherwise available.])], - [#if HAVE_ARGZ_H - # include - #endif]) - - AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) - ])# AC_LTDL_FUNC_ARGZ --- 0 ---- diff -rNC3 smalltalk-2.1.2/libltdl/aclocal.m4 smalltalk-2.1.3/libltdl/aclocal.m4 *** smalltalk-2.1.2/libltdl/aclocal.m4 Fri Feb 28 11:19:11 2003 --- smalltalk-2.1.3/libltdl/aclocal.m4 Sat Jun 28 12:23:25 2003 *************** *** 11,4807 **** # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. ! # serial 5 AC_LIB_LTDL ! ! # AC_WITH_LTDL ! # ------------ ! # Clients of libltdl can use this macro to allow the installer to ! # choose between a shipped copy of the ltdl sources or a preinstalled ! # version of the library. ! AC_DEFUN([AC_WITH_LTDL], ! [AC_REQUIRE([AC_LIB_LTDL]) ! AC_SUBST([LIBLTDL]) ! AC_SUBST([INCLTDL]) ! # Unless the user asks us to check, assume no installed ltdl exists. ! use_installed_libltdl=no ! AC_ARG_WITH([included_ltdl], ! [ --with-included-ltdl use the GNU ltdl sources included here]) ! if test "x$with_included_ltdl" != xyes; then ! # We are not being forced to use the included libltdl sources, so ! # decide whether there is a useful installed version we can use. ! AC_CHECK_HEADER([ltdl.h], ! [AC_CHECK_LIB([ltdl], [lt_dlcaller_register], ! [with_included_ltdl=no], ! [with_included_ltdl=yes]) ! ]) ! fi ! if test "x$enable_ltdl_install" != xyes; then ! # If the user did not specify an installable libltdl, then default ! # to a convenience lib. ! AC_LIBLTDL_CONVENIENCE ! fi ! if test "x$with_included_ltdl" = xno; then ! # If the included ltdl is not to be used. then Use the ! # preinstalled libltdl we found. ! AC_DEFINE([HAVE_LTDL], 1, ! [Define this if a modern libltdl is already installed]) ! LIBLTDL=-lltdl ! fi ! # Report our decision... ! AC_MSG_CHECKING([whether to use included libltdl]) ! AC_MSG_RESULT([$with_included_ltdl]) - AC_CONFIG_SUBDIRS([libltdl]) - ])# AC_WITH_LTDL ! # AC_LIB_LTDL ! # ----------- ! # Perform all the checks necessary for compilation of the ltdl objects ! # -- including compiler checks and header checks. ! AC_DEFUN([AC_LIB_LTDL], ! [AC_PREREQ(2.54) ! AC_REQUIRE([AC_PROG_CC]) ! AC_REQUIRE([AC_C_CONST]) ! AC_REQUIRE([AC_HEADER_STDC]) ! AC_REQUIRE([AC_HEADER_DIRENT]) ! AC_REQUIRE([AC_LIBTOOL_HEADER_ASSERT]) ! AC_REQUIRE([_LT_AC_CHECK_DLFCN]) ! AC_REQUIRE([AC_LTDL_ENABLE_INSTALL]) ! AC_REQUIRE([AC_LTDL_SHLIBEXT]) ! AC_REQUIRE([AC_LTDL_SHLIBPATH]) ! AC_REQUIRE([AC_LTDL_SYSSEARCHPATH]) ! AC_REQUIRE([AC_LTDL_OBJDIR]) ! AC_REQUIRE([AC_LTDL_DLPREOPEN]) ! AC_REQUIRE([AC_LTDL_DLLIB]) ! AC_REQUIRE([AC_LTDL_SYMBOL_USCORE]) ! AC_REQUIRE([AC_LTDL_DLSYM_USCORE]) ! AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS]) ! AC_REQUIRE([AC_LTDL_FUNC_ARGZ]) ! AC_CHECK_HEADERS([errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h]) ! AC_CHECK_HEADERS([dl.h sys/dl.h dld.h]) ! AC_CHECK_HEADERS([string.h strings.h], break) ! AC_CHECK_FUNCS([strchr index], break) ! AC_CHECK_FUNCS([strrchr rindex], break) ! AC_CHECK_FUNCS([memcpy bcopy], break) ! AC_CHECK_FUNCS([memmove strcmp]) ! ])# AC_LIB_LTDL ! # AC_LTDL_ENABLE_INSTALL ! # ---------------------- ! AC_DEFUN([AC_LTDL_ENABLE_INSTALL], ! [AC_ARG_ENABLE(ltdl-install, ! [ --enable-ltdl-install install libltdl]) ! AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) ! AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno) ! ])])# AC_LTDL_ENABLE_INSTALL ! # AC_LTDL_SYS_DLOPEN_DEPLIBS ! # -------------------------- ! AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], ! [AC_REQUIRE([AC_CANONICAL_HOST]) ! AC_CACHE_CHECK([whether deplibs are loaded by dlopen], ! libltdl_cv_sys_dlopen_deplibs, [dnl ! # PORTME does your system automatically load deplibs for dlopen()? ! libltdl_cv_sys_dlopen_deplibs=unknown ! case "$host_os" in ! hpux10*|hpux11*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! linux*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! netbsd*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! openbsd*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! solaris*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! esac ]) - if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then - AC_DEFINE(LTDL_DLOPEN_DEPLIBS, 1, - [Define if the OS needs help to load dependent libraries for dlopen(). ]) - fi - ])# AC_LTDL_SYS_DLOPEN_DEPLIBS - - # AC_LTDL_SHLIBEXT - # ---------------- - AC_DEFUN([AC_LTDL_SHLIBEXT], - [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) - AC_CACHE_CHECK([which extension is used for shared libraries], - libltdl_cv_shlibext, - [ac_last= - for ac_spec in $library_names_spec; do - ac_last="$ac_spec" - done - echo "$ac_last" | [sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//'] > conftest - libltdl_cv_shlibext=`cat conftest` - rm -f conftest ]) - if test -n "$libltdl_cv_shlibext"; then - AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext", - [Define to the extension used for shared libraries, say, ".so". ]) - fi - ])# AC_LTDL_SHLIBEXT - # AC_LTDL_SHLIBPATH - # ----------------- - AC_DEFUN([AC_LTDL_SHLIBPATH], - [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) - AC_CACHE_CHECK([which variable specifies run-time library path], - libltdl_cv_shlibpath_var, [libltdl_cv_shlibpath_var="$shlibpath_var"]) - if test -n "$libltdl_cv_shlibpath_var"; then - AC_DEFINE_UNQUOTED(LTDL_SHLIBPATH_VAR, "$libltdl_cv_shlibpath_var", - [Define to the name of the environment variable that determines the dynamic library search path. ]) - fi - ])# AC_LTDL_SHLIBPATH ! # AC_LTDL_SYSSEARCHPATH ! # --------------------- ! AC_DEFUN([AC_LTDL_SYSSEARCHPATH], ! [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) ! AC_CACHE_CHECK([for the default library search path], ! libltdl_cv_sys_search_path, [libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"]) ! if test -n "$libltdl_cv_sys_search_path"; then ! case "$host" in ! *-*-mingw*) pathsep=";" ;; ! *) pathsep=":" ;; ! esac ! sys_search_path= ! for dir in $libltdl_cv_sys_search_path; do ! if test -z "$sys_search_path"; then ! sys_search_path="$dir" ! else ! sys_search_path="$sys_search_path$pathsep$dir" ! fi ! done ! AC_DEFINE_UNQUOTED(LTDL_SYSSEARCHPATH, "$sys_search_path", ! [Define to the system default library search path. ]) ! fi ! ])# AC_LTDL_SYSSEARCHPATH ! # AC_LTDL_OBJDIR ! # -------------- ! AC_DEFUN([AC_LTDL_OBJDIR], ! [AC_CACHE_CHECK([for objdir], ! libltdl_cv_objdir, [libltdl_cv_objdir="$objdir" ! if test -n "$objdir"; then ! : ! else ! rm -f .libs 2>/dev/null ! mkdir .libs 2>/dev/null ! if test -d .libs; then ! libltdl_cv_objdir=.libs ! else ! # MS-DOS does not allow filenames that begin with a dot. ! libltdl_cv_objdir=_libs ! fi ! rmdir .libs 2>/dev/null ! fi]) ! AC_DEFINE_UNQUOTED(LTDL_OBJDIR, "$libltdl_cv_objdir/", ! [Define to the sub-directory in which libtool stores uninstalled libraries. ]) ! ])# AC_LTDL_OBJDIR ! ! # AC_LTDL_DLPREOPEN ! # ----------------- ! AC_DEFUN([AC_LTDL_DLPREOPEN], ! [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], ! libltdl_cv_preloaded_symbols, [dnl ! if test -n "$global_symbol_pipe"; then ! libltdl_cv_preloaded_symbols=yes ! else ! libltdl_cv_preloaded_symbols=no ! fi ! ]) ! if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then ! AC_DEFINE(HAVE_PRELOADED_SYMBOLS, 1, ! [Define if libtool can extract symbol lists from object files. ]) ! fi ! ])# AC_LTDL_DLPREOPEN ! # AC_LTDL_DLLIB ! # ------------- ! AC_DEFUN([AC_LTDL_DLLIB], ! [LIBADD_DL= ! AC_SUBST(LIBADD_DL) ! AC_CHECK_FUNC([shl_load], ! [AC_DEFINE([HAVE_SHL_LOAD], [1], ! [Define if you have the shl_load function.])], ! [AC_CHECK_LIB([dld], [shl_load], ! [AC_DEFINE([HAVE_SHL_LOAD], [1], ! [Define if you have the shl_load function.]) ! LIBADD_DL="$LIBADD_DL -ldld"], ! [AC_CHECK_LIB([dl], [dlopen], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.]) ! LIBADD_DL="-ldl"], ! [AC_TRY_LINK([#if HAVE_DLFCN_H ! # include ! #endif ! ], ! [dlopen(0, 0);], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.])], ! [AC_CHECK_LIB([svld], [dlopen], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.]) ! LIBADD_DL="-lsvld"], ! [AC_CHECK_LIB([dld], [dld_link], ! [AC_DEFINE([HAVE_DLD], [1], ! [Define if you have the GNU dld library.]) ! LIBADD_DL="$LIBADD_DL -ldld" ! ]) ! ]) ! ]) ! ]) ! ]) ! ]) ! if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then ! LIBS_SAVE="$LIBS" ! LIBS="$LIBS $LIBADD_DL" ! AC_CHECK_FUNCS(dlerror) ! LIBS="$LIBS_SAVE" ! fi ! ])# AC_LTDL_DLLIB ! # AC_LTDL_SYMBOL_USCORE ! # --------------------- ! AC_DEFUN([AC_LTDL_SYMBOL_USCORE], ! [dnl does the compiler prefix global symbols with an underscore? ! AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! AC_MSG_CHECKING([for _ prefix in compiled symbols]) ! AC_CACHE_VAL(ac_cv_sys_symbol_underscore, ! [ac_cv_sys_symbol_underscore=no ! cat > conftest.$ac_ext < $ac_nlist) && test -s "$ac_nlist"; then ! # See whether the symbols have a leading underscore. ! if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then ! ac_cv_sys_symbol_underscore=yes ! else ! if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then ! : ! else ! echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD() ! fi ! fi ! else ! echo "configure: cannot run $global_symbol_pipe" >&AS_MESSAGE_LOG_FD() ! fi ! else ! echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD() ! cat conftest.c >&AS_MESSAGE_LOG_FD() ! fi ! rm -rf conftest* ! ]) ! AC_MSG_RESULT($ac_cv_sys_symbol_underscore) ! ])# AC_LTDL_SYMBOL_USCORE ! # AC_LTDL_DLSYM_USCORE ! # -------------------- ! AC_DEFUN([AC_LTDL_DLSYM_USCORE], ! [AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])dnl ! if test x"$ac_cv_sys_symbol_underscore" = xyes; then ! if test x"$ac_cv_func_dlopen" = xyes || ! test x"$ac_cv_lib_dl_dlopen" = xyes ; then ! AC_CACHE_CHECK([whether we have to add an underscore for dlsym], ! libltdl_cv_need_uscore, [dnl ! libltdl_cv_need_uscore=unknown ! save_LIBS="$LIBS" ! LIBS="$LIBS $LIBADD_DL" ! _LT_AC_TRY_DLOPEN_SELF( ! libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes, ! [], libltdl_cv_need_uscore=cross) ! LIBS="$save_LIBS" ! ]) ! fi ! fi ! if test x"$libltdl_cv_need_uscore" = xyes; then ! AC_DEFINE(NEED_USCORE, 1, ! [Define if dlsym() requires a leading underscore in symbol names. ]) ! fi ! ])# AC_LTDL_DLSYM_USCORE ! # AC_CHECK_TYPES(TYPES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], ! # [INCLUDES]) ! # --------------------------------------------------------------- ! # This macro did not exist in Autoconf 2.13, which we do still support ! ifdef([AC_CHECK_TYPES], [], ! [define([AC_CHECK_TYPES], ! [AC_CACHE_CHECK([for $1], ac_Type, ! [AC_TRY_LINK([$4], ! [if (($1 *) 0) ! return 0; ! if (sizeof ($1)) ! return 0;], ! [ac_Type=yes], ! [ac_Type=no])]) ! if test "x$ac_Type" = xyes; then ! ifelse([$2], [], [:], [$2]) ! else ! ifelse([$3], [], [:], [$3]) ! fi]) ! ])# AC_CHECK_TYPES ! # AC_LTDL_FUNC_ARGZ ! # ----------------- ! AC_DEFUN([AC_LTDL_FUNC_ARGZ], ! [AC_CHECK_HEADERS([argz.h]) ! AC_CHECK_TYPES([error_t], ! [], ! [AC_DEFINE([error_t], [int], ! [Define to a type to use for \`error_t' if it is not otherwise available.])], ! [#if HAVE_ARGZ_H ! # include ! #endif]) ! AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) ! ])# AC_LTDL_FUNC_ARGZ ! # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- ! # serial 46 AC_PROG_LIBTOOL ! AC_DEFUN([AC_PROG_LIBTOOL], ! [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl ! # This can be used to rebuild libtool when needed ! LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ! # Always use our own libtool. ! LIBTOOL='$(SHELL) $(top_builddir)/libtool' ! AC_SUBST(LIBTOOL)dnl ! # Prevent multiple expansion ! define([AC_PROG_LIBTOOL], []) ! ]) ! AC_DEFUN([AC_LIBTOOL_SETUP], ! [AC_PREREQ(2.13)dnl ! AC_REQUIRE([AC_ENABLE_SHARED])dnl ! AC_REQUIRE([AC_ENABLE_STATIC])dnl ! AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl ! AC_REQUIRE([AC_CANONICAL_HOST])dnl ! AC_REQUIRE([AC_CANONICAL_BUILD])dnl ! AC_REQUIRE([AC_PROG_CC])dnl ! AC_REQUIRE([AC_PROG_LD])dnl ! AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl ! AC_REQUIRE([AC_PROG_NM])dnl ! AC_REQUIRE([LT_AC_PROG_SED])dnl ! ! AC_REQUIRE([AC_PROG_LN_S])dnl ! AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl ! AC_REQUIRE([AC_OBJEXT])dnl ! AC_REQUIRE([AC_EXEEXT])dnl ! dnl ! ! _LT_AC_PROG_ECHO_BACKSLASH ! # Only perform the check for file, if the check method requires it ! case $deplibs_check_method in ! file_magic*) ! if test "$file_magic_cmd" = '$MAGIC_CMD'; then ! AC_PATH_MAGIC ! fi ! ;; ! esac ! AC_CHECK_TOOL(RANLIB, ranlib, :) ! AC_CHECK_TOOL(STRIP, strip, :) ! ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) ! ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ! enable_win32_dll=yes, enable_win32_dll=no) ! AC_ARG_ENABLE(libtool-lock, ! [ --disable-libtool-lock avoid locking (might break parallel builds)]) ! test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes ! # Some flags need to be propagated to the compiler or linker for good ! # libtool support. ! case $host in ! *-*-irix6*) ! # Find out which ABI we are using. ! echo '[#]line __oline__ "configure"' > conftest.$ac_ext ! if AC_TRY_EVAL(ac_compile); then ! case `/usr/bin/file conftest.$ac_objext` in ! *32-bit*) ! LD="${LD-ld} -32" ! ;; ! *N32*) ! LD="${LD-ld} -n32" ! ;; ! *64-bit*) ! LD="${LD-ld} -64" ! ;; ! esac ! fi ! rm -rf conftest* ! ;; ! *-*-sco3.2v5*) ! # On SCO OpenServer 5, we need -belf to get full-featured binaries. ! SAVE_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -belf" ! AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, ! [AC_LANG_SAVE ! AC_LANG_C ! AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) ! AC_LANG_RESTORE]) ! if test x"$lt_cv_cc_needs_belf" != x"yes"; then ! # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf ! CFLAGS="$SAVE_CFLAGS" ! fi ! ;; ! ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ! [*-*-cygwin* | *-*-mingw* | *-*-pw32*) ! AC_CHECK_TOOL(DLLTOOL, dlltool, false) ! AC_CHECK_TOOL(AS, as, false) ! AC_CHECK_TOOL(OBJDUMP, objdump, false) - # recent cygwin and mingw systems supply a stub DllMain which the user - # can override, but on older systems we have to supply one - AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, - [AC_TRY_LINK([], - [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); - DllMain (0, 0, 0);], - [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) ! case $host/$CC in ! *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) ! # old mingw systems require "-dll" to link a DLL, while more recent ones ! # require "-mdll" ! SAVE_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -mdll" ! AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, ! [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) ! CFLAGS="$SAVE_CFLAGS" ;; ! *-*-cygwin* | *-*-pw32*) ! # cygwin systems need to pass --dll to the linker, and not link ! # crt.o which will require a WinMain@16 definition. ! lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; ! esac ! ;; ! ]) ! esac ! _LT_AC_LTCONFIG_HACK ! ]) ! # AC_LIBTOOL_HEADER_ASSERT ! # ------------------------ ! AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], ! [AC_CACHE_CHECK([whether $CC supports assert without backlinking], ! [lt_cv_func_assert_works], ! [case $host in ! *-*-solaris*) ! if test "$GCC" = yes && test "$with_gnu_ld" != yes; then ! case `$CC --version 2>/dev/null` in ! [[12]].*) lt_cv_func_assert_works=no ;; ! *) lt_cv_func_assert_works=yes ;; ! esac ! fi ! ;; ! esac]) ! if test "x$lt_cv_func_assert_works" = xyes; then ! AC_CHECK_HEADERS(assert.h) ! fi ! ])# AC_LIBTOOL_HEADER_ASSERT ! # _LT_AC_CHECK_DLFCN ! # -------------------- ! AC_DEFUN([_LT_AC_CHECK_DLFCN], ! [AC_CHECK_HEADERS(dlfcn.h) ! ])# _LT_AC_CHECK_DLFCN - # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - # --------------------------------- - AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], - [AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([AC_PROG_NM]) - AC_REQUIRE([AC_OBJEXT]) - # Check for command to grab the raw symbol name followed by C symbol from nm. - AC_MSG_CHECKING([command to parse $NM output]) - AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl ! # These are sane defaults that work on at least a few old systems. ! # [They come from Ultrix. What could be older than Ultrix?!! ;)] ! # Character class describing NM global symbol codes. ! symcode='[[BCDEGRST]]' ! # Regexp to match symbols that can be accessed directly from C. ! sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' ! # Transform the above into a raw symbol and a C symbol. ! symxfrm='\1 \2\3 \3' ! # Transform an extracted symbol line into a proper C declaration ! lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" ! # Transform an extracted symbol line into symbol name and symbol address ! lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ! # Define system-specific variables. ! case $host_os in ! aix*) ! symcode='[[BCDT]]' ! ;; ! cygwin* | mingw* | pw32*) ! symcode='[[ABCDGISTW]]' ! ;; ! hpux*) # Its linker distinguishes data from code symbols ! lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" ! lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ! ;; ! irix* | nonstopux*) ! symcode='[[BCDEGRST]]' ! ;; ! osf*) ! symcode='[[BCDEGQRST]]' ! ;; ! solaris* | sysv5*) ! symcode='[[BDT]]' ! ;; ! sysv4) ! symcode='[[DFNSTU]]' ! ;; ! esac ! # Handle CRLF in mingw tool chain ! opt_cr= ! case $host_os in ! mingw*) ! opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ! ;; ! esac ! # If we're using GNU nm, then use its standard symbol codes. ! if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then ! symcode='[[ABCDGISTW]]' ! fi ! # Try without a prefix undercore, then with it. ! for ac_symprfx in "" "_"; do ! # Write the raw and C identifiers. ! lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" ! # Check to see that the pipe works correctly. ! pipe_works=no ! rm -f conftest* ! cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then ! # Try sorting and uniquifying the output. ! if sort "$nlist" | uniq > "$nlist"T; then ! mv -f "$nlist"T "$nlist" ! else ! rm -f "$nlist"T ! fi ! # Make sure that we snagged all the symbols we need. ! if egrep ' nm_test_var$' "$nlist" >/dev/null; then ! if egrep ' nm_test_func$' "$nlist" >/dev/null; then ! cat < conftest.$ac_ext ! #ifdef __cplusplus ! extern "C" { ! #endif ! EOF ! # Now generate the symbol file. ! eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' ! cat <> conftest.$ac_ext ! #if defined (__STDC__) && __STDC__ ! # define lt_ptr void * ! #else ! # define lt_ptr char * ! # define const ! #endif ! /* The mapping between symbol names and symbols. */ ! const struct { ! const char *name; ! lt_ptr address; ! } ! lt_preloaded_symbols[[]] = ! { ! EOF ! sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext ! cat <<\EOF >> conftest.$ac_ext ! {0, (lt_ptr) 0} ! }; ! #ifdef __cplusplus ! } ! #endif ! EOF ! # Now try linking the two files. ! mv conftest.$ac_objext conftstm.$ac_objext ! save_LIBS="$LIBS" ! save_CFLAGS="$CFLAGS" ! LIBS="conftstm.$ac_objext" ! CFLAGS="$CFLAGS$no_builtin_flag" ! if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then ! pipe_works=yes ! fi ! LIBS="$save_LIBS" ! CFLAGS="$save_CFLAGS" ! else ! echo "cannot find nm_test_func in $nlist" >&AC_FD_CC ! fi ! else ! echo "cannot find nm_test_var in $nlist" >&AC_FD_CC ! fi ! else ! echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC ! fi ! else ! echo "$progname: failed program was:" >&AC_FD_CC ! cat conftest.$ac_ext >&5 ! fi ! rm -f conftest* conftst* ! # Do not use the global_symbol_pipe unless it works. ! if test "$pipe_works" = yes; then ! break ! else ! lt_cv_sys_global_symbol_pipe= ! fi ! done ! ]) ! global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" ! if test -z "$lt_cv_sys_global_symbol_pipe"; then ! global_symbol_to_cdecl= ! global_symbol_to_c_name_address= ! else ! global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" ! global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" ! fi ! if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; ! then ! AC_MSG_RESULT(failed) ! else ! AC_MSG_RESULT(ok) ! fi ! ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE ! # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # --------------------------------- ! AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], ! [# Find the correct PATH separator. Usually this is `:', but ! # DJGPP uses `;' like DOS. ! if test "X${PATH_SEPARATOR+set}" != Xset; then ! UNAME=${UNAME-`uname 2>/dev/null`} ! case X$UNAME in ! *-DOS) lt_cv_sys_path_separator=';' ;; ! *) lt_cv_sys_path_separator=':' ;; ! esac ! PATH_SEPARATOR=$lt_cv_sys_path_separator fi ! ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # _LT_AC_PROG_ECHO_BACKSLASH ! # -------------------------- ! # Add some code to the start of the generated configure script which ! # will find an echo command which doesn't interpret backslashes. ! AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], ! [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], ! [AC_DIVERT_PUSH(NOTICE)]) ! _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # Check that we are running under the correct shell. ! SHELL=${CONFIG_SHELL-/bin/sh} ! case X$ECHO in ! X*--fallback-echo) ! # Remove one level of quotation (which was required for Make). ! ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ! ;; ! esac ! echo=${ECHO-echo} ! if test "X[$]1" = X--no-reexec; then ! # Discard the --no-reexec flag, and continue. ! shift ! elif test "X[$]1" = X--fallback-echo; then ! # Avoid inline document here, it may be left over ! : ! elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then ! # Yippee, $echo works! ! : ! else ! # Restart under the correct shell. ! exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} ! fi ! if test "X[$]1" = X--fallback-echo; then ! # used as fallback echo ! shift ! cat </dev/null && ! echo_test_string="`eval $cmd`" && ! (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null ! then ! break ! fi ! done ! fi - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$save_ifs" ! if test "X$echo" = Xecho; then ! # We didn't find a better echo, so look for alternatives. ! if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! # This shell has a builtin print -r that does the trick. ! echo='print -r' ! elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && ! test "X$CONFIG_SHELL" != X/bin/ksh; then ! # If we have ksh, try running configure again with it. ! ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} ! export ORIGINAL_CONFIG_SHELL ! CONFIG_SHELL=/bin/ksh ! export CONFIG_SHELL ! exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} ! else ! # Try using printf. ! echo='printf %s\n' ! if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! # Cool, printf works ! : ! elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && ! test "X$echo_testing_string" = 'X\t' && ! echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL ! export CONFIG_SHELL ! SHELL="$CONFIG_SHELL" ! export SHELL ! echo="$CONFIG_SHELL [$]0 --fallback-echo" ! elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && ! test "X$echo_testing_string" = 'X\t' && ! echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! echo="$CONFIG_SHELL [$]0 --fallback-echo" ! else ! # maybe with a smaller string... ! prev=: ! for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do ! if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null ! then ! break ! fi ! prev="$cmd" ! done ! if test "$prev" != 'sed 50q "[$]0"'; then ! echo_test_string=`eval $prev` ! export echo_test_string ! exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} ! else ! # Oops. We lost completely, so just stick with echo. ! echo=echo ! fi fi fi ! fi ! fi ! fi ! # Copy echo and quote the copy suitably for passing to libtool from ! # the Makefile, instead of quoting the original, which is used later. ! ECHO=$echo ! if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ! ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi - AC_SUBST(ECHO) - AC_DIVERT_POP - ])# _LT_AC_PROG_ECHO_BACKSLASH ! # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, ! # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) ! # ------------------------------------------------------------------ ! AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], ! [if test "$cross_compiling" = yes; then : ! [$4] else ! AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl ! lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ! lt_status=$lt_dlunknown ! cat > conftest.$ac_ext < ! #endif - #include ! #ifdef RTLD_GLOBAL ! # define LT_DLGLOBAL RTLD_GLOBAL ! #else ! # ifdef DL_GLOBAL ! # define LT_DLGLOBAL DL_GLOBAL ! # else ! # define LT_DLGLOBAL 0 ! # endif ! #endif ! ! /* We may have to define LT_DLLAZY_OR_NOW in the command line if we ! find out it does not work in some platform. */ ! #ifndef LT_DLLAZY_OR_NOW ! # ifdef RTLD_LAZY ! # define LT_DLLAZY_OR_NOW RTLD_LAZY ! # else ! # ifdef DL_LAZY ! # define LT_DLLAZY_OR_NOW DL_LAZY ! # else ! # ifdef RTLD_NOW ! # define LT_DLLAZY_OR_NOW RTLD_NOW ! # else ! # ifdef DL_NOW ! # define LT_DLLAZY_OR_NOW DL_NOW ! # else ! # define LT_DLLAZY_OR_NOW 0 ! # endif ! # endif ! # endif ! # endif ! #endif ! ! #ifdef __cplusplus ! extern "C" void exit (int); ! #endif ! ! void fnord() { int i=42;} ! int main () ! { ! void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ! int status = $lt_dlunknown; ! if (self) ! { ! if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ! else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ! /* dlclose (self); */ ! } ! exit (status); ! }] ! EOF ! if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then ! (./conftest; exit; ) 2>/dev/null ! lt_status=$? ! case x$lt_status in ! x$lt_dlno_uscore) $1 ;; ! x$lt_dlneed_uscore) $2 ;; ! x$lt_unknown|x*) $3 ;; ! esac ! else : ! # compilation failed ! $3 ! fi ! fi ! rm -fr conftest* ! ])# _LT_AC_TRY_DLOPEN_SELF ! # AC_LIBTOOL_DLOPEN_SELF ! # ------------------- ! AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], ! [if test "x$enable_dlopen" != xyes; then ! enable_dlopen=unknown ! enable_dlopen_self=unknown ! enable_dlopen_self_static=unknown ! else ! lt_cv_dlopen=no ! lt_cv_dlopen_libs= ! case $host_os in ! beos*) ! lt_cv_dlopen="load_add_on" ! lt_cv_dlopen_libs= ! lt_cv_dlopen_self=yes ! ;; ! cygwin* | mingw* | pw32*) ! lt_cv_dlopen="LoadLibrary" ! lt_cv_dlopen_libs= ! ;; ! *) ! AC_CHECK_FUNC([shl_load], ! [lt_cv_dlopen="shl_load"], ! [AC_CHECK_LIB([dld], [shl_load], ! [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], ! [AC_CHECK_FUNC([dlopen], ! [lt_cv_dlopen="dlopen"], ! [AC_CHECK_LIB([dl], [dlopen], ! [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], ! [AC_CHECK_LIB([svld], [dlopen], ! [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], ! [AC_CHECK_LIB([dld], [dld_link], ! [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ! ]) ! ]) ! ]) ! ]) ! ]) ! ;; ! esac ! if test "x$lt_cv_dlopen" != xno; then ! enable_dlopen=yes else ! enable_dlopen=no fi - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ! save_LIBS="$LIBS" ! LIBS="$lt_cv_dlopen_libs $LIBS" ! AC_CACHE_CHECK([whether a program can dlopen itself], ! lt_cv_dlopen_self, [dnl ! _LT_AC_TRY_DLOPEN_SELF( ! lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, ! lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ! ]) ! if test "x$lt_cv_dlopen_self" = xyes; then ! LDFLAGS="$LDFLAGS $link_static_flag" ! AC_CACHE_CHECK([whether a statically linked program can dlopen itself], ! lt_cv_dlopen_self_static, [dnl ! _LT_AC_TRY_DLOPEN_SELF( ! lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, ! lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ! ]) ! fi ! CPPFLAGS="$save_CPPFLAGS" ! LDFLAGS="$save_LDFLAGS" ! LIBS="$save_LIBS" ! ;; ! esac ! case $lt_cv_dlopen_self in ! yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; ! *) enable_dlopen_self=unknown ;; ! esac ! case $lt_cv_dlopen_self_static in ! yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; ! *) enable_dlopen_self_static=unknown ;; ! esac ! fi ! ])# AC_LIBTOOL_DLOPEN_SELF ! AC_DEFUN([_LT_AC_LTCONFIG_HACK], ! [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! # Sed substitution that helps us do robust quoting. It backslashifies ! # metacharacters that are still active within double-quoted strings. ! Xsed='sed -e s/^X//' ! sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g' ! # Same as above, but do not quote variable references. ! double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g' ! # Sed substitution to delay expansion of an escaped shell variable in a ! # double_quote_subst'ed string. ! delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' ! # Constants: ! rm="rm -f" ! # Global variables: ! default_ofile=libtool ! can_build_shared=yes ! # All known linkers require a `.a' archive for static linking (except M$VC, ! # which needs '.lib'). ! libext=a ! ltmain="$ac_aux_dir/ltmain.sh" ! ofile="$default_ofile" ! with_gnu_ld="$lt_cv_prog_gnu_ld" ! need_locks="$enable_libtool_lock" ! old_CC="$CC" ! old_CFLAGS="$CFLAGS" ! # Set sane defaults for various variables ! test -z "$AR" && AR=ar ! test -z "$AR_FLAGS" && AR_FLAGS=cru ! test -z "$AS" && AS=as ! test -z "$CC" && CC=cc ! test -z "$DLLTOOL" && DLLTOOL=dlltool ! test -z "$LD" && LD=ld ! test -z "$LN_S" && LN_S="ln -s" ! test -z "$MAGIC_CMD" && MAGIC_CMD=file ! test -z "$NM" && NM=nm ! test -z "$OBJDUMP" && OBJDUMP=objdump ! test -z "$RANLIB" && RANLIB=: ! test -z "$STRIP" && STRIP=: ! test -z "$ac_objext" && ac_objext=o ! if test x"$host" != x"$build"; then ! ac_tool_prefix=${host_alias}- else ! ac_tool_prefix= fi ! # Transform linux* to *-*-linux-gnu*, to support old configure scripts. ! case $host_os in ! linux-gnu*) ;; ! linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` ! esac ! case $host_os in ! aix3*) ! # AIX sometimes has problems with the GCC collect2 program. For some ! # reason, if we set the COLLECT_NAMES environment variable, the problems ! # vanish in a puff of smoke. ! if test "X${COLLECT_NAMES+set}" != Xset; then ! COLLECT_NAMES= ! export COLLECT_NAMES ! fi ! ;; ! esac ! # Determine commands to create old-style static archives. ! old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' ! old_postinstall_cmds='chmod 644 $oldlib' ! old_postuninstall_cmds= ! if test -n "$RANLIB"; then ! case $host_os in ! openbsd*) ! old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ! ;; ! *) ! old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ! ;; ! esac ! old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" ! fi ! # Allow CC to be a program name with arguments. ! set dummy $CC ! compiler="[$]2" ! AC_MSG_CHECKING([for objdir]) ! rm -f .libs 2>/dev/null ! mkdir .libs 2>/dev/null ! if test -d .libs; then ! objdir=.libs ! else ! # MS-DOS does not allow filenames that begin with a dot. ! objdir=_libs ! fi ! rmdir .libs 2>/dev/null ! AC_MSG_RESULT($objdir) ! AC_ARG_WITH(pic, ! [ --with-pic try to use only PIC/non-PIC objects [default=use both]], ! pic_mode="$withval", pic_mode=default) ! test -z "$pic_mode" && pic_mode=default ! # We assume here that the value for lt_cv_prog_cc_pic will not be cached ! # in isolation, and that seeing it set (from the cache) indicates that ! # the associated values are set (in the cache) correctly too. ! AC_MSG_CHECKING([for $compiler option to produce PIC]) ! AC_CACHE_VAL(lt_cv_prog_cc_pic, ! [ lt_cv_prog_cc_pic= ! lt_cv_prog_cc_shlib= ! lt_cv_prog_cc_wl= ! lt_cv_prog_cc_static= ! lt_cv_prog_cc_no_builtin= ! lt_cv_prog_cc_can_build_shared=$can_build_shared ! if test "$GCC" = yes; then ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-static' ! case $host_os in ! aix*) ! # Below there is a dirty hack to force normal static linking with -ldl ! # The problem is because libdl dynamically linked with both libc and ! # libC (AIX C++ library), which obviously doesn't included in libraries ! # list by gcc. This cause undefined symbols with -static flags. ! # This hack allows C programs to be linked with "-static -ldl", but ! # not sure about C++ programs. ! lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ! ;; ! amigaos*) ! # FIXME: we need at least 68020 code to build shared libraries, but ! # adding the `-m68020' flag to GCC prevents building anything better, ! # like `-m68040'. ! lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ! ;; ! beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) ! # PIC is the default for these OSes. ! ;; ! darwin* | rhapsody*) ! # PIC is the default on this platform ! # Common symbols not allowed in MH_DYLIB files ! lt_cv_prog_cc_pic='-fno-common' ! ;; ! cygwin* | mingw* | pw32* | os2*) ! # This hack is so that the source file can tell whether it is being ! # built for inclusion in a dll (and should export symbols for example). ! lt_cv_prog_cc_pic='-DDLL_EXPORT' ! ;; ! sysv4*MP*) ! if test -d /usr/nec; then ! lt_cv_prog_cc_pic=-Kconform_pic ! fi ! ;; ! *) ! lt_cv_prog_cc_pic='-fPIC' ! ;; ! esac ! else ! # PORTME Check for PIC flags for the system compiler. ! case $host_os in ! aix3* | aix4* | aix5*) ! lt_cv_prog_cc_wl='-Wl,' ! # All AIX code is PIC. ! if test "$host_cpu" = ia64; then ! # AIX 5 now supports IA64 processor ! lt_cv_prog_cc_static='-Bstatic' ! else ! lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' ! fi ! ;; ! hpux9* | hpux10* | hpux11*) ! # Is there a better lt_cv_prog_cc_static that works with the bundled CC? ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" ! lt_cv_prog_cc_pic='+Z' ! ;; ! irix5* | irix6* | nonstopux*) ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-non_shared' ! # PIC (with -KPIC) is the default. ! ;; ! cygwin* | mingw* | pw32* | os2*) ! # This hack is so that the source file can tell whether it is being ! # built for inclusion in a dll (and should export symbols for example). ! lt_cv_prog_cc_pic='-DDLL_EXPORT' ! ;; ! newsos6) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! ;; ! osf3* | osf4* | osf5*) ! # All OSF/1 code is PIC. ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-non_shared' ! ;; ! sco3.2v5*) ! lt_cv_prog_cc_pic='-Kpic' ! lt_cv_prog_cc_static='-dn' ! lt_cv_prog_cc_shlib='-belf' ! ;; ! solaris*) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Wl,' ! ;; ! sunos4*) ! lt_cv_prog_cc_pic='-PIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Qoption ld ' ! ;; ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Wl,' ! ;; ! uts4*) ! lt_cv_prog_cc_pic='-pic' ! lt_cv_prog_cc_static='-Bstatic' ! ;; ! sysv4*MP*) ! if test -d /usr/nec ;then ! lt_cv_prog_cc_pic='-Kconform_pic' ! lt_cv_prog_cc_static='-Bstatic' ! fi ;; ! ! *) ! lt_cv_prog_cc_can_build_shared=no ;; esac fi ! ]) ! if test -z "$lt_cv_prog_cc_pic"; then ! AC_MSG_RESULT([none]) ! else ! AC_MSG_RESULT([$lt_cv_prog_cc_pic]) ! # Check to make sure the pic_flag actually works. ! AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) ! AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" ! AC_TRY_COMPILE([], [], [dnl ! case $host_os in ! hpux9* | hpux10* | hpux11*) ! # On HP-UX, both CC and GCC only warn that PIC is supported... then ! # they create non-PIC objects. So, if there were any warnings, we ! # assume that PIC is not supported. ! if test -s conftest.err; then ! lt_cv_prog_cc_pic_works=no ! else ! lt_cv_prog_cc_pic_works=yes ! fi ! ;; ! *) ! lt_cv_prog_cc_pic_works=yes ! ;; ! esac ! ], [dnl ! lt_cv_prog_cc_pic_works=no ! ]) ! CFLAGS="$save_CFLAGS" ]) ! if test "X$lt_cv_prog_cc_pic_works" = Xno; then ! lt_cv_prog_cc_pic= ! lt_cv_prog_cc_can_build_shared=no ! else ! lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" ! fi ! AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) ! fi ! # Check for any special shared library compilation flags. ! if test -n "$lt_cv_prog_cc_shlib"; then ! AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) ! if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : ! else ! AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) ! lt_cv_prog_cc_can_build_shared=no ! fi fi ! AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) ! AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl ! lt_cv_prog_cc_static_works=no ! save_LDFLAGS="$LDFLAGS" ! LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" ! AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) ! LDFLAGS="$save_LDFLAGS" ! ]) ! # Belt *and* braces to stop my trousers falling down: ! test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= ! AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) ! pic_flag="$lt_cv_prog_cc_pic" ! special_shlib_compile_flags="$lt_cv_prog_cc_shlib" ! wl="$lt_cv_prog_cc_wl" ! link_static_flag="$lt_cv_prog_cc_static" ! no_builtin_flag="$lt_cv_prog_cc_no_builtin" ! can_build_shared="$lt_cv_prog_cc_can_build_shared" ! # Check to see if options -o and -c are simultaneously supported by compiler ! AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) ! AC_CACHE_VAL([lt_cv_compiler_c_o], [ ! $rm -r conftest 2>/dev/null ! mkdir conftest ! cd conftest ! echo "int some_variable = 0;" > conftest.$ac_ext ! mkdir out ! # According to Tom Tromey, Ian Lance Taylor reported there are C compilers ! # that will create temporary files in the current directory regardless of ! # the output directory. Thus, making CWD read-only will cause this test ! # to fail, enabling locking or at least warning the user not to do parallel ! # builds. ! chmod -w . ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" ! compiler_c_o=no ! if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s out/conftest.err; then ! lt_cv_compiler_c_o=no ! else ! lt_cv_compiler_c_o=yes ! fi ! else ! # Append any errors to the config.log. ! cat out/conftest.err 1>&AC_FD_CC ! lt_cv_compiler_c_o=no ! fi ! CFLAGS="$save_CFLAGS" ! chmod u+w . ! $rm conftest* out/* ! rmdir out ! cd .. ! rmdir conftest ! $rm -r conftest 2>/dev/null ! ]) ! compiler_c_o=$lt_cv_compiler_c_o ! AC_MSG_RESULT([$compiler_c_o]) ! ! if test x"$compiler_c_o" = x"yes"; then ! # Check to see if we can write to a .lo ! AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) ! AC_CACHE_VAL([lt_cv_compiler_o_lo], [ ! lt_cv_compiler_o_lo=no ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -c -o conftest.lo" ! save_objext="$ac_objext" ! ac_objext=lo ! AC_TRY_COMPILE([], [int some_variable = 0;], [dnl ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s conftest.err; then ! lt_cv_compiler_o_lo=no ! else ! lt_cv_compiler_o_lo=yes ! fi ! ]) ! ac_objext="$save_objext" ! CFLAGS="$save_CFLAGS" ! ]) ! compiler_o_lo=$lt_cv_compiler_o_lo ! AC_MSG_RESULT([$compiler_o_lo]) ! else ! compiler_o_lo=no ! fi ! ! # Check to see if we can do hard links to lock some files if needed ! hard_links="nottested" ! if test "$compiler_c_o" = no && test "$need_locks" != no; then ! # do not overwrite the value of need_locks provided by the user ! AC_MSG_CHECKING([if we can lock with hard links]) ! hard_links=yes ! $rm conftest* ! ln conftest.a conftest.b 2>/dev/null && hard_links=no ! touch conftest.a ! ln conftest.a conftest.b 2>&5 || hard_links=no ! ln conftest.a conftest.b 2>/dev/null && hard_links=no ! AC_MSG_RESULT([$hard_links]) ! if test "$hard_links" = no; then ! AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) ! need_locks=warn ! fi ! else ! need_locks=no ! fi ! ! if test "$GCC" = yes; then ! # Check to see if options -fno-rtti -fno-exceptions are supported by compiler ! AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) ! echo "int some_variable = 0;" > conftest.$ac_ext ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" ! compiler_rtti_exceptions=no ! AC_TRY_COMPILE([], [int some_variable = 0;], [dnl ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s conftest.err; then ! compiler_rtti_exceptions=no ! else ! compiler_rtti_exceptions=yes ! fi ! ]) ! CFLAGS="$save_CFLAGS" ! AC_MSG_RESULT([$compiler_rtti_exceptions]) ! if test "$compiler_rtti_exceptions" = "yes"; then ! no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' ! else ! no_builtin_flag=' -fno-builtin' ! fi ! fi ! # See if the linker supports building shared libraries. ! AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) ! allow_undefined_flag= ! no_undefined_flag= ! need_lib_prefix=unknown ! need_version=unknown ! # when you set need_version to no, make sure it does not cause -set_version ! # flags to be left without arguments ! archive_cmds= ! archive_expsym_cmds= ! old_archive_from_new_cmds= ! old_archive_from_expsyms_cmds= ! export_dynamic_flag_spec= ! whole_archive_flag_spec= ! thread_safe_flag_spec= ! hardcode_into_libs=no ! hardcode_libdir_flag_spec= ! hardcode_libdir_separator= ! hardcode_direct=no ! hardcode_minus_L=no ! hardcode_shlibpath_var=unsupported ! runpath_var= ! link_all_deplibs=unknown ! always_export_symbols=no ! export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' ! # include_expsyms should be a list of space-separated symbols to be *always* ! # included in the symbol list ! include_expsyms= ! # exclude_expsyms can be an egrep regular expression of symbols to exclude ! # it will be wrapped by ` (' and `)$', so one must not match beginning or ! # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', ! # as well as any symbol that contains `d'. ! exclude_expsyms="_GLOBAL_OFFSET_TABLE_" ! # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out ! # platforms (ab)use it in PIC code, but their linkers get confused if ! # the symbol is explicitly referenced. Since portable code cannot ! # rely on this symbol name, it's probably fine to never include it in ! # preloaded symbol tables. ! extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32*) ! # FIXME: the MSVC++ port hasn't been tested in a loooong time ! # When not using gcc, we currently assume that we are using ! # Microsoft Visual C++. ! if test "$GCC" != yes; then ! with_gnu_ld=no ! fi ;; ! openbsd*) ! with_gnu_ld=no ;; esac ! ld_shlibs=yes ! if test "$with_gnu_ld" = yes; then ! # If archive_cmds runs LD, not CC, wlarc should be empty ! wlarc='${wl}' ! # See if GNU ld supports shared libraries. ! case $host_os in ! aix3* | aix4* | aix5*) ! # On AIX, the GNU linker is very broken ! # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. ! ld_shlibs=no ! cat <&2 ! *** Warning: the GNU linker, at least up to release 2.9.1, is reported ! *** to be unable to reliably create shared libraries on AIX. ! *** Therefore, libtool is disabling shared libraries support. If you ! *** really care for shared libraries, you may want to modify your PATH ! *** so that a non-GNU linker is found, and then restart. ! EOF ! ;; ! amigaos*) ! archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! # Samuel A. Falvo II reports ! # that the semantics of dynamic libraries on AmigaOS, at least up ! # to version 4, is to share data among multiple programs linked ! # with the same dynamic library. Since this doesn't match the ! # behavior of shared libraries on other platforms, we can use ! # them. ! ld_shlibs=no ! ;; ! beos*) ! if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! allow_undefined_flag=unsupported ! # Joseph Beckenbach says some releases of gcc ! # support --undefined. This deserves some investigation. FIXME ! archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! ! cygwin* | mingw* | pw32*) ! # hardcode_libdir_flag_spec is actually meaningless, as there is ! # no search path for DLLs. ! hardcode_libdir_flag_spec='-L$libdir' ! allow_undefined_flag=unsupported ! always_export_symbols=yes ! ! extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ ! sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ ! test -f $output_objdir/impgen.exe || (cd $output_objdir && \ ! if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ ! else $CC -o impgen impgen.c ; fi)~ ! $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' ! old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' ! # cygwin and mingw dlls have different entry points and sets of symbols ! # to exclude. ! # FIXME: what about values for MSVC? ! dll_entry=__cygwin_dll_entry@12 ! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ ! case $host_os in ! mingw*) ! # mingw values ! dll_entry=_DllMainCRTStartup@12 ! dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ ! ;; ! esac ! # mingw and cygwin differ, and it's simplest to just exclude the union ! # of the two symbol sets. ! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 ! # recent cygwin and mingw systems supply a stub DllMain which the user ! # can override, but on older systems we have to supply one (in ltdll.c) ! if test "x$lt_cv_need_dllmain" = "xyes"; then ! ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " ! ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ ! test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' else ! ltdll_obj= ! ltdll_cmds= fi ! # Extract the symbol export list from an `--export-all' def file, ! # then regenerate the def file from the symbol export list, so that ! # the compiled dll only exports the symbol export list. ! # Be careful not to strip the DATA tag left be newer dlltools. ! export_symbols_cmds="$ltdll_cmds"' ! $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ ! sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' ! # If the export-symbols file already is a .def file (1st line ! # is EXPORTS), use it as is. ! # If DATA tags from a recent dlltool are present, honour them! ! archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then ! cp $export_symbols $output_objdir/$soname-def; ! else ! echo EXPORTS > $output_objdir/$soname-def; ! _lt_hint=1; ! cat $export_symbols | while read symbol; do ! set dummy \$symbol; ! case \[$]# in ! 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; ! 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; ! *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; ! esac; ! _lt_hint=`expr 1 + \$_lt_hint`; ! done; ! fi~ ! '"$ltdll_cmds"' ! $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ ! $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ ! $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ ! $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ ! $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' ! wlarc= ! else ! archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! fi ! ;; ! solaris* | sysv5*) ! if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ! ld_shlibs=no ! cat <&2 ! *** Warning: The releases 2.8.* of the GNU linker cannot reliably ! *** create shared libraries on Solaris systems. Therefore, libtool ! *** is disabling shared libraries support. We urge you to upgrade GNU ! *** binutils to release 2.9.1 or newer. Another option is to modify ! *** your PATH or compiler configuration so that the native linker is ! *** used, and then restart. ! EOF ! elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! sunos4*) ! archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! wlarc= ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! *) ! if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! esac ! if test "$ld_shlibs" = yes; then ! runpath_var=LD_RUN_PATH ! hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' ! export_dynamic_flag_spec='${wl}--export-dynamic' ! case $host_os in ! cygwin* | mingw* | pw32*) ! # dlltool doesn't understand --whole-archive et. al. ! whole_archive_flag_spec= ! ;; ! *) ! # ancient GNU ld didn't support --whole-archive et. al. ! if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then ! whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' ! else ! whole_archive_flag_spec= ! fi ! ;; ! esac ! fi else ! # PORTME fill in a description of your system's linker (not GNU ld) ! case $host_os in ! aix3*) ! allow_undefined_flag=unsupported ! always_export_symbols=yes ! archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' ! # Note: this linker hardcodes the directories in LIBPATH if there ! # are no directories specified by -L. ! hardcode_minus_L=yes ! if test "$GCC" = yes && test -z "$link_static_flag"; then ! # Neither direct hardcoding nor static linking is supported with a ! # broken collect2. ! hardcode_direct=unsupported fi ! ;; ! aix4* | aix5*) ! if test "$host_cpu" = ia64; then ! # On IA64, the linker does run time linking by default, so we don't ! # have to do anything special. ! aix_use_runtimelinking=no ! exp_sym_flag='-Bexport' ! no_entry_flag="" else ! aix_use_runtimelinking=no ! # Test if we are trying to use run time linking or normal ! # AIX style linking. If -brtl is somewhere in LDFLAGS, we ! # need to do runtime linking. ! case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ! for ld_flag in $LDFLAGS; do ! case $ld_flag in ! *-brtl*) ! aix_use_runtimelinking=yes break ! ;; ! esac done - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - hardcode_direct=yes - archive_cmds='' - hardcode_libdir_separator=':' - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - hardcode_direct=yes - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - esac ! shared_flag='-shared' ! else ! # not using gcc ! if test "$host_cpu" = ia64; then ! shared_flag='${wl}-G' ! else ! if test "$aix_use_runtimelinking" = yes; then ! shared_flag='${wl}-G' else ! shared_flag='${wl}-bM:SRE' fi fi fi ! # It seems that -bexpall can do strange things, so it is better to ! # generate a list of symbols to export. ! always_export_symbols=yes ! if test "$aix_use_runtimelinking" = yes; then ! # Warning - without using the other runtime loading flags (-brtl), ! # -berok will link without error, but may produce a broken library. ! allow_undefined_flag='-berok' ! hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' ! archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ! else ! if test "$host_cpu" = ia64; then ! hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' ! allow_undefined_flag="-z nodefs" ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ! else ! hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' ! # Warning - without using the other run time loading flags, ! # -berok will link without error, but may produce a broken library. ! allow_undefined_flag='${wl}-berok' ! # This is a bit strange, but is similar to how AIX traditionally builds ! # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' ! fi ! fi ! ;; ! amigaos*) ! archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! # see comment about different semantics on the GNU ld section ! ld_shlibs=no ! ;; ! cygwin* | mingw* | pw32*) ! # When not using gcc, we currently assume that we are using ! # Microsoft Visual C++. ! # hardcode_libdir_flag_spec is actually meaningless, as there is ! # no search path for DLLs. ! hardcode_libdir_flag_spec=' ' ! allow_undefined_flag=unsupported ! # Tell ltmain to make .lib files, not .a files. ! libext=lib ! # FIXME: Setting linknames here is a bad hack. ! archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' ! # The linker will automatically build a .lib file if we build a DLL. ! old_archive_from_new_cmds='true' ! # FIXME: Should let the user specify the lib program. ! old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' ! fix_srcfile_path='`cygpath -w "$srcfile"`' ! ;; ! darwin* | rhapsody*) ! case "$host_os" in ! rhapsody* | darwin1.[[012]]) ! allow_undefined_flag='-undefined suppress' ! ;; ! *) # Darwin 1.3 on ! allow_undefined_flag='-flat_namespace -undefined suppress' ! ;; ! esac ! # FIXME: Relying on posixy $() will cause problems for ! # cross-compilation, but unfortunately the echo tests do not ! # yet detect zsh echo's removal of \ escapes. Also zsh mangles ! # `"' quotes if we put them in here... so don't! ! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' ! # We need to add '_' to the symbols in $export_symbols first ! #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! whole_archive_flag_spec='-all_load $convenience' ! ;; ! freebsd1*) ! ld_shlibs=no ! ;; ! # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor ! # support. Future versions do this automatically, but an explicit c++rt0.o ! # does not break anything, and helps significantly (at the cost of a little ! # extra space). ! freebsd2.2*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! # Unfortunately, older versions of FreeBSD 2 do not have this feature. ! freebsd2*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_minus_L=yes ! hardcode_shlibpath_var=no ! ;; ! # FreeBSD 3 and greater uses gcc -shared to do shared libraries. ! freebsd*) ! archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! hpux9* | hpux10* | hpux11*) ! case $host_os in ! hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; ! *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; ! esac ! hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ! hardcode_libdir_separator=: ! hardcode_direct=yes ! hardcode_minus_L=yes # Not in the search PATH, but as the default ! # location of the library. ! export_dynamic_flag_spec='${wl}-E' ! ;; ! irix5* | irix6* | nonstopux*) ! if test "$GCC" = yes; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! else ! archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='-rpath $libdir' ! fi ! hardcode_libdir_separator=: ! link_all_deplibs=yes ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out ! else ! archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF ! fi ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! newsos6) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! hardcode_libdir_separator=: ! hardcode_shlibpath_var=no ! ;; ! openbsd*) ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ! export_dynamic_flag_spec='${wl}-E' ! else ! case "$host_os" in ! openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-R$libdir' ! ;; ! *) ! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ! ;; ! esac ! fi ;; ! os2*) ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! allow_undefined_flag=unsupported ! archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' ! old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ! ;; ! osf3*) ! if test "$GCC" = yes; then ! allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ! archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! else ! allow_undefined_flag=' -expect_unresolved \*' ! archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! fi ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! hardcode_libdir_separator=: ;; ! osf4* | osf5*) # as osf3* with the addition of -msym flag ! if test "$GCC" = yes; then ! allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ! archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! else ! allow_undefined_flag=' -expect_unresolved \*' ! archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ ! $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' ! #Both c and cxx compiler support -rpath directly ! hardcode_libdir_flag_spec='-rpath $libdir' ! fi ! hardcode_libdir_separator=: ! ;; ! sco3.2v5*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! runpath_var=LD_RUN_PATH ! hardcode_runpath_var=yes ! export_dynamic_flag_spec='${wl}-Bexport' ! ;; ! solaris*) ! # gcc --version < 3.0 without binutils cannot create self contained ! # shared libraries reliably, requiring libgcc.a to resolve some of ! # the object symbols generated in some cases. Libraries that use ! # assert need libgcc.a to resolve __eprintf, for example. Linking ! # a copy of libgcc.a into every shared library to guarantee resolving ! # such symbols causes other problems: According to Tim Van Holder ! # , C++ libraries end up with a separate ! # (to the application) exception stack for one thing. ! no_undefined_flag=' -z defs' ! if test "$GCC" = yes; then ! case `$CC --version 2>/dev/null` in ! [[12]].*) ! cat <&2 ! *** Warning: Releases of GCC earlier than version 3.0 cannot reliably ! *** create self contained shared libraries on Solaris systems, without ! *** introducing a dependency on libgcc.a. Therefore, libtool is disabling ! *** -no-undefined support, which will at least allow you to build shared ! *** libraries. However, you may find that when you link such libraries ! *** into an application without using GCC, you have to manually add ! *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to ! *** upgrade to a newer version of GCC. Another option is to rebuild your ! *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. ! EOF ! no_undefined_flag= ! ;; ! esac fi - # $CC -shared without GNU ld will not create a library from C++ - # object files and a static libstdc++, better avoid it by now - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; - esac - link_all_deplibs=yes - ;; ! sunos4*) ! if test "x$host_vendor" = xsequent; then ! # Use $CC to link under sequent, because it throws in some extra .o ! # files that make .init and .fini sections work. ! archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' ! else ! archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' ! fi ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_direct=yes ! hardcode_minus_L=yes ! hardcode_shlibpath_var=no ;; ! sysv4) ! case $host_vendor in ! sni) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes # is this really true??? ! ;; ! siemens) ! ## LD is ld it makes a PLAMLIB ! ## CC just makes a GrossModule. ! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ! reload_cmds='$CC -r -o $output$reload_objs' ! hardcode_direct=no ! ;; ! motorola) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=no #Motorola manual says yes, but my tests say they lie ! ;; ! esac ! runpath_var='LD_RUN_PATH' ! hardcode_shlibpath_var=no ! ;; ! sysv4.3*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! export_dynamic_flag_spec='-Bexport' ! ;; ! sysv5*) ! no_undefined_flag=' -z text' ! # $CC -shared without GNU ld will not create a library from C++ ! # object files and a static libstdc++, better avoid it by now ! archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' ! archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ ! $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' ! hardcode_libdir_flag_spec= ! hardcode_shlibpath_var=no ! runpath_var='LD_RUN_PATH' ! ;; ! uts4*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_shlibpath_var=no ! ;; ! dgux*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_shlibpath_var=no ! ;; ! sysv4*MP*) ! if test -d /usr/nec; then ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! runpath_var=LD_RUN_PATH ! hardcode_runpath_var=yes ! ld_shlibs=yes ! fi ! ;; ! sysv4.2uw2*) ! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_minus_L=no ! hardcode_shlibpath_var=no ! hardcode_runpath_var=yes ! runpath_var=LD_RUN_PATH ! ;; ! sysv5uw7* | unixware7*) ! no_undefined_flag='${wl}-z ${wl}text' ! if test "$GCC" = yes; then ! archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ! else ! archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ! fi ! runpath_var='LD_RUN_PATH' ! hardcode_shlibpath_var=no ! ;; ! *) ! ld_shlibs=no ! ;; ! esac ! fi ! AC_MSG_RESULT([$ld_shlibs]) ! test "$ld_shlibs" = no && can_build_shared=no ! # Check hardcoding attributes. ! AC_MSG_CHECKING([how to hardcode library paths into programs]) ! hardcode_action= ! if test -n "$hardcode_libdir_flag_spec" || \ ! test -n "$runpath_var"; then ! # We can hardcode non-existant directories. ! if test "$hardcode_direct" != no && ! # If the only mechanism to avoid hardcoding is shlibpath_var, we ! # have to relink, otherwise we might link with an installed library ! # when we should be linking with a yet-to-be-installed one ! ## test "$hardcode_shlibpath_var" != no && ! test "$hardcode_minus_L" != no; then ! # Linking always hardcodes the temporary library directory. ! hardcode_action=relink ! else ! # We can link without hardcoding, and we can hardcode nonexisting dirs. ! hardcode_action=immediate ! fi else ! # We cannot hardcode anything, or else we can only hardcode existing ! # directories. ! hardcode_action=unsupported fi - AC_MSG_RESULT([$hardcode_action]) ! striplib= ! old_striplib= ! AC_MSG_CHECKING([whether stripping libraries is possible]) ! if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then ! test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" ! test -z "$striplib" && striplib="$STRIP --strip-unneeded" ! AC_MSG_RESULT([yes]) ! else ! AC_MSG_RESULT([no]) ! fi ! reload_cmds='$LD$reload_flag -o $output$reload_objs' ! test -z "$deplibs_check_method" && deplibs_check_method=unknown ! # PORTME Fill in your ld.so characteristics ! AC_MSG_CHECKING([dynamic linker characteristics]) ! library_names_spec= ! libname_spec='lib$name' ! soname_spec= ! postinstall_cmds= ! postuninstall_cmds= ! finish_cmds= ! finish_eval= ! shlibpath_var= ! shlibpath_overrides_runpath=unknown ! version_type=none ! dynamic_linker="$host_os ld.so" ! sys_lib_dlsearch_path_spec="/lib /usr/lib" ! sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" ! ! case $host_os in ! aix3*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix $libname.a' ! shlibpath_var=LIBPATH ! ! # AIX has no versioning support, so we append a major version to the name. ! soname_spec='${libname}${release}.so$major' ! ;; ! ! aix4* | aix5*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! hardcode_into_libs=yes ! if test "$host_cpu" = ia64; then ! # AIX 5 supports IA64 ! library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! else ! # With GCC up to 2.95.x, collect2 would create an import file ! # for dependence libraries. The import file would start with ! # the line `#! .'. This would cause the generated library to ! # depend on `.', always an invalid library. This was fixed in ! # development snapshots of GCC prior to 3.0. ! case $host_os in ! aix4 | aix4.[[01]] | aix4.[[01]].*) ! if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' ! echo ' yes ' ! echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then ! : ! else ! can_build_shared=no ! fi ! ;; ! esac ! # AIX (on Power*) has no versioning support, so currently we can ! # not hardcode correct soname into executable. Probably we can ! # add versioning support to collect2, so additional links can ! # be useful in future. ! if test "$aix_use_runtimelinking" = yes; then ! # If using run time linking (on AIX 4.2 or later) use lib.so ! # instead of lib.a to let people know that these are not ! # typical AIX shared libraries. ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! else ! # We preserve .a as extension for shared libraries through AIX4.2 ! # and later when we are not doing run time linking. ! library_names_spec='${libname}${release}.a $libname.a' ! soname_spec='${libname}${release}.so$major' ! fi ! shlibpath_var=LIBPATH ! fi ! hardcode_into_libs=yes ! ;; ! ! amigaos*) ! library_names_spec='$libname.ixlibrary $libname.a' ! # Create ${libname}_ixlibrary.a entries in /sys/libs. ! finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ! ;; ! ! beos*) ! library_names_spec='${libname}.so' ! dynamic_linker="$host_os ld.so" ! shlibpath_var=LIBRARY_PATH ! ;; ! ! bsdi4*) ! version_type=linux ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" ! sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" ! export_dynamic_flag_spec=-rdynamic ! # the default ld.so.conf also contains /usr/contrib/lib and ! # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow ! # libtool to hard-code these into programs ! ;; ! cygwin* | mingw* | pw32*) ! version_type=windows ! need_version=no ! need_lib_prefix=no ! case $GCC,$host_os in ! yes,cygwin*) ! library_names_spec='$libname.dll.a' ! soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' ! postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ ! dldir=$destdir/`dirname \$dlpath`~ ! test -d \$dldir || mkdir -p \$dldir~ ! $install_prog .libs/$dlname \$dldir/$dlname' ! postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ ! dlpath=$dir/\$dldll~ ! $rm \$dlpath' ! ;; ! yes,mingw*) ! library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' ! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` ! ;; ! yes,pw32*) ! library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' ;; *) ! library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' ;; esac ! dynamic_linker='Win32 ld.exe' ! # FIXME: first we should search . and the directory the executable is in ! shlibpath_var=PATH ! ;; ! darwin* | rhapsody*) ! dynamic_linker="$host_os dyld" ! version_type=darwin ! need_lib_prefix=no ! need_version=no ! # FIXME: Relying on posixy $() will cause problems for ! # cross-compilation, but unfortunately the echo tests do not ! # yet detect zsh echo's removal of \ escapes. ! library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' ! soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' ! shlibpath_overrides_runpath=yes ! shlibpath_var=DYLD_LIBRARY_PATH ! ;; ! freebsd1*) ! dynamic_linker=no ! ;; - freebsd*) - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - *) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - esac - ;; ! gnu*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! hardcode_into_libs=yes ! ;; ! hpux9* | hpux10* | hpux11*) ! # Give a soname corresponding to the major version so that dld.sl refuses to ! # link against other versions. ! dynamic_linker="$host_os dld.sl" ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! shlibpath_var=SHLIB_PATH ! shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH ! library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' ! soname_spec='${libname}${release}.sl$major' ! # HP-UX runs *really* slowly unless shared libraries are mode 555. ! postinstall_cmds='chmod 555 $lib' ! ;; ! irix5* | irix6* | nonstopux*) ! case $host_os in ! nonstopux*) version_type=nonstopux ;; ! *) version_type=irix ;; ! esac ! need_lib_prefix=no ! need_version=no ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' ! case $host_os in ! irix5* | nonstopux*) ! libsuff= shlibsuff= ! ;; ! *) ! case $LD in # libtool.m4 will add one of these switches to LD ! *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; ! *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; ! *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; ! *) libsuff= shlibsuff= libmagic=never-match;; ! esac ! ;; ! esac ! shlibpath_var=LD_LIBRARY${shlibsuff}_PATH ! shlibpath_overrides_runpath=no ! sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" ! sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ! ;; ! # No shared lib support for Linux oldld, aout, or coff. ! linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) ! dynamic_linker=no ! ;; ! ! # This must be Linux ELF. ! linux-gnu*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=no ! # This implies no fast_install, which is unacceptable. ! # Some rework will be needed to allow for fast_install ! # before this can be enabled. ! hardcode_into_libs=yes ! ! # We used to test for /lib/ld.so.1 and disable shared libraries on ! # powerpc, because MkLinux only supported shared libraries with the ! # GNU dynamic linker. Since this was broken with cross compilers, ! # most powerpc-linux boxes support dynamic linking these days and ! # people can always --disable-shared, the test was removed, and we ! # assume the GNU/Linux dynamic linker is in use. ! dynamic_linker='GNU/Linux ld.so' ! ;; ! ! netbsd*) ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ! dynamic_linker='NetBSD (a.out) ld.so' ! else ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' ! soname_spec='${libname}${release}.so$major' ! dynamic_linker='NetBSD ld.elf_so' ! fi ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! hardcode_into_libs=yes ! ;; ! ! newsos6) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! ;; ! ! openbsd*) ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! case "$host_os" in ! openbsd2.[[89]] | openbsd2.[[89]].*) ! shlibpath_overrides_runpath=no ;; *) ! shlibpath_overrides_runpath=yes ;; esac else ! shlibpath_overrides_runpath=yes ! fi ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! os2*) ! libname_spec='$name' ! need_lib_prefix=no ! library_names_spec='$libname.dll $libname.a' ! dynamic_linker='OS/2 ld.exe' ! shlibpath_var=LIBPATH ! ;; ! osf3* | osf4* | osf5*) ! version_type=osf ! need_version=no ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" ! sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ! hardcode_into_libs=yes ! ;; ! sco3.2v5*) ! version_type=osf ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! solaris*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! hardcode_into_libs=yes ! # ldd complains unless libraries are executable ! postinstall_cmds='chmod +x $lib' ! ;; ! sunos4*) ! version_type=sunos ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! if test "$with_gnu_ld" = yes; then ! need_lib_prefix=no ! fi ! need_version=yes ! ;; ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! case $host_vendor in ! sni) ! shlibpath_overrides_runpath=no ! need_lib_prefix=no ! export_dynamic_flag_spec='${wl}-Blargedynsym' ! runpath_var=LD_RUN_PATH ;; ! siemens) ! need_lib_prefix=no ;; ! motorola) ! need_lib_prefix=no ! need_version=no ! shlibpath_overrides_runpath=no ! sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; - esac - ;; ! uts4*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! dgux*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! sysv4*MP*) ! if test -d /usr/nec ;then ! version_type=linux ! library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' ! soname_spec='$libname.so.$major' ! shlibpath_var=LD_LIBRARY_PATH ! fi ! ;; ! *) ! dynamic_linker=no ! ;; ! esac ! AC_MSG_RESULT([$dynamic_linker]) ! test "$dynamic_linker" = no && can_build_shared=no ! # Report the final consequences. ! AC_MSG_CHECKING([if libtool supports shared libraries]) ! AC_MSG_RESULT([$can_build_shared]) ! AC_MSG_CHECKING([whether to build shared libraries]) ! test "$can_build_shared" = "no" && enable_shared=no ! # On AIX, shared libraries and static libraries use the same namespace, and ! # are all built from PIC. ! case "$host_os" in ! aix3*) ! test "$enable_shared" = yes && enable_static=no ! if test -n "$RANLIB"; then ! archive_cmds="$archive_cmds~\$RANLIB \$lib" ! postinstall_cmds='$RANLIB $lib' fi - ;; ! aix4*) ! if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then ! test "$enable_shared" = yes && enable_static=no fi ! ;; ! esac ! AC_MSG_RESULT([$enable_shared]) ! AC_MSG_CHECKING([whether to build static libraries]) ! # Make sure either enable_shared or enable_static is yes. ! test "$enable_shared" = yes || enable_static=yes ! AC_MSG_RESULT([$enable_static]) ! if test "$hardcode_action" = relink; then ! # Fast installation is not supported ! enable_fast_install=no ! elif test "$shlibpath_overrides_runpath" = yes || ! test "$enable_shared" = no; then ! # Fast installation is not necessary ! enable_fast_install=needless ! fi ! variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ! if test "$GCC" = yes; then ! variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ! fi - AC_LIBTOOL_DLOPEN_SELF ! if test "$enable_shared" = yes && test "$GCC" = yes; then ! case $archive_cmds in ! *'~'*) ! # FIXME: we may have to deal with multi-command sequences. ! ;; ! '$CC '*) ! # Test whether the compiler implicitly links with -lc since on some ! # systems, -lgcc has to come before -lc. If gcc already passes -lc ! # to ld, don't add -lc before -lgcc. ! AC_MSG_CHECKING([whether -lc should be explicitly linked in]) ! AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], ! [$rm conftest* ! echo 'static int dummy;' > conftest.$ac_ext ! if AC_TRY_EVAL(ac_compile); then ! soname=conftest ! lib=conftest ! libobjs=conftest.$ac_objext ! deplibs= ! wl=$lt_cv_prog_cc_wl ! compiler_flags=-v ! linker_flags=-v ! verstring= ! output_objdir=. ! libname=conftest ! save_allow_undefined_flag=$allow_undefined_flag ! allow_undefined_flag= ! if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) ! then ! lt_cv_archive_cmds_need_lc=no ! else ! lt_cv_archive_cmds_need_lc=yes ! fi ! allow_undefined_flag=$save_allow_undefined_flag else ! cat conftest.err 1>&5 ! fi]) ! AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) ! ;; ! esac fi - need_lc=${lt_cv_archive_cmds_need_lc-yes} ! # The second clause should only fire when bootstrapping the ! # libtool distribution, otherwise you forgot to ship ltmain.sh ! # with your package, and you will get complaints that there are ! # no rules to generate ltmain.sh. ! if test -f "$ltmain"; then ! : else ! # If there is no Makefile yet, we rely on a make rule to execute ! # `config.status --recheck' to rerun these tests and create the ! # libtool script then. ! test -f Makefile && make "$ltmain" fi ! if test -f "$ltmain"; then ! trap "$rm \"${ofile}T\"; exit 1" 1 2 15 ! $rm -f "${ofile}T" ! ! echo creating $ofile ! ! # Now quote all the things that may contain metacharacters while being ! # careful not to overquote the AC_SUBSTed values. We take copies of the ! # variables and quote the copies for generation of the libtool script. ! for var in echo old_CC old_CFLAGS SED \ ! AR AR_FLAGS CC LD LN_S NM SHELL \ ! reload_flag reload_cmds wl \ ! pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ ! thread_safe_flag_spec whole_archive_flag_spec libname_spec \ ! library_names_spec soname_spec \ ! RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ ! old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ ! postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ ! old_striplib striplib file_magic_cmd export_symbols_cmds \ ! deplibs_check_method allow_undefined_flag no_undefined_flag \ ! finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ ! global_symbol_to_c_name_address \ ! hardcode_libdir_flag_spec hardcode_libdir_separator \ ! sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ ! compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do ! ! case $var in ! reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ ! old_postinstall_cmds | old_postuninstall_cmds | \ ! export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ ! extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ ! postinstall_cmds | postuninstall_cmds | \ ! finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) ! # Double-quote double-evaled strings. ! eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ! ;; ! *) ! eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ! ;; ! esac ! done ! ! cat <<__EOF__ > "${ofile}T" ! #! $SHELL ! ! # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. ! # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) ! # NOTE: Changes made to this file will be lost: look at ltmain.sh. ! # ! # Copyright (C) 1996-2000 Free Software Foundation, Inc. ! # Originally by Gordon Matzigkeit , 1996 ! # ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2 of the License, or ! # (at your option) any later version. ! # ! # This program is distributed in the hope that it will be useful, but ! # WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! # General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! # ! # As a special exception to the GNU General Public License, if you ! # distribute this file as part of a program that contains a ! # configuration script generated by Autoconf, you may include it under ! # the same distribution terms that you use for the rest of that program. ! # A sed that does not truncate output. ! SED=$lt_SED ! # Sed that helps us avoid accidentally triggering echo(1) options like -n. ! Xsed="${SED} -e s/^X//" ! # The HP-UX ksh and POSIX shell print the target directory to stdout ! # if CDPATH is set. ! if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi ! # ### BEGIN LIBTOOL CONFIG ! # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: ! # Shell to use when invoking shell scripts. ! SHELL=$lt_SHELL ! # Whether or not to build shared libraries. ! build_libtool_libs=$enable_shared ! # Whether or not to build static libraries. ! build_old_libs=$enable_static ! # Whether or not to add -lc for building shared libraries. ! build_libtool_need_lc=$need_lc ! # Whether or not to optimize for fast installation. ! fast_install=$enable_fast_install ! # The host system. ! host_alias=$host_alias ! host=$host ! # An echo program that does not interpret backslashes. ! echo=$lt_echo ! # The archiver. ! AR=$lt_AR ! AR_FLAGS=$lt_AR_FLAGS ! # The default C compiler. ! CC=$lt_CC ! # Is the compiler the GNU C compiler? ! with_gcc=$GCC ! # The linker used to build libraries. ! LD=$lt_LD ! # Whether we need hard or soft links. ! LN_S=$lt_LN_S ! # A BSD-compatible nm program. ! NM=$lt_NM ! # A symbol stripping program ! STRIP=$STRIP ! ! # Used to examine libraries when file_magic_cmd begins "file" ! MAGIC_CMD=$MAGIC_CMD ! # Used on cygwin: DLL creation program. ! DLLTOOL="$DLLTOOL" ! # Used on cygwin: object dumper. ! OBJDUMP="$OBJDUMP" ! # Used on cygwin: assembler. ! AS="$AS" ! # The name of the directory that contains temporary libtool files. ! objdir=$objdir ! # How to create reloadable object files. ! reload_flag=$lt_reload_flag ! reload_cmds=$lt_reload_cmds ! # How to pass a linker flag through the compiler. ! wl=$lt_wl ! # Object file suffix (normally "o"). ! objext="$ac_objext" ! # Old archive suffix (normally "a"). ! libext="$libext" ! # Executable file suffix (normally ""). ! exeext="$exeext" ! # Additional compiler flags for building library objects. ! pic_flag=$lt_pic_flag ! pic_mode=$pic_mode ! # Does compiler simultaneously support -c and -o options? ! compiler_c_o=$lt_compiler_c_o ! # Can we write directly to a .lo ? ! compiler_o_lo=$lt_compiler_o_lo ! # Must we lock files when doing compilation ? ! need_locks=$lt_need_locks ! # Do we need the lib prefix for modules? ! need_lib_prefix=$need_lib_prefix ! # Do we need a version for libraries? ! need_version=$need_version ! # Whether dlopen is supported. ! dlopen_support=$enable_dlopen ! # Whether dlopen of programs is supported. ! dlopen_self=$enable_dlopen_self ! ! # Whether dlopen of statically linked programs is supported. ! dlopen_self_static=$enable_dlopen_self_static ! ! # Compiler flag to prevent dynamic linking. ! link_static_flag=$lt_link_static_flag ! ! # Compiler flag to turn off builtin functions. ! no_builtin_flag=$lt_no_builtin_flag ! # Compiler flag to allow reflexive dlopens. ! export_dynamic_flag_spec=$lt_export_dynamic_flag_spec ! # Compiler flag to generate shared objects directly from archives. ! whole_archive_flag_spec=$lt_whole_archive_flag_spec ! # Compiler flag to generate thread-safe objects. ! thread_safe_flag_spec=$lt_thread_safe_flag_spec ! # Library versioning type. ! version_type=$version_type ! # Format of library name prefix. ! libname_spec=$lt_libname_spec ! # List of archive names. First name is the real one, the rest are links. ! # The last name is the one that the linker finds with -lNAME. ! library_names_spec=$lt_library_names_spec ! # The coded name of the library, if different from the real name. ! soname_spec=$lt_soname_spec ! # Commands used to build and install an old-style archive. ! RANLIB=$lt_RANLIB ! old_archive_cmds=$lt_old_archive_cmds ! old_postinstall_cmds=$lt_old_postinstall_cmds ! old_postuninstall_cmds=$lt_old_postuninstall_cmds ! # Create an old-style archive from a shared archive. ! old_archive_from_new_cmds=$lt_old_archive_from_new_cmds ! # Create a temporary old-style archive to link instead of a shared archive. ! old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds ! # Commands used to build and install a shared archive. ! archive_cmds=$lt_archive_cmds ! archive_expsym_cmds=$lt_archive_expsym_cmds ! postinstall_cmds=$lt_postinstall_cmds ! postuninstall_cmds=$lt_postuninstall_cmds ! # Commands to strip libraries. ! old_striplib=$lt_old_striplib ! striplib=$lt_striplib ! # Method to check whether dependent libraries are shared objects. ! deplibs_check_method=$lt_deplibs_check_method ! # Command to use when deplibs_check_method == file_magic. ! file_magic_cmd=$lt_file_magic_cmd ! # Flag that allows shared libraries with undefined symbols to be built. ! allow_undefined_flag=$lt_allow_undefined_flag ! # Flag that forces no undefined symbols. ! no_undefined_flag=$lt_no_undefined_flag ! # Commands used to finish a libtool library installation in a directory. ! finish_cmds=$lt_finish_cmds ! # Same as above, but a single script fragment to be evaled but not shown. ! finish_eval=$lt_finish_eval ! # Take the output of nm and produce a listing of raw symbols and C names. ! global_symbol_pipe=$lt_global_symbol_pipe ! ! # Transform the output of nm in a proper C declaration ! global_symbol_to_cdecl=$lt_global_symbol_to_cdecl ! # Transform the output of nm in a C name address pair ! global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address ! # This is the shared library runtime path variable. ! runpath_var=$runpath_var ! # This is the shared library path variable. ! shlibpath_var=$shlibpath_var ! # Is shlibpath searched before the hard-coded library search path? ! shlibpath_overrides_runpath=$shlibpath_overrides_runpath ! # How to hardcode a shared library path into an executable. ! hardcode_action=$hardcode_action ! # Whether we should hardcode library paths into libraries. ! hardcode_into_libs=$hardcode_into_libs ! # Flag to hardcode \$libdir into a binary during linking. ! # This must work even if \$libdir does not exist. ! hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec ! # Whether we need a single -rpath flag with a separated argument. ! hardcode_libdir_separator=$lt_hardcode_libdir_separator ! # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the ! # resulting binary. ! hardcode_direct=$hardcode_direct ! # Set to yes if using the -LDIR flag during linking hardcodes DIR into the ! # resulting binary. ! hardcode_minus_L=$hardcode_minus_L ! # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into ! # the resulting binary. ! hardcode_shlibpath_var=$hardcode_shlibpath_var ! # Variables whose values should be saved in libtool wrapper scripts and ! # restored at relink time. ! variables_saved_for_relink="$variables_saved_for_relink" ! # Whether libtool must link a program against all its dependency libraries. ! link_all_deplibs=$link_all_deplibs ! # Compile-time system search path for libraries ! sys_lib_search_path_spec=$lt_sys_lib_search_path_spec ! # Run-time system search path for libraries ! sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec ! # Fix the shell variable \$srcfile for the compiler. ! fix_srcfile_path="$fix_srcfile_path" ! # Set to yes if exported symbols are required. ! always_export_symbols=$always_export_symbols ! # The commands to list exported symbols. ! export_symbols_cmds=$lt_export_symbols_cmds ! # The commands to extract the exported symbol list from a shared archive. ! extract_expsyms_cmds=$lt_extract_expsyms_cmds ! # Symbols that should not be listed in the preloaded symbols. ! exclude_expsyms=$lt_exclude_expsyms ! # Symbols that must always be exported. ! include_expsyms=$lt_include_expsyms ! # ### END LIBTOOL CONFIG ! __EOF__ case $host_os in ! aix3*) ! cat <<\EOF >> "${ofile}T" ! ! # AIX sometimes has problems with the GCC collect2 program. For some ! # reason, if we set the COLLECT_NAMES environment variable, the problems ! # vanish in a puff of smoke. ! if test "X${COLLECT_NAMES+set}" != Xset; then ! COLLECT_NAMES= ! export COLLECT_NAMES ! fi ! EOF ;; esac ! case $host_os in ! cygwin* | mingw* | pw32* | os2*) ! cat <<'EOF' >> "${ofile}T" ! # This is a source program that is used to create dlls on Windows ! # Don't remove nor modify the starting and closing comments ! # /* ltdll.c starts here */ ! # #define WIN32_LEAN_AND_MEAN ! # #include ! # #undef WIN32_LEAN_AND_MEAN ! # #include ! # ! # #ifndef __CYGWIN__ ! # # ifdef __CYGWIN32__ ! # # define __CYGWIN__ __CYGWIN32__ ! # # endif ! # #endif ! # ! # #ifdef __cplusplus ! # extern "C" { ! # #endif ! # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); ! # #ifdef __cplusplus ! # } ! # #endif ! # ! # #ifdef __CYGWIN__ ! # #include ! # DECLARE_CYGWIN_DLL( DllMain ); ! # #endif ! # HINSTANCE __hDllInstance_base; ! # ! # BOOL APIENTRY ! # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) ! # { ! # __hDllInstance_base = hInst; ! # return TRUE; ! # } ! # /* ltdll.c ends here */ ! # This is a source program that is used to create import libraries ! # on Windows for dlls which lack them. Don't remove nor modify the ! # starting and closing comments ! # /* impgen.c starts here */ ! # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. ! # ! # This file is part of GNU libtool. ! # ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2 of the License, or ! # (at your option) any later version. ! # ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! # */ ! # ! # #include /* for printf() */ ! # #include /* for open(), lseek(), read() */ ! # #include /* for O_RDONLY, O_BINARY */ ! # #include /* for strdup() */ ! # ! # /* O_BINARY isn't required (or even defined sometimes) under Unix */ ! # #ifndef O_BINARY ! # #define O_BINARY 0 ! # #endif ! # ! # static unsigned int ! # pe_get16 (fd, offset) ! # int fd; ! # int offset; ! # { ! # unsigned char b[2]; ! # lseek (fd, offset, SEEK_SET); ! # read (fd, b, 2); ! # return b[0] + (b[1]<<8); ! # } ! # ! # static unsigned int ! # pe_get32 (fd, offset) ! # int fd; ! # int offset; ! # { ! # unsigned char b[4]; ! # lseek (fd, offset, SEEK_SET); ! # read (fd, b, 4); ! # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); ! # } ! # ! # static unsigned int ! # pe_as32 (ptr) ! # void *ptr; ! # { ! # unsigned char *b = ptr; ! # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); ! # } ! # ! # int ! # main (argc, argv) ! # int argc; ! # char *argv[]; ! # { ! # int dll; ! # unsigned long pe_header_offset, opthdr_ofs, num_entries, i; ! # unsigned long export_rva, export_size, nsections, secptr, expptr; ! # unsigned long name_rvas, nexp; ! # unsigned char *expdata, *erva; ! # char *filename, *dll_name; ! # ! # filename = argv[1]; ! # ! # dll = open(filename, O_RDONLY|O_BINARY); ! # if (dll < 1) ! # return 1; ! # ! # dll_name = filename; ! # ! # for (i=0; filename[i]; i++) ! # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') ! # dll_name = filename + i +1; ! # ! # pe_header_offset = pe_get32 (dll, 0x3c); ! # opthdr_ofs = pe_header_offset + 4 + 20; ! # num_entries = pe_get32 (dll, opthdr_ofs + 92); ! # ! # if (num_entries < 1) /* no exports */ ! # return 1; ! # ! # export_rva = pe_get32 (dll, opthdr_ofs + 96); ! # export_size = pe_get32 (dll, opthdr_ofs + 100); ! # nsections = pe_get16 (dll, pe_header_offset + 4 +2); ! # secptr = (pe_header_offset + 4 + 20 + ! # pe_get16 (dll, pe_header_offset + 4 + 16)); ! # ! # expptr = 0; ! # for (i = 0; i < nsections; i++) ! # { ! # char sname[8]; ! # unsigned long secptr1 = secptr + 40 * i; ! # unsigned long vaddr = pe_get32 (dll, secptr1 + 12); ! # unsigned long vsize = pe_get32 (dll, secptr1 + 16); ! # unsigned long fptr = pe_get32 (dll, secptr1 + 20); ! # lseek(dll, secptr1, SEEK_SET); ! # read(dll, sname, 8); ! # if (vaddr <= export_rva && vaddr+vsize > export_rva) ! # { ! # expptr = fptr + (export_rva - vaddr); ! # if (export_rva + export_size > vaddr + vsize) ! # export_size = vsize - (export_rva - vaddr); ! # break; ! # } ! # } ! # ! # expdata = (unsigned char*)malloc(export_size); ! # lseek (dll, expptr, SEEK_SET); ! # read (dll, expdata, export_size); ! # erva = expdata - export_rva; ! # ! # nexp = pe_as32 (expdata+24); ! # name_rvas = pe_as32 (expdata+32); ! # ! # printf ("EXPORTS\n"); ! # for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) ! mv -f "${ofile}T" "$ofile" || \ ! (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") ! chmod +x "$ofile" ! fi ! ])# _LT_AC_LTCONFIG_HACK ! # AC_LIBTOOL_DLOPEN - enable checks for dlopen support ! AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) ! # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's ! AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) ! # AC_ENABLE_SHARED - implement the --enable-shared flag ! # Usage: AC_ENABLE_SHARED[(DEFAULT)] ! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to ! # `yes'. ! AC_DEFUN([AC_ENABLE_SHARED], ! [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl ! AC_ARG_ENABLE(shared, ! changequote(<<, >>)dnl ! << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], ! changequote([, ])dnl ! [p=${PACKAGE-default} ! case $enableval in ! yes) enable_shared=yes ;; ! no) enable_shared=no ;; ! *) ! enable_shared=no ! # Look at the argument we got. We use all the common list separators. ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," ! for pkg in $enableval; do ! if test "X$pkg" = "X$p"; then ! enable_shared=yes ! fi ! done ! IFS="$ac_save_ifs" ;; - esac], - enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl - ]) - - # AC_DISABLE_SHARED - set the default shared flag to --disable-shared - AC_DEFUN([AC_DISABLE_SHARED], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_ENABLE_SHARED(no)]) ! # AC_ENABLE_STATIC - implement the --enable-static flag ! # Usage: AC_ENABLE_STATIC[(DEFAULT)] ! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to ! # `yes'. ! AC_DEFUN([AC_ENABLE_STATIC], ! [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl ! AC_ARG_ENABLE(static, ! changequote(<<, >>)dnl ! << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], ! changequote([, ])dnl ! [p=${PACKAGE-default} ! case $enableval in ! yes) enable_static=yes ;; ! no) enable_static=no ;; ! *) ! enable_static=no ! # Look at the argument we got. We use all the common list separators. ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," ! for pkg in $enableval; do ! if test "X$pkg" = "X$p"; then ! enable_static=yes ! fi ! done ! IFS="$ac_save_ifs" ;; - esac], - enable_static=AC_ENABLE_STATIC_DEFAULT)dnl - ]) ! # AC_DISABLE_STATIC - set the default static flag to --disable-static ! AC_DEFUN([AC_DISABLE_STATIC], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_ENABLE_STATIC(no)]) - # AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag - # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] - # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to - # `yes'. - AC_DEFUN([AC_ENABLE_FAST_INSTALL], - [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl - AC_ARG_ENABLE(fast-install, - changequote(<<, >>)dnl - << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], - changequote([, ])dnl - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; *) ! enable_fast_install=no ! # Look at the argument we got. We use all the common list separators. ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," ! for pkg in $enableval; do ! if test "X$pkg" = "X$p"; then ! enable_fast_install=yes ! fi ! done ! IFS="$ac_save_ifs" ;; ! esac], ! enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl ! ]) ! ! # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install ! AC_DEFUN([AC_DISABLE_FAST_INSTALL], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_ENABLE_FAST_INSTALL(no)]) ! # AC_LIBTOOL_PICMODE - implement the --with-pic flag ! # Usage: AC_LIBTOOL_PICMODE[(MODE)] ! # Where MODE is either `yes' or `no'. If omitted, it defaults to ! # `both'. ! AC_DEFUN([AC_LIBTOOL_PICMODE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! pic_mode=ifelse($#,1,$1,default)]) ! # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library ! AC_DEFUN([AC_PATH_TOOL_PREFIX], ! [AC_MSG_CHECKING([for $1]) ! AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, ! [case $MAGIC_CMD in ! /*) ! lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; ! ?:/*) ! lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. ;; ! *) ! ac_save_MAGIC_CMD="$MAGIC_CMD" ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ! dnl $ac_dummy forces splitting on constant user-supplied paths. ! dnl POSIX.2 word splitting is done only on the output of word expansions, ! dnl not every word. This closes a longstanding sh security hole. ! ac_dummy="ifelse([$2], , $PATH, [$2])" ! for ac_dir in $ac_dummy; do ! test -z "$ac_dir" && ac_dir=. ! if test -f $ac_dir/$1; then ! lt_cv_path_MAGIC_CMD="$ac_dir/$1" ! if test -n "$file_magic_test_file"; then ! case $deplibs_check_method in ! "file_magic "*) ! file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" ! MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ! if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | ! egrep "$file_magic_regex" > /dev/null; then ! : ! else ! cat <&2 ! *** Warning: the command libtool uses to detect shared libraries, ! *** $file_magic_cmd, produces output that libtool cannot recognize. ! *** The result is that libtool may fail to recognize shared libraries ! *** as such. This will affect the creation of libtool libraries that ! *** depend on shared libraries, but programs linked with such libtool ! *** libraries will work regardless of this problem. Nevertheless, you ! *** may want to report the problem to your system manager and/or to ! *** bug-libtool@gnu.org ! EOF ! fi ;; ! esac fi ! break fi ! done ! IFS="$ac_save_ifs" ! MAGIC_CMD="$ac_save_MAGIC_CMD" ! ;; ! esac]) ! MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ! if test -n "$MAGIC_CMD"; then ! AC_MSG_RESULT($MAGIC_CMD) else ! AC_MSG_RESULT(no) fi - ]) ! # AC_PATH_MAGIC - find a file program which can recognise a shared library ! AC_DEFUN([AC_PATH_MAGIC], ! [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl ! AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) ! if test -z "$lt_cv_path_MAGIC_CMD"; then ! if test -n "$ac_tool_prefix"; then ! AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) ! else ! MAGIC_CMD=: ! fi ! fi ! ]) ! # AC_PROG_LD - find the path to the GNU or non-GNU linker ! AC_DEFUN([AC_PROG_LD], ! [AC_ARG_WITH(gnu-ld, ! [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], ! test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) ! AC_REQUIRE([AC_PROG_CC])dnl ! AC_REQUIRE([AC_CANONICAL_HOST])dnl ! AC_REQUIRE([AC_CANONICAL_BUILD])dnl ! AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl ! ac_prog=ld ! if test "$GCC" = yes; then ! # Check if gcc -print-prog-name=ld gives a path. ! AC_MSG_CHECKING([for ld used by GCC]) ! case $host in ! *-*-mingw*) ! # gcc leaves a trailing carriage return which upsets mingw ! ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ! *) ! ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ! esac ! case $ac_prog in ! # Accept absolute paths. ! [[\\/]]* | [[A-Za-z]]:[[\\/]]*) ! re_direlt='/[[^/]][[^/]]*/\.\./' ! # Canonicalize the path of ld ! ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ! while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ! ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ! done ! test -z "$LD" && LD="$ac_prog" ;; ! "") ! # If it fails, then pretend we aren't using GCC. ! ac_prog=ld ! ;; ! *) ! # If it is relative, then search for the first ld in PATH. ! with_gnu_ld=unknown ! ;; ! esac ! elif test "$with_gnu_ld" = yes; then ! AC_MSG_CHECKING([for GNU ld]) ! else ! AC_MSG_CHECKING([for non-GNU ld]) ! fi ! AC_CACHE_VAL(lt_cv_path_LD, ! [if test -z "$LD"; then ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ! for ac_dir in $PATH; do ! test -z "$ac_dir" && ac_dir=. ! if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ! lt_cv_path_LD="$ac_dir/$ac_prog" ! # Check to see if the program is GNU ld. I'd rather use --version, ! # but apparently some GNU ld's only accept -v. ! # Break only if it was the GNU/non-GNU ld that we prefer. ! if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then ! test "$with_gnu_ld" != no && break ! else ! test "$with_gnu_ld" != yes && break ! fi ! fi done - IFS="$ac_save_ifs" - else - lt_cv_path_LD="$LD" # Let the user override the test with a path. - fi]) - LD="$lt_cv_path_LD" - if test -n "$LD"; then - AC_MSG_RESULT($LD) - else - AC_MSG_RESULT(no) - fi - test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) - AC_PROG_LD_GNU - ]) ! # AC_PROG_LD_GNU - ! AC_DEFUN([AC_PROG_LD_GNU], ! [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, ! [# I'd rather use --version here, but apparently some GNU ld's only accept -v. ! if $LD -v 2>&1 &5; then ! lt_cv_prog_gnu_ld=yes ! else ! lt_cv_prog_gnu_ld=no ! fi]) ! with_gnu_ld=$lt_cv_prog_gnu_ld ! ]) ! # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker ! # -- PORTME Some linkers may need a different reload flag. ! AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], ! [AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, ! [lt_cv_ld_reload_flag='-r']) ! reload_flag=$lt_cv_ld_reload_flag ! test -n "$reload_flag" && reload_flag=" $reload_flag" ! ]) ! # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies ! # -- PORTME fill in with the dynamic library characteristics ! AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], ! [AC_CACHE_CHECK([how to recognise dependent libraries], ! lt_cv_deplibs_check_method, ! [lt_cv_file_magic_cmd='$MAGIC_CMD' ! lt_cv_file_magic_test_file= ! lt_cv_deplibs_check_method='unknown' ! # Need to set the preceding variable on all platforms that support ! # interlibrary dependencies. ! # 'none' -- dependencies not supported. ! # `unknown' -- same as none, but documents that we really don't know. ! # 'pass_all' -- all dependencies passed with no checks. ! # 'test_compile' -- check by making test program. ! # 'file_magic [[regex]]' -- check by looking for files in library path ! # which responds to the $file_magic_cmd with a given egrep regex. ! # If you have `file' or equivalent on your system and you're not sure ! # whether `pass_all' will *always* work, you probably want this one. ! case $host_os in ! aix4* | aix5*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! beos*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! bsdi4*) ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' ! lt_cv_file_magic_cmd='/usr/bin/file -L' ! lt_cv_file_magic_test_file=/shlib/libc.so ! ;; ! cygwin* | mingw* | pw32*) ! lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' ! lt_cv_file_magic_cmd='$OBJDUMP -f' ! ;; ! darwin* | rhapsody*) ! lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' ! lt_cv_file_magic_cmd='/usr/bin/file -L' ! case "$host_os" in ! rhapsody* | darwin1.[[012]]) ! lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ! ;; ! *) # Darwin 1.3 on ! lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ! ;; ! esac ! ;; ! freebsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then ! case $host_cpu in ! i*86 ) ! # Not sure whether the presence of OpenBSD here was a mistake. ! # Let's accept both of them until this is cleared up. ! lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ! ;; ! esac ! else ! lt_cv_deplibs_check_method=pass_all ! fi ! ;; ! gnu*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! hpux10.20*|hpux11*) ! lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=/usr/lib/libc.sl ! ;; ! irix5* | irix6* | nonstopux*) ! case $host_os in ! irix5* | nonstopux*) ! # this will be overridden with pass_all, but let us keep it just in case ! lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ! ;; ! *) ! case $LD in ! *-32|*"-32 ") libmagic=32-bit;; ! *-n32|*"-n32 ") libmagic=N32;; ! *-64|*"-64 ") libmagic=64-bit;; ! *) libmagic=never-match;; ! esac ! # this will be overridden with pass_all, but let us keep it just in case ! lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ! ;; ! esac ! lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` ! lt_cv_deplibs_check_method=pass_all ! ;; ! # This must be Linux ELF. ! linux-gnu*) ! case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) ! lt_cv_deplibs_check_method=pass_all ;; ! *) ! # glibc up to 2.1.1 does not perform some relocations on ARM ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; ! esac ! lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then ! lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' ! else ! lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' ! fi ! ;; ! newos6*) ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=/usr/lib/libnls.so ! ;; ! openbsd*) ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' ! else ! lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' ! fi ! ;; ! osf3* | osf4* | osf5*) ! # this will be overridden with pass_all, but let us keep it just in case ! lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' ! lt_cv_file_magic_test_file=/shlib/libc.so ! lt_cv_deplibs_check_method=pass_all ! ;; ! sco3.2v5*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! solaris*) ! lt_cv_deplibs_check_method=pass_all ! lt_cv_file_magic_test_file=/lib/libc.so ! ;; ! sysv5uw[[78]]* | sysv4*uw2*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! case $host_vendor in ! motorola) ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ! ;; ! ncr) ! lt_cv_deplibs_check_method=pass_all ! ;; ! sequent) ! lt_cv_file_magic_cmd='/bin/file' ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ! ;; ! sni) ! lt_cv_file_magic_cmd='/bin/file' ! lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" ! lt_cv_file_magic_test_file=/lib/libc.so ! ;; ! siemens) ! lt_cv_deplibs_check_method=pass_all ! ;; ! esac ! ;; ! esac ! ]) ! file_magic_cmd=$lt_cv_file_magic_cmd ! deplibs_check_method=$lt_cv_deplibs_check_method ! ]) ! # AC_PROG_NM - find the path to a BSD-compatible name lister ! AC_DEFUN([AC_PROG_NM], ! [AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl ! AC_MSG_CHECKING([for BSD-compatible nm]) ! AC_CACHE_VAL(lt_cv_path_NM, ! [if test -n "$NM"; then ! # Let the user override the test. ! lt_cv_path_NM="$NM" ! else ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ! for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do ! test -z "$ac_dir" && ac_dir=. ! tmp_nm=$ac_dir/${ac_tool_prefix}nm ! if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then ! # Check to see if the nm accepts a BSD-compat flag. ! # Adding the `sed 1q' prevents false positives on HP-UX, which says: ! # nm: unknown option "B" ignored ! # Tru64's nm complains that /dev/null is an invalid object file ! if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then ! lt_cv_path_NM="$tmp_nm -B" ! break ! elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ! lt_cv_path_NM="$tmp_nm -p" ! break ! else ! lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but ! continue # so that we can try to find one that supports BSD flags ! fi ! fi ! done ! IFS="$ac_save_ifs" ! test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm ! fi]) ! NM="$lt_cv_path_NM" ! AC_MSG_RESULT([$NM]) ! ]) ! # AC_CHECK_LIBM - check for math library ! AC_DEFUN([AC_CHECK_LIBM], ! [AC_REQUIRE([AC_CANONICAL_HOST])dnl ! LIBM= ! case $host in ! *-*-beos* | *-*-cygwin* | *-*-pw32*) ! # These system don't have libm ! ;; ! *-ncr-sysv4.3*) ! AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") ! AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") ! ;; ! *) ! AC_CHECK_LIB(m, main, LIBM="-lm") ! ;; ! esac ! ]) ! # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for ! # the libltdl convenience library and LTDLINCL to the include flags for ! # the libltdl header and adds --enable-ltdl-convenience to the ! # configure arguments. Note that LIBLTDL and LTDLINCL are not ! # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not ! # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed ! # with '${top_builddir}/' and LTDLINCL will be prefixed with ! # '${top_srcdir}/' (note the single quotes!). If your package is not ! # flat and you're not using automake, define top_builddir and ! # top_srcdir appropriately in the Makefiles. ! AC_DEFUN([AC_LIBLTDL_CONVENIENCE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! case $enable_ltdl_convenience in ! no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; ! "") enable_ltdl_convenience=yes ! ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; ! esac ! LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la ! LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) ! # For backwards non-gettext consistent compatibility... ! INCLTDL="$LTDLINCL" ! ]) ! # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for ! # the libltdl installable library and LTDLINCL to the include flags for ! # the libltdl header and adds --enable-ltdl-install to the configure ! # arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is ! # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed ! # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will ! # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed ! # with '${top_srcdir}/' (note the single quotes!). If your package is ! # not flat and you're not using automake, define top_builddir and ! # top_srcdir appropriately in the Makefiles. ! # In the future, this macro may have to be called after AC_PROG_LIBTOOL. ! AC_DEFUN([AC_LIBLTDL_INSTALLABLE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_CHECK_LIB(ltdl, main, ! [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], ! [if test x"$enable_ltdl_install" = xno; then ! AC_MSG_WARN([libltdl not installed, but installation disabled]) ! else ! enable_ltdl_install=yes ! fi ! ]) ! if test x"$enable_ltdl_install" = x"yes"; then ! ac_configure_args="$ac_configure_args --enable-ltdl-install" ! LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la ! LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) ! else ! ac_configure_args="$ac_configure_args --enable-ltdl-install=no" ! LIBLTDL="-lltdl" ! LTDLINCL= ! fi ! # For backwards non-gettext consistent compatibility... ! INCLTDL="$LTDLINCL" ! ]) ! # old names ! AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) ! AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) ! AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) ! AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) ! AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) ! AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) ! AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) ! # This is just to silence aclocal about the macro not being used ! ifelse([AC_DISABLE_FAST_INSTALL]) ! # NOTE: This macro has been submitted for inclusion into # ! # GNU Autoconf as AC_PROG_SED. When it is available in # ! # a released version of Autoconf we should remove this # ! # macro and use it instead. # ! # LT_AC_PROG_SED ! # -------------- ! # Check for a fully-functional sed program, that truncates ! # as few characters as possible. Prefer GNU sed if found. ! AC_DEFUN([LT_AC_PROG_SED], ! [AC_MSG_CHECKING([for a sed that does not truncate output]) ! AC_CACHE_VAL(lt_cv_path_SED, ! [# Loop through the user's path and test for sed and gsed. ! # Then use that list of sed's as ones to test for truncation. ! as_executable_p="test -f" ! 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_prog in sed gsed; do ! for ac_exec_ext in '' $ac_executable_extensions; do ! if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then ! _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" ! fi ! done ! done ! done ! # Create a temporary directory, and hook for its removal unless debugging. ! $debug || ! { ! trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 ! trap '{ (exit 1); exit 1; }' 1 2 13 15 ! } ! # Create a (secure) tmp directory for tmp files. ! : ${TMPDIR=/tmp} ! { ! tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && ! test -n "$tmp" && test -d "$tmp" ! } || ! { ! tmp=$TMPDIR/sed$$-$RANDOM ! (umask 077 && mkdir $tmp) ! } || ! { ! echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ! { (exit 1); exit 1; } ! } ! _max=0 ! _count=0 ! # Add /usr/xpg4/bin/sed as it is typically found on Solaris ! # along with /bin/sed that truncates output. ! for _sed in $_sed_list /usr/xpg4/bin/sed; do ! test ! -f ${_sed} && break ! cat /dev/null > "$tmp/sed.in" ! _count=0 ! echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" ! # Check for GNU sed and select it if it is found. ! if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then ! lt_cv_path_SED=${_sed} ! break ! fi ! while true; do ! cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" ! mv "$tmp/sed.tmp" "$tmp/sed.in" ! cp "$tmp/sed.in" "$tmp/sed.nl" ! echo >>"$tmp/sed.nl" ! ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break ! cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break ! # 40000 chars as input seems more than enough ! test $_count -gt 10 && break ! _count=`expr $_count + 1` ! if test $_count -gt $_max; then ! _max=$_count ! lt_cv_path_SED=$_sed ! fi ! done ! done ! rm -rf "$tmp" ! ]) ! if test "X$SED" != "X"; then ! lt_cv_path_SED=$SED ! else ! SED=$lt_cv_path_SED ! fi ! AC_MSG_RESULT([$SED]) ! ]) ! # AM_CONDITIONAL -*- Autoconf -*- ! # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 5 ! AC_PREREQ(2.52) ! # AM_CONDITIONAL(NAME, SHELL-CONDITION) ! # ------------------------------------- ! # Define a conditional. ! AC_DEFUN([AM_CONDITIONAL], ! [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], ! [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl ! AC_SUBST([$1_TRUE]) ! AC_SUBST([$1_FALSE]) ! if $2; then ! $1_TRUE= ! $1_FALSE='#' ! else ! $1_TRUE='#' ! $1_FALSE= ! fi ! AC_CONFIG_COMMANDS_PRE( ! [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then ! AC_MSG_ERROR([conditional "$1" was never defined. ! Usually this means the macro was only invoked conditionally.]) ! fi])]) ! # Do all the work for Automake. -*- Autoconf -*- ! # This macro actually does too much some checks are only needed if ! # your package does certain things. But this isn't really a big deal. ! # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 ! # Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 8 ! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be ! # written in clear, in which case automake, when reading aclocal.m4, ! # will think it sees a *use*, and therefore will trigger all it's ! # C support machinery. Also note that it means that autoscan, seeing ! # CC etc. in the Makefile, will ask for an AC_PROG_CC use... ! AC_PREREQ([2.54]) ! # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow ! # the ones we care about. ! m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl ! # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) ! # AM_INIT_AUTOMAKE([OPTIONS]) ! # ----------------------------------------------- ! # The call with PACKAGE and VERSION arguments is the old style ! # call (pre autoconf-2.50), which is being phased out. PACKAGE ! # and VERSION should now be passed to AC_INIT and removed from ! # the call to AM_INIT_AUTOMAKE. ! # We support both call styles for the transition. After ! # the next Automake release, Autoconf can make the AC_INIT ! # arguments mandatory, and then we can depend on a new Autoconf ! # release and drop the old call support. ! AC_DEFUN([AM_INIT_AUTOMAKE], ! [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl ! AC_REQUIRE([AC_PROG_INSTALL])dnl ! # test to see if srcdir already configured ! if test "`cd $srcdir && pwd`" != "`pwd`" && ! test -f $srcdir/config.status; then ! AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) ! fi ! # test whether we have cygpath ! if test -z "$CYGPATH_W"; then ! if (cygpath --version) >/dev/null 2>/dev/null; then ! CYGPATH_W='cygpath -w' ! else ! CYGPATH_W=echo ! fi ! fi ! AC_SUBST([CYGPATH_W]) ! # Define the identity of the package. ! dnl Distinguish between old-style and new-style calls. ! m4_ifval([$2], ! [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl ! AC_SUBST([PACKAGE], [$1])dnl ! AC_SUBST([VERSION], [$2])], ! [_AM_SET_OPTIONS([$1])dnl ! AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl ! AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl ! _AM_IF_OPTION([no-define],, ! [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) ! AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl ! # Some tools Automake needs. ! AC_REQUIRE([AM_SANITY_CHECK])dnl ! AC_REQUIRE([AC_ARG_PROGRAM])dnl ! AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) ! AM_MISSING_PROG(AUTOCONF, autoconf) ! AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) ! AM_MISSING_PROG(AUTOHEADER, autoheader) ! AM_MISSING_PROG(MAKEINFO, makeinfo) ! AM_MISSING_PROG(AMTAR, tar) ! AM_PROG_INSTALL_SH ! AM_PROG_INSTALL_STRIP ! # We need awk for the "check" target. The system "awk" is bad on ! # some platforms. ! AC_REQUIRE([AC_PROG_AWK])dnl ! AC_REQUIRE([AC_PROG_MAKE_SET])dnl ! _AM_IF_OPTION([no-dependencies],, ! [AC_PROVIDE_IFELSE([AC_PROG_CC], ! [_AM_DEPENDENCIES(CC)], ! [define([AC_PROG_CC], ! defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ! AC_PROVIDE_IFELSE([AC_PROG_CXX], ! [_AM_DEPENDENCIES(CXX)], ! [define([AC_PROG_CXX], ! defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ! ]) ! ]) ! # When config.status generates a header, we must update the stamp-h file. ! # This file resides in the same directory as the config header ! # that is generated. The stamp files are numbered to have different names. ! # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the ! # loop where config.status creates the headers, so we can generate ! # our stamp files there. ! AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], ! [_am_stamp_count=`expr ${_am_stamp_count-0} + 1` ! echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) ! # Copyright 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # AM_AUTOMAKE_VERSION(VERSION) ! # ---------------------------- ! # Automake X.Y traces this macro to ensure aclocal.m4 has been ! # generated from the m4 files accompanying Automake X.Y. ! AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) ! # AM_SET_CURRENT_AUTOMAKE_VERSION ! # ------------------------------- ! # Call AM_AUTOMAKE_VERSION so it can be traced. ! # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. ! AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], ! [AM_AUTOMAKE_VERSION([1.7])]) ! # Helper functions for option handling. -*- Autoconf -*- ! # Copyright 2001, 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 2 ! # _AM_MANGLE_OPTION(NAME) ! # ----------------------- ! AC_DEFUN([_AM_MANGLE_OPTION], ! [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) ! # _AM_SET_OPTION(NAME) ! # ------------------------------ ! # Set option NAME. Presently that only means defining a flag for this option. ! AC_DEFUN([_AM_SET_OPTION], ! [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) ! # _AM_SET_OPTIONS(OPTIONS) ! # ---------------------------------- ! # OPTIONS is a space-separated list of Automake options. ! AC_DEFUN([_AM_SET_OPTIONS], ! [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) ! # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) ! # ------------------------------------------- ! # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. ! AC_DEFUN([_AM_IF_OPTION], ! [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # ! # Check to make sure that the build environment is sane. # ! # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. ! ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 3 ! # AM_SANITY_CHECK ! # --------------- ! AC_DEFUN([AM_SANITY_CHECK], ! [AC_MSG_CHECKING([whether build environment is sane]) ! # Just in case ! sleep 1 ! echo timestamp > conftest.file ! # Do `set' in a subshell so we don't clobber the current shell's ! # arguments. Must try -L first in case configure is actually a ! # symlink; some systems play weird games with the mod time of symlinks ! # (eg FreeBSD returns the mod time of the symlink's containing ! # directory). ! if ( ! set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` ! if test "$[*]" = "X"; then ! # -L didn't work. ! set X `ls -t $srcdir/configure conftest.file` ! fi ! rm -f conftest.file ! if test "$[*]" != "X $srcdir/configure conftest.file" \ ! && test "$[*]" != "X conftest.file $srcdir/configure"; then ! # If neither matched, then we have a broken ls. This can happen ! # if, for instance, CONFIG_SHELL is bash and it inherits a ! # broken ls alias from the environment. This has actually ! # happened. Such a system could not be considered "sane". ! AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken ! alias in your environment]) ! fi ! test "$[2]" = conftest.file ! ) ! then ! # Ok. ! : ! else ! AC_MSG_ERROR([newly created file is older than distributed files! ! Check your system clock]) ! fi ! AC_MSG_RESULT(yes)]) ! # -*- Autoconf -*- ! # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2, or (at your option) - # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 3 - # AM_MISSING_PROG(NAME, PROGRAM) - # ------------------------------ - AC_DEFUN([AM_MISSING_PROG], - [AC_REQUIRE([AM_MISSING_HAS_RUN]) - $1=${$1-"${am_missing_run}$2"} - AC_SUBST($1)]) ! # AM_MISSING_HAS_RUN ! # ------------------ ! # Define MISSING if not defined so far and test if it supports --run. ! # If it does, set am_missing_run to use it, otherwise, to nothing. ! AC_DEFUN([AM_MISSING_HAS_RUN], ! [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ! test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" ! # Use eval to expand $SHELL ! if eval "$MISSING --run true"; then ! am_missing_run="$MISSING --run " else ! am_missing_run= ! AC_MSG_WARN([`missing' script is too old or missing]) fi ]) - # AM_AUX_DIR_EXPAND - - # Copyright 2001 Free Software Foundation, Inc. - - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2, or (at your option) - # any later version. - - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - - # You should have received a copy of the GNU General Public License - # along with this program; if not, write to the Free Software - # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - # 02111-1307, USA. - - # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets - # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to - # `$srcdir', `$srcdir/..', or `$srcdir/../..'. - # - # Of course, Automake must honor this variable whenever it calls a - # tool from the auxiliary directory. The problem is that $srcdir (and - # therefore $ac_aux_dir as well) can be either absolute or relative, - # depending on how configure is run. This is pretty annoying, since - # it makes $ac_aux_dir quite unusable in subdirectories: in the top - # source directory, any form will work fine, but in subdirectories a - # relative path needs to be adjusted first. - # - # $ac_aux_dir/missing - # fails when called from a subdirectory if $ac_aux_dir is relative - # $top_srcdir/$ac_aux_dir/missing - # fails if $ac_aux_dir is absolute, - # fails when called from a subdirectory in a VPATH build with - # a relative $ac_aux_dir - # - # The reason of the latter failure is that $top_srcdir and $ac_aux_dir - # are both prefixed by $srcdir. In an in-source build this is usually - # harmless because $srcdir is `.', but things will broke when you - # start a VPATH build or use an absolute $srcdir. - # - # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, - # iff we strip the leading $srcdir from $ac_aux_dir. That would be: - # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` - # and then we would define $MISSING as - # MISSING="\${SHELL} $am_aux_dir/missing" - # This will work as long as MISSING is not called from configure, because - # unfortunately $(top_srcdir) has no meaning in configure. - # However there are other variables, like CC, which are often used in - # configure, and could therefore not use this "fixed" $ac_aux_dir. - # - # Another solution, used here, is to always expand $ac_aux_dir to an - # absolute PATH. The drawback is that using absolute paths prevent a - # configured tree to be moved without reconfiguration. - - # Rely on autoconf to set up CDPATH properly. - AC_PREREQ([2.50]) ! AC_DEFUN([AM_AUX_DIR_EXPAND], [ ! # expand $ac_aux_dir to an absolute path ! am_aux_dir=`cd $ac_aux_dir && pwd` ]) - # AM_PROG_INSTALL_SH - # ------------------ - # Define $install_sh. - - # Copyright 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! AC_DEFUN([AM_PROG_INSTALL_SH], ! [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ! install_sh=${install_sh-"$am_aux_dir/install-sh"} ! AC_SUBST(install_sh)]) ! # AM_PROG_INSTALL_STRIP ! # Copyright 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # One issue with vendor `install' (even GNU) is that you can't ! # specify the program used to strip binaries. This is especially ! # annoying in cross-compiling environments, where the build's strip ! # is unlikely to handle the host's binaries. ! # Fortunately install-sh will honor a STRIPPROG variable, so we ! # always use install-sh in `make install-strip', and initialize ! # STRIPPROG with the value of the STRIP variable (set by the user). ! AC_DEFUN([AM_PROG_INSTALL_STRIP], ! [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl ! # Installed binaries are usually stripped using `strip' when the user ! # run `make install-strip'. However `strip' might not be the right ! # tool to use in cross-compilation environments, therefore Automake ! # will honor the `STRIP' environment variable to overrule this program. ! dnl Don't test for $cross_compiling = yes, because it might be `maybe'. ! if test "$cross_compiling" != no; then ! AC_CHECK_TOOL([STRIP], [strip], :) ! fi ! INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" ! AC_SUBST([INSTALL_STRIP_PROGRAM])]) ! # serial 4 -*- Autoconf -*- ! # Copyright 1999, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be ! # written in clear, in which case automake, when reading aclocal.m4, ! # will think it sees a *use*, and therefore will trigger all it's ! # C support machinery. Also note that it means that autoscan, seeing ! # CC etc. in the Makefile, will ask for an AC_PROG_CC use... ! # _AM_DEPENDENCIES(NAME) ! # ---------------------- ! # See how the compiler implements dependency checking. ! # NAME is "CC", "CXX", "GCJ", or "OBJC". ! # We try a few techniques and use that to set a single cache variable. ! # ! # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was ! # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular ! # dependency, and given that the user is not expected to run this macro, ! # just rely on AC_PROG_CC. ! AC_DEFUN([_AM_DEPENDENCIES], ! [AC_REQUIRE([AM_SET_DEPDIR])dnl ! AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl ! AC_REQUIRE([AM_MAKE_INCLUDE])dnl ! AC_REQUIRE([AM_DEP_TRACK])dnl ! ifelse([$1], CC, [depcc="$CC" am_compiler_list=], ! [$1], CXX, [depcc="$CXX" am_compiler_list=], ! [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], ! [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], ! [depcc="$$1" am_compiler_list=]) ! AC_CACHE_CHECK([dependency style of $depcc], ! [am_cv_$1_dependencies_compiler_type], ! [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ! # We make a subdir and do the tests there. Otherwise we can end up ! # making bogus files that we don't know about and never remove. For ! # instance it was reported that on HP-UX the gcc test will end up ! # making a dummy file named `D' -- because `-MD' means `put the output ! # in D'. ! mkdir conftest.dir ! # Copy depcomp to subdir because otherwise we won't find it if we're ! # using a relative directory. ! cp "$am_depcomp" conftest.dir ! cd conftest.dir - am_cv_$1_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` - fi - for depmode in $am_compiler_list; do - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - echo '#include "conftest.h"' > conftest.c - echo 'int i;' > conftest.h - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf ! case $depmode in ! nosideeffect) ! # after this tag, mechanisms are not by side-effect, so they'll ! # only be used when explicitly requested ! if test "x$enable_dependency_tracking" = xyes; then ! continue ! else break fi - ;; - none) break ;; - esac - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. - if depmode=$depmode \ - source=conftest.c object=conftest.o \ - depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && - grep conftest.h conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - am_cv_$1_dependencies_compiler_type=$depmode - break fi done ! cd .. ! rm -rf conftest.dir ! else ! am_cv_$1_dependencies_compiler_type=none ! fi ]) ! AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) ! AM_CONDITIONAL([am__fastdep$1], [ ! test "x$enable_dependency_tracking" != xno \ ! && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) ! # AM_SET_DEPDIR ! # ------------- ! # Choose a directory name for dependency files. ! # This macro is AC_REQUIREd in _AM_DEPENDENCIES ! AC_DEFUN([AM_SET_DEPDIR], ! [rm -f .deps 2>/dev/null ! mkdir .deps 2>/dev/null ! if test -d .deps; then ! DEPDIR=.deps else ! # MS-DOS does not allow filenames that begin with a dot. ! DEPDIR=_deps fi ! rmdir .deps 2>/dev/null ! AC_SUBST([DEPDIR]) ]) ! # AM_DEP_TRACK # ------------ ! AC_DEFUN([AM_DEP_TRACK], ! [AC_ARG_ENABLE(dependency-tracking, ! [ --disable-dependency-tracking Speeds up one-time builds ! --enable-dependency-tracking Do not reject slow dependency extractors]) ! if test "x$enable_dependency_tracking" != xno; then ! am_depcomp="$ac_aux_dir/depcomp" ! AMDEPBACKSLASH='\' fi - AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) - AC_SUBST([AMDEPBACKSLASH]) - ]) ! # Generate code to set up dependency tracking. -*- Autoconf -*- ! # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. - # You should have received a copy of the GNU General Public License - # along with this program; if not, write to the Free Software - # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - # 02111-1307, USA. ! #serial 2 ! # _AM_OUTPUT_DEPENDENCY_COMMANDS ! # ------------------------------ ! AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], ! [for mf in $CONFIG_FILES; do ! # Strip MF so we end up with the name of the file. ! mf=`echo "$mf" | sed -e 's/:.*$//'` ! # Check whether this is an Automake generated Makefile or not. ! # We used to match only the files named `Makefile.in', but ! # some people rename them; so instead we look at the file content. ! # Grep'ing the first line is not enough: some people post-process ! # each Makefile.in and add a new line on top of each file to say so. ! # So let's grep whole file. ! if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then ! dirpart=`AS_DIRNAME("$mf")` ! else ! continue ! fi ! grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue ! # Extract the definition of DEP_FILES from the Makefile without ! # running `make'. ! DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` ! test -z "$DEPDIR" && continue ! # When using ansi2knr, U may be empty or an underscore; expand it ! U=`sed -n -e '/^U = / s///p' < "$mf"` ! test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" ! # We invoke sed twice because it is the simplest approach to ! # changing $(DEPDIR) to its actual value in the expansion. ! for file in `sed -n -e ' ! /^DEP_FILES = .*\\\\$/ { ! s/^DEP_FILES = // ! :loop ! s/\\\\$// ! p ! n ! /\\\\$/ b loop ! p ! } ! /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ ! sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do ! # Make sure the directory exists. ! test -f "$dirpart/$file" && continue ! fdir=`AS_DIRNAME(["$file"])` ! AS_MKDIR_P([$dirpart/$fdir]) ! # echo "creating $dirpart/$file" ! echo '# dummy' > "$dirpart/$file" done ! done ! ])# _AM_OUTPUT_DEPENDENCY_COMMANDS ! # AM_OUTPUT_DEPENDENCY_COMMANDS ! # ----------------------------- ! # This macro should only be invoked once -- use via AC_REQUIRE. ! # ! # This code is only required when automatic dependency tracking ! # is enabled. FIXME. This creates each `.P' file that we will ! # need in order to bootstrap the dependency handling code. ! AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], ! [AC_CONFIG_COMMANDS([depfiles], ! [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], ! [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) ! # Check to see how 'make' treats includes. -*- Autoconf -*- ! ! # Copyright (C) 2001, 2002 Free Software Foundation, Inc. ! ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 2 ! # AM_MAKE_INCLUDE() ! # ----------------- ! # Check to see how make treats includes. ! AC_DEFUN([AM_MAKE_INCLUDE], ! [am_make=${MAKE-make} ! cat > confinc << 'END' ! doit: ! @echo done ! END ! # If we don't find an include directive, just comment out the code. ! AC_MSG_CHECKING([for style of include used by $am_make]) ! am__include="#" ! am__quote= ! _am_result=none ! # First try GNU make style include. ! echo "include confinc" > confmf ! # We grep out `Entering directory' and `Leaving directory' ! # messages which can occur if `w' ends up in MAKEFLAGS. ! # In particular we don't look at `^make:' because GNU make might ! # be invoked under some other name (usually "gmake"), in which ! # case it prints its new name instead of `make'. ! if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ! am__include=include ! am__quote= ! _am_result=GNU fi ! # Now try BSD make style include. ! if test "$am__include" = "#"; then ! echo '.include "confinc"' > confmf ! if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ! am__include=.include ! am__quote="\"" ! _am_result=BSD ! fi fi ! AC_SUBST(am__include) ! AC_SUBST(am__quote) ! AC_MSG_RESULT($_am_result) ! rm -f confinc confmf ]) - # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- ! # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. - AC_PREREQ([2.52]) ! # serial 6 ! # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. ! AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) --- 11,4845 ---- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. + # Do all the work for Automake. -*- Autoconf -*- ! # This macro actually does too much some checks are only needed if ! # your package does certain things. But this isn't really a big deal. ! # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 ! # Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 8 ! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be ! # written in clear, in which case automake, when reading aclocal.m4, ! # will think it sees a *use*, and therefore will trigger all it's ! # C support machinery. Also note that it means that autoscan, seeing ! # CC etc. in the Makefile, will ask for an AC_PROG_CC use... + AC_PREREQ([2.54]) ! # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow ! # the ones we care about. ! m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl ! # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) ! # AM_INIT_AUTOMAKE([OPTIONS]) ! # ----------------------------------------------- ! # The call with PACKAGE and VERSION arguments is the old style ! # call (pre autoconf-2.50), which is being phased out. PACKAGE ! # and VERSION should now be passed to AC_INIT and removed from ! # the call to AM_INIT_AUTOMAKE. ! # We support both call styles for the transition. After ! # the next Automake release, Autoconf can make the AC_INIT ! # arguments mandatory, and then we can depend on a new Autoconf ! # release and drop the old call support. ! AC_DEFUN([AM_INIT_AUTOMAKE], ! [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl ! AC_REQUIRE([AC_PROG_INSTALL])dnl ! # test to see if srcdir already configured ! if test "`cd $srcdir && pwd`" != "`pwd`" && ! test -f $srcdir/config.status; then ! AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) ! fi ! # test whether we have cygpath ! if test -z "$CYGPATH_W"; then ! if (cygpath --version) >/dev/null 2>/dev/null; then ! CYGPATH_W='cygpath -w' ! else ! CYGPATH_W=echo ! fi ! fi ! AC_SUBST([CYGPATH_W]) ! # Define the identity of the package. ! dnl Distinguish between old-style and new-style calls. ! m4_ifval([$2], ! [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl ! AC_SUBST([PACKAGE], [$1])dnl ! AC_SUBST([VERSION], [$2])], ! [_AM_SET_OPTIONS([$1])dnl ! AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl ! AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl ! _AM_IF_OPTION([no-define],, ! [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) ! AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl ! # Some tools Automake needs. ! AC_REQUIRE([AM_SANITY_CHECK])dnl ! AC_REQUIRE([AC_ARG_PROGRAM])dnl ! AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) ! AM_MISSING_PROG(AUTOCONF, autoconf) ! AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) ! AM_MISSING_PROG(AUTOHEADER, autoheader) ! AM_MISSING_PROG(MAKEINFO, makeinfo) ! AM_MISSING_PROG(AMTAR, tar) ! AM_PROG_INSTALL_SH ! AM_PROG_INSTALL_STRIP ! # We need awk for the "check" target. The system "awk" is bad on ! # some platforms. ! AC_REQUIRE([AC_PROG_AWK])dnl ! AC_REQUIRE([AC_PROG_MAKE_SET])dnl ! _AM_IF_OPTION([no-dependencies],, ! [AC_PROVIDE_IFELSE([AC_PROG_CC], ! [_AM_DEPENDENCIES(CC)], ! [define([AC_PROG_CC], ! defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl ! AC_PROVIDE_IFELSE([AC_PROG_CXX], ! [_AM_DEPENDENCIES(CXX)], ! [define([AC_PROG_CXX], ! defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) ! # When config.status generates a header, we must update the stamp-h file. ! # This file resides in the same directory as the config header ! # that is generated. The stamp files are numbered to have different names. ! # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the ! # loop where config.status creates the headers, so we can generate ! # our stamp files there. ! AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], ! [_am_stamp_count=`expr ${_am_stamp_count-0} + 1` ! echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) ! # Copyright 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + # AM_AUTOMAKE_VERSION(VERSION) + # ---------------------------- + # Automake X.Y traces this macro to ensure aclocal.m4 has been + # generated from the m4 files accompanying Automake X.Y. + AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) ! # AM_SET_CURRENT_AUTOMAKE_VERSION ! # ------------------------------- ! # Call AM_AUTOMAKE_VERSION so it can be traced. ! # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. ! AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], ! [AM_AUTOMAKE_VERSION([1.7])]) ! # Helper functions for option handling. -*- Autoconf -*- + # Copyright 2001, 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. + # This program is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 2 ! # _AM_MANGLE_OPTION(NAME) ! # ----------------------- ! AC_DEFUN([_AM_MANGLE_OPTION], ! [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) ! # _AM_SET_OPTION(NAME) ! # ------------------------------ ! # Set option NAME. Presently that only means defining a flag for this option. ! AC_DEFUN([_AM_SET_OPTION], ! [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) ! # _AM_SET_OPTIONS(OPTIONS) ! # ---------------------------------- ! # OPTIONS is a space-separated list of Automake options. ! AC_DEFUN([_AM_SET_OPTIONS], ! [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) ! # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) ! # ------------------------------------------- ! # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. ! AC_DEFUN([_AM_IF_OPTION], ! [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) ! # ! # Check to make sure that the build environment is sane. ! # ! # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 3 ! # AM_SANITY_CHECK ! # --------------- ! AC_DEFUN([AM_SANITY_CHECK], ! [AC_MSG_CHECKING([whether build environment is sane]) ! # Just in case ! sleep 1 ! echo timestamp > conftest.file ! # Do `set' in a subshell so we don't clobber the current shell's ! # arguments. Must try -L first in case configure is actually a ! # symlink; some systems play weird games with the mod time of symlinks ! # (eg FreeBSD returns the mod time of the symlink's containing ! # directory). ! if ( ! set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` ! if test "$[*]" = "X"; then ! # -L didn't work. ! set X `ls -t $srcdir/configure conftest.file` ! fi ! rm -f conftest.file ! if test "$[*]" != "X $srcdir/configure conftest.file" \ ! && test "$[*]" != "X conftest.file $srcdir/configure"; then ! # If neither matched, then we have a broken ls. This can happen ! # if, for instance, CONFIG_SHELL is bash and it inherits a ! # broken ls alias from the environment. This has actually ! # happened. Such a system could not be considered "sane". ! AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken ! alias in your environment]) ! fi ! test "$[2]" = conftest.file ! ) ! then ! # Ok. ! : ! else ! AC_MSG_ERROR([newly created file is older than distributed files! ! Check your system clock]) ! fi ! AC_MSG_RESULT(yes)]) ! # -*- Autoconf -*- ! # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 3 ! # AM_MISSING_PROG(NAME, PROGRAM) ! # ------------------------------ ! AC_DEFUN([AM_MISSING_PROG], ! [AC_REQUIRE([AM_MISSING_HAS_RUN]) ! $1=${$1-"${am_missing_run}$2"} ! AC_SUBST($1)]) ! # AM_MISSING_HAS_RUN ! # ------------------ ! # Define MISSING if not defined so far and test if it supports --run. ! # If it does, set am_missing_run to use it, otherwise, to nothing. ! AC_DEFUN([AM_MISSING_HAS_RUN], ! [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ! test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" ! # Use eval to expand $SHELL ! if eval "$MISSING --run true"; then ! am_missing_run="$MISSING --run " ! else ! am_missing_run= ! AC_MSG_WARN([`missing' script is too old or missing]) ! fi ! ]) ! # AM_AUX_DIR_EXPAND ! # Copyright 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets ! # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to ! # `$srcdir', `$srcdir/..', or `$srcdir/../..'. ! # ! # Of course, Automake must honor this variable whenever it calls a ! # tool from the auxiliary directory. The problem is that $srcdir (and ! # therefore $ac_aux_dir as well) can be either absolute or relative, ! # depending on how configure is run. This is pretty annoying, since ! # it makes $ac_aux_dir quite unusable in subdirectories: in the top ! # source directory, any form will work fine, but in subdirectories a ! # relative path needs to be adjusted first. ! # ! # $ac_aux_dir/missing ! # fails when called from a subdirectory if $ac_aux_dir is relative ! # $top_srcdir/$ac_aux_dir/missing ! # fails if $ac_aux_dir is absolute, ! # fails when called from a subdirectory in a VPATH build with ! # a relative $ac_aux_dir ! # ! # The reason of the latter failure is that $top_srcdir and $ac_aux_dir ! # are both prefixed by $srcdir. In an in-source build this is usually ! # harmless because $srcdir is `.', but things will broke when you ! # start a VPATH build or use an absolute $srcdir. ! # ! # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, ! # iff we strip the leading $srcdir from $ac_aux_dir. That would be: ! # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` ! # and then we would define $MISSING as ! # MISSING="\${SHELL} $am_aux_dir/missing" ! # This will work as long as MISSING is not called from configure, because ! # unfortunately $(top_srcdir) has no meaning in configure. ! # However there are other variables, like CC, which are often used in ! # configure, and could therefore not use this "fixed" $ac_aux_dir. ! # ! # Another solution, used here, is to always expand $ac_aux_dir to an ! # absolute PATH. The drawback is that using absolute paths prevent a ! # configured tree to be moved without reconfiguration. ! # Rely on autoconf to set up CDPATH properly. ! AC_PREREQ([2.50]) ! AC_DEFUN([AM_AUX_DIR_EXPAND], [ ! # expand $ac_aux_dir to an absolute path ! am_aux_dir=`cd $ac_aux_dir && pwd` ! ]) ! # AM_PROG_INSTALL_SH ! # ------------------ ! # Define $install_sh. ! # Copyright 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! AC_DEFUN([AM_PROG_INSTALL_SH], ! [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl ! install_sh=${install_sh-"$am_aux_dir/install-sh"} ! AC_SUBST(install_sh)]) ! # AM_PROG_INSTALL_STRIP ! # Copyright 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! ! # One issue with vendor `install' (even GNU) is that you can't ! # specify the program used to strip binaries. This is especially ! # annoying in cross-compiling environments, where the build's strip ! # is unlikely to handle the host's binaries. ! # Fortunately install-sh will honor a STRIPPROG variable, so we ! # always use install-sh in `make install-strip', and initialize ! # STRIPPROG with the value of the STRIP variable (set by the user). ! AC_DEFUN([AM_PROG_INSTALL_STRIP], ! [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl ! # Installed binaries are usually stripped using `strip' when the user ! # run `make install-strip'. However `strip' might not be the right ! # tool to use in cross-compilation environments, therefore Automake ! # will honor the `STRIP' environment variable to overrule this program. ! dnl Don't test for $cross_compiling = yes, because it might be `maybe'. ! if test "$cross_compiling" != no; then ! AC_CHECK_TOOL([STRIP], [strip], :) fi ! INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" ! AC_SUBST([INSTALL_STRIP_PROGRAM])]) ! # serial 4 -*- Autoconf -*- ! # Copyright 1999, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be ! # written in clear, in which case automake, when reading aclocal.m4, ! # will think it sees a *use*, and therefore will trigger all it's ! # C support machinery. Also note that it means that autoscan, seeing ! # CC etc. in the Makefile, will ask for an AC_PROG_CC use... ! # _AM_DEPENDENCIES(NAME) ! # ---------------------- ! # See how the compiler implements dependency checking. ! # NAME is "CC", "CXX", "GCJ", or "OBJC". ! # We try a few techniques and use that to set a single cache variable. ! # ! # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was ! # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular ! # dependency, and given that the user is not expected to run this macro, ! # just rely on AC_PROG_CC. ! AC_DEFUN([_AM_DEPENDENCIES], ! [AC_REQUIRE([AM_SET_DEPDIR])dnl ! AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl ! AC_REQUIRE([AM_MAKE_INCLUDE])dnl ! AC_REQUIRE([AM_DEP_TRACK])dnl ! ifelse([$1], CC, [depcc="$CC" am_compiler_list=], ! [$1], CXX, [depcc="$CXX" am_compiler_list=], ! [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], ! [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], ! [depcc="$$1" am_compiler_list=]) ! AC_CACHE_CHECK([dependency style of $depcc], ! [am_cv_$1_dependencies_compiler_type], ! [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ! # We make a subdir and do the tests there. Otherwise we can end up ! # making bogus files that we don't know about and never remove. For ! # instance it was reported that on HP-UX the gcc test will end up ! # making a dummy file named `D' -- because `-MD' means `put the output ! # in D'. ! mkdir conftest.dir ! # Copy depcomp to subdir because otherwise we won't find it if we're ! # using a relative directory. ! cp "$am_depcomp" conftest.dir ! cd conftest.dir ! ! am_cv_$1_dependencies_compiler_type=none ! if test "$am_compiler_list" = ""; then ! am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` ! fi ! for depmode in $am_compiler_list; do ! # We need to recreate these files for each test, as the compiler may ! # overwrite some of them when testing with obscure command lines. ! # This happens at least with the AIX C compiler. ! echo '#include "conftest.h"' > conftest.c ! echo 'int i;' > conftest.h ! echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf ! ! case $depmode in ! nosideeffect) ! # after this tag, mechanisms are not by side-effect, so they'll ! # only be used when explicitly requested ! if test "x$enable_dependency_tracking" = xyes; then ! continue ! else ! break fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=conftest.c object=conftest.o \ + depfile=conftest.Po tmpdepfile=conftest.TPo \ + $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && + grep conftest.h conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + am_cv_$1_dependencies_compiler_type=$depmode + break fi ! done ! cd .. ! rm -rf conftest.dir ! else ! am_cv_$1_dependencies_compiler_type=none fi + ]) + AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) + AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) + ]) ! # AM_SET_DEPDIR ! # ------------- ! # Choose a directory name for dependency files. ! # This macro is AC_REQUIREd in _AM_DEPENDENCIES ! AC_DEFUN([AM_SET_DEPDIR], ! [rm -f .deps 2>/dev/null ! mkdir .deps 2>/dev/null ! if test -d .deps; then ! DEPDIR=.deps else ! # MS-DOS does not allow filenames that begin with a dot. ! DEPDIR=_deps ! fi ! rmdir .deps 2>/dev/null ! AC_SUBST([DEPDIR]) ! ]) ! # AM_DEP_TRACK ! # ------------ ! AC_DEFUN([AM_DEP_TRACK], ! [AC_ARG_ENABLE(dependency-tracking, ! [ --disable-dependency-tracking Speeds up one-time builds ! --enable-dependency-tracking Do not reject slow dependency extractors]) ! if test "x$enable_dependency_tracking" != xno; then ! am_depcomp="$ac_aux_dir/depcomp" ! AMDEPBACKSLASH='\' ! fi ! AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) ! AC_SUBST([AMDEPBACKSLASH]) ! ]) ! # Generate code to set up dependency tracking. -*- Autoconf -*- ! # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! #serial 2 ! # _AM_OUTPUT_DEPENDENCY_COMMANDS ! # ------------------------------ ! AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], ! [for mf in $CONFIG_FILES; do ! # Strip MF so we end up with the name of the file. ! mf=`echo "$mf" | sed -e 's/:.*$//'` ! # Check whether this is an Automake generated Makefile or not. ! # We used to match only the files named `Makefile.in', but ! # some people rename them; so instead we look at the file content. ! # Grep'ing the first line is not enough: some people post-process ! # each Makefile.in and add a new line on top of each file to say so. ! # So let's grep whole file. ! if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then ! dirpart=`AS_DIRNAME("$mf")` else ! continue fi + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n -e '/^U = / s///p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n -e ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done + ])# _AM_OUTPUT_DEPENDENCY_COMMANDS ! # AM_OUTPUT_DEPENDENCY_COMMANDS ! # ----------------------------- ! # This macro should only be invoked once -- use via AC_REQUIRE. ! # ! # This code is only required when automatic dependency tracking ! # is enabled. FIXME. This creates each `.P' file that we will ! # need in order to bootstrap the dependency handling code. ! AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], ! [AC_CONFIG_COMMANDS([depfiles], ! [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], ! [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ! ]) ! # Check to see how 'make' treats includes. -*- Autoconf -*- ! # Copyright (C) 2001, 2002 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 2 ! # AM_MAKE_INCLUDE() ! # ----------------- ! # Check to see how make treats includes. ! AC_DEFUN([AM_MAKE_INCLUDE], ! [am_make=${MAKE-make} ! cat > confinc << 'END' ! doit: ! @echo done ! END ! # If we don't find an include directive, just comment out the code. ! AC_MSG_CHECKING([for style of include used by $am_make]) ! am__include="#" ! am__quote= ! _am_result=none ! # First try GNU make style include. ! echo "include confinc" > confmf ! # We grep out `Entering directory' and `Leaving directory' ! # messages which can occur if `w' ends up in MAKEFLAGS. ! # In particular we don't look at `^make:' because GNU make might ! # be invoked under some other name (usually "gmake"), in which ! # case it prints its new name instead of `make'. ! if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then ! am__include=include ! am__quote= ! _am_result=GNU ! fi ! # Now try BSD make style include. ! if test "$am__include" = "#"; then ! echo '.include "confinc"' > confmf ! if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then ! am__include=.include ! am__quote="\"" ! _am_result=BSD ! fi ! fi ! AC_SUBST(am__include) ! AC_SUBST(am__quote) ! AC_MSG_RESULT($_am_result) ! rm -f confinc confmf ! ]) ! # AM_CONDITIONAL -*- Autoconf -*- ! # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! # serial 5 ! AC_PREREQ(2.52) ! ! # AM_CONDITIONAL(NAME, SHELL-CONDITION) ! # ------------------------------------- ! # Define a conditional. ! AC_DEFUN([AM_CONDITIONAL], ! [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], ! [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl ! AC_SUBST([$1_TRUE]) ! AC_SUBST([$1_FALSE]) ! if $2; then ! $1_TRUE= ! $1_FALSE='#' else ! $1_TRUE='#' ! $1_FALSE= fi + AC_CONFIG_COMMANDS_PRE( + [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([conditional "$1" was never defined. + Usually this means the macro was only invoked conditionally.]) + fi])]) ! # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- ! # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2, or (at your option) ! # any later version. ! # This program is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ! # 02111-1307, USA. ! AC_PREREQ([2.52]) + # serial 6 ! # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. ! AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) ! # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*- ! # The next line was added by Bruno Haible 2001-06-08. ! builtin([undefine],[symbols]) ! # serial 46 AC_PROG_LIBTOOL ! AC_DEFUN([AC_PROG_LIBTOOL], ! [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl ! # This can be used to rebuild libtool when needed ! LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ! # Always use our own libtool. ! LIBTOOL='$(SHELL) $(top_builddir)/libtool' ! AC_SUBST(LIBTOOL)dnl ! # Prevent multiple expansion ! define([AC_PROG_LIBTOOL], []) ! ]) ! AC_DEFUN([AC_LIBTOOL_SETUP], ! [AC_PREREQ(2.13)dnl ! AC_REQUIRE([AC_ENABLE_SHARED])dnl ! AC_REQUIRE([AC_ENABLE_STATIC])dnl ! AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl ! AC_REQUIRE([AC_CANONICAL_HOST])dnl ! AC_REQUIRE([AC_CANONICAL_BUILD])dnl ! AC_REQUIRE([AC_PROG_CC])dnl ! AC_REQUIRE([AC_PROG_LD])dnl ! AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl ! AC_REQUIRE([AC_PROG_NM])dnl ! AC_REQUIRE([LT_AC_PROG_SED])dnl ! AC_REQUIRE([AC_PROG_LN_S])dnl ! AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl ! AC_REQUIRE([AC_OBJEXT])dnl ! AC_REQUIRE([AC_EXEEXT])dnl ! dnl ! _LT_AC_PROG_ECHO_BACKSLASH ! # Only perform the check for file, if the check method requires it ! case $deplibs_check_method in ! file_magic*) ! if test "$file_magic_cmd" = '$MAGIC_CMD'; then ! AC_PATH_MAGIC ! fi ! ;; ! esac ! AC_CHECK_TOOL(RANLIB, ranlib, :) ! AC_CHECK_TOOL(STRIP, strip, :) ! ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) ! ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ! enable_win32_dll=yes, enable_win32_dll=no) ! AC_ARG_ENABLE(libtool-lock, ! [ --disable-libtool-lock avoid locking (might break parallel builds)]) ! test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes ! # Some flags need to be propagated to the compiler or linker for good ! # libtool support. ! case $host in ! *-*-irix6*) ! # Find out which ABI we are using. ! echo '[#]line __oline__ "configure"' > conftest.$ac_ext ! if AC_TRY_EVAL(ac_compile); then ! case `/usr/bin/file conftest.$ac_objext` in ! *32-bit*) ! LD="${LD-ld} -32" ;; ! *N32*) ! LD="${LD-ld} -n32" ! ;; ! *64-bit*) ! LD="${LD-ld} -64" ;; esac fi ! rm -rf conftest* ! ;; ! *-*-sco3.2v5*) ! # On SCO OpenServer 5, we need -belf to get full-featured binaries. ! SAVE_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -belf" ! AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, ! [AC_LANG_SAVE ! AC_LANG_C ! AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) ! AC_LANG_RESTORE]) ! if test x"$lt_cv_cc_needs_belf" != x"yes"; then ! # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf ! CFLAGS="$SAVE_CFLAGS" ! fi ! ;; ! ! ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], ! [*-*-cygwin* | *-*-mingw* | *-*-pw32*) ! AC_CHECK_TOOL(DLLTOOL, dlltool, false) ! AC_CHECK_TOOL(AS, as, false) ! AC_CHECK_TOOL(OBJDUMP, objdump, false) ! ! # recent cygwin and mingw systems supply a stub DllMain which the user ! # can override, but on older systems we have to supply one ! AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, ! [AC_TRY_LINK([], ! [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); ! DllMain (0, 0, 0);], ! [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) ! ! case $host/$CC in ! *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) ! # old mingw systems require "-dll" to link a DLL, while more recent ones ! # require "-mdll" ! SAVE_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -mdll" ! AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, ! [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) ! CFLAGS="$SAVE_CFLAGS" ;; ! *-*-cygwin* | *-*-pw32*) ! # cygwin systems need to pass --dll to the linker, and not link ! # crt.o which will require a WinMain@16 definition. ! lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; ! esac ! ;; ]) + esac ! _LT_AC_LTCONFIG_HACK ! ]) ! # AC_LIBTOOL_HEADER_ASSERT ! # ------------------------ ! AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT], ! [AC_CACHE_CHECK([whether $CC supports assert without backlinking], ! [lt_cv_func_assert_works], ! [case $host in ! *-*-solaris*) ! if test "$GCC" = yes && test "$with_gnu_ld" != yes; then ! case `$CC --version 2>/dev/null` in ! [[12]].*) lt_cv_func_assert_works=no ;; ! *) lt_cv_func_assert_works=yes ;; ! esac ! fi ! ;; ! esac]) ! ! if test "x$lt_cv_func_assert_works" = xyes; then ! AC_CHECK_HEADERS(assert.h) fi + ])# AC_LIBTOOL_HEADER_ASSERT ! # _LT_AC_CHECK_DLFCN ! # -------------------- ! AC_DEFUN([_LT_AC_CHECK_DLFCN], ! [AC_CHECK_HEADERS(dlfcn.h) ! ])# _LT_AC_CHECK_DLFCN ! # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE ! # --------------------------------- ! AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], ! [AC_REQUIRE([AC_CANONICAL_HOST]) ! AC_REQUIRE([AC_PROG_NM]) ! AC_REQUIRE([AC_OBJEXT]) ! # Check for command to grab the raw symbol name followed by C symbol from nm. ! AC_MSG_CHECKING([command to parse $NM output]) ! AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl ! # These are sane defaults that work on at least a few old systems. ! # [They come from Ultrix. What could be older than Ultrix?!! ;)] + # Character class describing NM global symbol codes. + symcode='[[BCDEGRST]]' ! # Regexp to match symbols that can be accessed directly from C. ! sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' ! # Transform the above into a raw symbol and a C symbol. ! symxfrm='\1 \2\3 \3' ! # Transform an extracted symbol line into a proper C declaration ! lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" ! # Transform an extracted symbol line into symbol name and symbol address ! lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + # Define system-specific variables. case $host_os in + aix*) + symcode='[[BCDT]]' + ;; cygwin* | mingw* | pw32*) ! symcode='[[ABCDGISTW]]' ;; ! hpux*) # Its linker distinguishes data from code symbols ! lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" ! lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ! ;; ! irix* | nonstopux*) ! symcode='[[BCDEGRST]]' ! ;; ! osf*) ! symcode='[[BCDEGQRST]]' ! ;; ! solaris* | sysv5*) ! symcode='[[BDT]]' ! ;; ! sysv4) ! symcode='[[DFNSTU]]' ;; esac ! # Handle CRLF in mingw tool chain ! opt_cr= ! case $host_os in ! mingw*) ! opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ! ;; ! esac ! # If we're using GNU nm, then use its standard symbol codes. ! if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then ! symcode='[[ABCDGISTW]]' ! fi ! # Try without a prefix undercore, then with it. ! for ac_symprfx in "" "_"; do ! # Write the raw and C identifiers. ! lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" ! # Check to see that the pipe works correctly. ! pipe_works=no ! rm -f conftest* ! cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then ! # Try sorting and uniquifying the output. ! if sort "$nlist" | uniq > "$nlist"T; then ! mv -f "$nlist"T "$nlist" ! else ! rm -f "$nlist"T ! fi ! # Make sure that we snagged all the symbols we need. ! if egrep ' nm_test_var$' "$nlist" >/dev/null; then ! if egrep ' nm_test_func$' "$nlist" >/dev/null; then ! cat < conftest.$ac_ext ! #ifdef __cplusplus ! extern "C" { ! #endif ! EOF ! # Now generate the symbol file. ! eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' ! cat <> conftest.$ac_ext ! #if defined (__STDC__) && __STDC__ ! # define lt_ptr void * ! #else ! # define lt_ptr char * ! # define const ! #endif ! /* The mapping between symbol names and symbols. */ ! const struct { ! const char *name; ! lt_ptr address; ! } ! lt_preloaded_symbols[[]] = ! { ! EOF ! sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext ! cat <<\EOF >> conftest.$ac_ext ! {0, (lt_ptr) 0} ! }; ! #ifdef __cplusplus ! } ! #endif ! EOF ! # Now try linking the two files. ! mv conftest.$ac_objext conftstm.$ac_objext ! save_LIBS="$LIBS" ! save_CFLAGS="$CFLAGS" ! LIBS="conftstm.$ac_objext" ! CFLAGS="$CFLAGS$no_builtin_flag" ! if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then ! pipe_works=yes ! fi ! LIBS="$save_LIBS" ! CFLAGS="$save_CFLAGS" ! else ! echo "cannot find nm_test_func in $nlist" >&AC_FD_CC ! fi ! else ! echo "cannot find nm_test_var in $nlist" >&AC_FD_CC ! fi else ! echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC fi + else + echo "$progname: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* ! # Do not use the global_symbol_pipe unless it works. ! if test "$pipe_works" = yes; then ! break ! else ! lt_cv_sys_global_symbol_pipe= ! fi ! done ! ]) ! global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" ! if test -z "$lt_cv_sys_global_symbol_pipe"; then ! global_symbol_to_cdecl= ! global_symbol_to_c_name_address= ! else ! global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" ! global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" ! fi ! if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; ! then ! AC_MSG_RESULT(failed) ! else ! AC_MSG_RESULT(ok) ! fi ! ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE ! # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # --------------------------------- ! AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR], ! [# Find the correct PATH separator. Usually this is `:', but ! # DJGPP uses `;' like DOS. ! if test "X${PATH_SEPARATOR+set}" != Xset; then ! UNAME=${UNAME-`uname 2>/dev/null`} ! case X$UNAME in ! *-DOS) lt_cv_sys_path_separator=';' ;; ! *) lt_cv_sys_path_separator=':' ;; ! esac ! PATH_SEPARATOR=$lt_cv_sys_path_separator ! fi ! ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # _LT_AC_PROG_ECHO_BACKSLASH ! # -------------------------- ! # Add some code to the start of the generated configure script which ! # will find an echo command which doesn't interpret backslashes. ! AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], ! [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], ! [AC_DIVERT_PUSH(NOTICE)]) ! _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR ! # Check that we are running under the correct shell. ! SHELL=${CONFIG_SHELL-/bin/sh} ! case X$ECHO in ! X*--fallback-echo) ! # Remove one level of quotation (which was required for Make). ! ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ! ;; ! esac ! echo=${ECHO-echo} ! if test "X[$]1" = X--no-reexec; then ! # Discard the --no-reexec flag, and continue. ! shift ! elif test "X[$]1" = X--fallback-echo; then ! # Avoid inline document here, it may be left over ! : ! elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then ! # Yippee, $echo works! ! : ! else ! # Restart under the correct shell. ! exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} ! fi ! if test "X[$]1" = X--fallback-echo; then ! # used as fallback echo ! shift ! cat </dev/null && ! echo_test_string="`eval $cmd`" && ! (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null ! then ! break ! fi ! done ! fi ! ! if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! : else ! # The Solaris, AIX, and Digital Unix default echo programs unquote ! # backslashes. This makes it impossible to quote backslashes using ! # echo "$something" | sed 's/\\/\\\\/g' ! # ! # So, first we look for a working echo in the user's PATH. ! ! IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR ! for dir in $PATH /usr/ucb; do ! if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && ! test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! echo="$dir/echo" ! break fi ! done ! IFS="$save_ifs" ! if test "X$echo" = Xecho; then ! # We didn't find a better echo, so look for alternatives. ! if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! # This shell has a builtin print -r that does the trick. ! echo='print -r' ! elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && ! test "X$CONFIG_SHELL" != X/bin/ksh; then ! # If we have ksh, try running configure again with it. ! ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} ! export ORIGINAL_CONFIG_SHELL ! CONFIG_SHELL=/bin/ksh ! export CONFIG_SHELL ! exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else ! # Try using printf. ! echo='printf %s\n' ! if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && ! echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! # Cool, printf works ! : ! elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && ! test "X$echo_testing_string" = 'X\t' && ! echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL ! export CONFIG_SHELL ! SHELL="$CONFIG_SHELL" ! export SHELL ! echo="$CONFIG_SHELL [$]0 --fallback-echo" ! elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && ! test "X$echo_testing_string" = 'X\t' && ! echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && ! test "X$echo_testing_string" = "X$echo_test_string"; then ! echo="$CONFIG_SHELL [$]0 --fallback-echo" ! else ! # maybe with a smaller string... ! prev=: ! for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do ! if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null ! then break ! fi ! prev="$cmd" done ! if test "$prev" != 'sed 50q "[$]0"'; then ! echo_test_string=`eval $prev` ! export echo_test_string ! exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else ! # Oops. We lost completely, so just stick with echo. ! echo=echo fi fi fi + fi + fi + fi ! # Copy echo and quote the copy suitably for passing to libtool from ! # the Makefile, instead of quoting the original, which is used later. ! ECHO=$echo ! if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ! ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" ! fi ! AC_SUBST(ECHO) ! AC_DIVERT_POP ! ])# _LT_AC_PROG_ECHO_BACKSLASH ! # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, ! # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) ! # ------------------------------------------------------------------ ! AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], ! [if test "$cross_compiling" = yes; then : ! [$4] ! else ! AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl ! lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 ! lt_status=$lt_dlunknown ! cat > conftest.$ac_ext < ! #endif ! #include ! #ifdef RTLD_GLOBAL ! # define LT_DLGLOBAL RTLD_GLOBAL ! #else ! # ifdef DL_GLOBAL ! # define LT_DLGLOBAL DL_GLOBAL ! # else ! # define LT_DLGLOBAL 0 ! # endif ! #endif ! /* We may have to define LT_DLLAZY_OR_NOW in the command line if we ! find out it does not work in some platform. */ ! #ifndef LT_DLLAZY_OR_NOW ! # ifdef RTLD_LAZY ! # define LT_DLLAZY_OR_NOW RTLD_LAZY ! # else ! # ifdef DL_LAZY ! # define LT_DLLAZY_OR_NOW DL_LAZY ! # else ! # ifdef RTLD_NOW ! # define LT_DLLAZY_OR_NOW RTLD_NOW ! # else ! # ifdef DL_NOW ! # define LT_DLLAZY_OR_NOW DL_NOW ! # else ! # define LT_DLLAZY_OR_NOW 0 ! # endif ! # endif ! # endif ! # endif ! #endif ! #ifdef __cplusplus ! extern "C" void exit (int); ! #endif ! void fnord() { int i=42;} ! int main () ! { ! void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); ! int status = $lt_dlunknown; ! if (self) ! { ! if (dlsym (self,"fnord")) status = $lt_dlno_uscore; ! else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; ! /* dlclose (self); */ ! } ! exit (status); ! }] ! EOF ! if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then ! (./conftest; exit; ) 2>/dev/null ! lt_status=$? ! case x$lt_status in ! x$lt_dlno_uscore) $1 ;; ! x$lt_dlneed_uscore) $2 ;; ! x$lt_unknown|x*) $3 ;; ! esac ! else : ! # compilation failed ! $3 ! fi ! fi ! rm -fr conftest* ! ])# _LT_AC_TRY_DLOPEN_SELF ! # AC_LIBTOOL_DLOPEN_SELF ! # ------------------- ! AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], ! [if test "x$enable_dlopen" != xyes; then ! enable_dlopen=unknown ! enable_dlopen_self=unknown ! enable_dlopen_self_static=unknown ! else ! lt_cv_dlopen=no ! lt_cv_dlopen_libs= ! case $host_os in ! beos*) ! lt_cv_dlopen="load_add_on" ! lt_cv_dlopen_libs= ! lt_cv_dlopen_self=yes ;; ! cygwin* | mingw* | pw32*) ! lt_cv_dlopen="LoadLibrary" ! lt_cv_dlopen_libs= ! ;; ! *) ! AC_CHECK_FUNC([shl_load], ! [lt_cv_dlopen="shl_load"], ! [AC_CHECK_LIB([dld], [shl_load], ! [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], ! [AC_CHECK_FUNC([dlopen], ! [lt_cv_dlopen="dlopen"], ! [AC_CHECK_LIB([dl], [dlopen], ! [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], ! [AC_CHECK_LIB([svld], [dlopen], ! [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], ! [AC_CHECK_LIB([dld], [dld_link], ! [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ! ]) ! ]) ! ]) ! ]) ! ]) ;; + esac ! if test "x$lt_cv_dlopen" != xno; then ! enable_dlopen=yes ! else ! enable_dlopen=no ! fi ! case $lt_cv_dlopen in ! dlopen) ! save_CPPFLAGS="$CPPFLAGS" ! AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl ! test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" ! save_LDFLAGS="$LDFLAGS" ! eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" ! save_LIBS="$LIBS" ! LIBS="$lt_cv_dlopen_libs $LIBS" ! AC_CACHE_CHECK([whether a program can dlopen itself], ! lt_cv_dlopen_self, [dnl ! _LT_AC_TRY_DLOPEN_SELF( ! lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, ! lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ! ]) ! if test "x$lt_cv_dlopen_self" = xyes; then ! LDFLAGS="$LDFLAGS $link_static_flag" ! AC_CACHE_CHECK([whether a statically linked program can dlopen itself], ! lt_cv_dlopen_self_static, [dnl ! _LT_AC_TRY_DLOPEN_SELF( ! lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, ! lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ! ]) fi ! CPPFLAGS="$save_CPPFLAGS" ! LDFLAGS="$save_LDFLAGS" ! LIBS="$save_LIBS" ;; + esac ! case $lt_cv_dlopen_self in ! yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; ! *) enable_dlopen_self=unknown ;; ! esac ! case $lt_cv_dlopen_self_static in ! yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; ! *) enable_dlopen_self_static=unknown ;; ! esac ! fi ! ])# AC_LIBTOOL_DLOPEN_SELF ! AC_DEFUN([_LT_AC_LTCONFIG_HACK], ! [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! # Sed substitution that helps us do robust quoting. It backslashifies ! # metacharacters that are still active within double-quoted strings. ! Xsed='sed -e s/^X//' ! sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g' ! # Same as above, but do not quote variable references. ! double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g' ! # Sed substitution to delay expansion of an escaped shell variable in a ! # double_quote_subst'ed string. ! delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' ! # Constants: ! rm="rm -f" ! # Global variables: ! default_ofile=libtool ! can_build_shared=yes ! # All known linkers require a `.a' archive for static linking (except M$VC, ! # which needs '.lib'). ! libext=a ! ltmain="$ac_aux_dir/ltmain.sh" ! ofile="$default_ofile" ! with_gnu_ld="$lt_cv_prog_gnu_ld" ! need_locks="$enable_libtool_lock" ! old_CC="$CC" ! old_CFLAGS="$CFLAGS" ! # Set sane defaults for various variables ! test -z "$AR" && AR=ar ! test -z "$AR_FLAGS" && AR_FLAGS=cru ! test -z "$AS" && AS=as ! test -z "$CC" && CC=cc ! test -z "$DLLTOOL" && DLLTOOL=dlltool ! test -z "$LD" && LD=ld ! test -z "$LN_S" && LN_S="ln -s" ! test -z "$MAGIC_CMD" && MAGIC_CMD=file ! test -z "$NM" && NM=nm ! test -z "$OBJDUMP" && OBJDUMP=objdump ! test -z "$RANLIB" && RANLIB=: ! test -z "$STRIP" && STRIP=: ! test -z "$ac_objext" && ac_objext=o ! if test x"$host" != x"$build"; then ! ac_tool_prefix=${host_alias}- else ! ac_tool_prefix= fi ! # Transform linux* to *-*-linux-gnu*, to support old configure scripts. ! case $host_os in ! linux-gnu*) ;; ! linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` ! esac ! case $host_os in ! aix3*) ! # AIX sometimes has problems with the GCC collect2 program. For some ! # reason, if we set the COLLECT_NAMES environment variable, the problems ! # vanish in a puff of smoke. ! if test "X${COLLECT_NAMES+set}" != Xset; then ! COLLECT_NAMES= ! export COLLECT_NAMES ! fi ! ;; ! esac ! # Determine commands to create old-style static archives. ! old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' ! old_postinstall_cmds='chmod 644 $oldlib' ! old_postuninstall_cmds= ! if test -n "$RANLIB"; then ! case $host_os in ! openbsd*) ! old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" ;; *) ! old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ;; esac ! old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" ! fi ! # Allow CC to be a program name with arguments. ! set dummy $CC ! compiler="[$]2" ! AC_MSG_CHECKING([for objdir]) ! rm -f .libs 2>/dev/null ! mkdir .libs 2>/dev/null ! if test -d .libs; then ! objdir=.libs ! else ! # MS-DOS does not allow filenames that begin with a dot. ! objdir=_libs ! fi ! rmdir .libs 2>/dev/null ! AC_MSG_RESULT($objdir) ! AC_LIBTOOL_ARG_WITH(pic, ! [ --with-pic try to use only PIC/non-PIC objects [default=use both]], ! pic_mode="$withval", pic_mode=default) ! test -z "$pic_mode" && pic_mode=default ! # We assume here that the value for lt_cv_prog_cc_pic will not be cached ! # in isolation, and that seeing it set (from the cache) indicates that ! # the associated values are set (in the cache) correctly too. ! AC_MSG_CHECKING([for $compiler option to produce PIC]) ! AC_CACHE_VAL(lt_cv_prog_cc_pic, ! [ lt_cv_prog_cc_pic= ! lt_cv_prog_cc_shlib= ! lt_cv_prog_cc_wl= ! lt_cv_prog_cc_static= ! lt_cv_prog_cc_no_builtin= ! lt_cv_prog_cc_can_build_shared=$can_build_shared ! if test "$GCC" = yes; then ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-static' ! case $host_os in ! aix*) ! # Below there is a dirty hack to force normal static linking with -ldl ! # The problem is because libdl dynamically linked with both libc and ! # libC (AIX C++ library), which obviously doesn't included in libraries ! # list by gcc. This cause undefined symbols with -static flags. ! # This hack allows C programs to be linked with "-static -ldl", but ! # not sure about C++ programs. ! lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" ! ;; ! amigaos*) ! # FIXME: we need at least 68020 code to build shared libraries, but ! # adding the `-m68020' flag to GCC prevents building anything better, ! # like `-m68040'. ! lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' ! ;; ! beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) ! # PIC is the default for these OSes. ! ;; ! darwin* | rhapsody*) ! # PIC is the default on this platform ! # Common symbols not allowed in MH_DYLIB files ! lt_cv_prog_cc_pic='-fno-common' ! ;; ! cygwin* | mingw* | pw32* | os2*) ! # This hack is so that the source file can tell whether it is being ! # built for inclusion in a dll (and should export symbols for example). ! lt_cv_prog_cc_pic='-DDLL_EXPORT' ! ;; ! sysv4*MP*) ! if test -d /usr/nec; then ! lt_cv_prog_cc_pic=-Kconform_pic ! fi ;; *) ! lt_cv_prog_cc_pic='-fPIC' ;; esac else ! # PORTME Check for PIC flags for the system compiler. ! case $host_os in ! aix3* | aix4* | aix5*) ! lt_cv_prog_cc_wl='-Wl,' ! # All AIX code is PIC. ! if test "$host_cpu" = ia64; then ! # AIX 5 now supports IA64 processor ! lt_cv_prog_cc_static='-Bstatic' ! else ! lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' ! fi ! ;; ! hpux9* | hpux10* | hpux11*) ! # Is there a better lt_cv_prog_cc_static that works with the bundled CC? ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" ! lt_cv_prog_cc_pic='+Z' ! ;; ! irix5* | irix6* | nonstopux*) ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-non_shared' ! # PIC (with -KPIC) is the default. ! ;; ! linux*) ! echo '__INTEL_COMPILER' > conftest.$ac_ext ! if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null ! then ! lt_cv_prog_cc_can_build_shared=no ! else ! # Intel icc ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-static' ! lt_cv_prog_cc_wl='-Qoption,ld,' ! fi ! ;; ! cygwin* | mingw* | pw32* | os2*) ! # This hack is so that the source file can tell whether it is being ! # built for inclusion in a dll (and should export symbols for example). ! lt_cv_prog_cc_pic='-DDLL_EXPORT' ! ;; ! newsos6) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! ;; ! osf3* | osf4* | osf5*) ! # All OSF/1 code is PIC. ! lt_cv_prog_cc_wl='-Wl,' ! lt_cv_prog_cc_static='-non_shared' ;; ! ! sco3.2v5*) ! lt_cv_prog_cc_pic='-Kpic' ! lt_cv_prog_cc_static='-dn' ! lt_cv_prog_cc_shlib='-belf' ;; ! ! solaris*) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Wl,' ;; ! sunos4*) ! lt_cv_prog_cc_pic='-PIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Qoption ld ' ! ;; ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! lt_cv_prog_cc_pic='-KPIC' ! lt_cv_prog_cc_static='-Bstatic' ! lt_cv_prog_cc_wl='-Wl,' ! ;; ! uts4*) ! lt_cv_prog_cc_pic='-pic' ! lt_cv_prog_cc_static='-Bstatic' ! ;; ! sysv4*MP*) ! if test -d /usr/nec ;then ! lt_cv_prog_cc_pic='-Kconform_pic' ! lt_cv_prog_cc_static='-Bstatic' ! fi ! ;; ! *) ! lt_cv_prog_cc_can_build_shared=no ! ;; ! esac ! fi ! ]) ! if test -z "$lt_cv_prog_cc_pic"; then ! AC_MSG_RESULT([none]) ! else ! AC_MSG_RESULT([$lt_cv_prog_cc_pic]) ! # Check to make sure the pic_flag actually works. ! AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works]) ! AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" ! AC_TRY_COMPILE([], [], [dnl ! case $host_os in ! hpux9* | hpux10* | hpux11*) ! # On HP-UX, both CC and GCC only warn that PIC is supported... then ! # they create non-PIC objects. So, if there were any warnings, we ! # assume that PIC is not supported. ! if test -s conftest.err; then ! lt_cv_prog_cc_pic_works=no ! else ! lt_cv_prog_cc_pic_works=yes ! fi ! ;; ! *) ! lt_cv_prog_cc_pic_works=yes ! ;; ! esac ! ], [dnl ! lt_cv_prog_cc_pic_works=no ! ]) ! CFLAGS="$save_CFLAGS" ! ]) ! if test "X$lt_cv_prog_cc_pic_works" = Xno; then ! lt_cv_prog_cc_pic= ! lt_cv_prog_cc_can_build_shared=no ! else ! lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" fi ! AC_MSG_RESULT([$lt_cv_prog_cc_pic_works]) ! fi ! ! # Check for any special shared library compilation flags. ! if test -n "$lt_cv_prog_cc_shlib"; then ! AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries]) ! if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then : ! else ! AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure]) ! lt_cv_prog_cc_can_build_shared=no fi ! fi ! AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works]) ! AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl ! lt_cv_prog_cc_static_works=no ! save_LDFLAGS="$LDFLAGS" ! LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" ! AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes]) ! LDFLAGS="$save_LDFLAGS" ! ]) ! # Belt *and* braces to stop my trousers falling down: ! test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= ! AC_MSG_RESULT([$lt_cv_prog_cc_static_works]) ! pic_flag="$lt_cv_prog_cc_pic" ! special_shlib_compile_flags="$lt_cv_prog_cc_shlib" ! wl="$lt_cv_prog_cc_wl" ! link_static_flag="$lt_cv_prog_cc_static" ! no_builtin_flag="$lt_cv_prog_cc_no_builtin" ! can_build_shared="$lt_cv_prog_cc_can_build_shared" ! # Check to see if options -o and -c are simultaneously supported by compiler ! AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext]) ! AC_CACHE_VAL([lt_cv_compiler_c_o], [ ! $rm -r conftest 2>/dev/null ! mkdir conftest ! cd conftest ! echo "int some_variable = 0;" > conftest.$ac_ext ! mkdir out ! # According to Tom Tromey, Ian Lance Taylor reported there are C compilers ! # that will create temporary files in the current directory regardless of ! # the output directory. Thus, making CWD read-only will cause this test ! # to fail, enabling locking or at least warning the user not to do parallel ! # builds. ! chmod -w . ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" ! compiler_c_o=no ! if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s out/conftest.err; then ! lt_cv_compiler_c_o=no ! else ! lt_cv_compiler_c_o=yes ! fi ! else ! # Append any errors to the config.log. ! cat out/conftest.err 1>&AC_FD_CC ! lt_cv_compiler_c_o=no ! fi ! CFLAGS="$save_CFLAGS" ! chmod u+w . ! $rm conftest* out/* ! rmdir out ! cd .. ! rmdir conftest ! $rm -r conftest 2>/dev/null ! ]) ! compiler_c_o=$lt_cv_compiler_c_o ! AC_MSG_RESULT([$compiler_c_o]) ! if test x"$compiler_c_o" = x"yes"; then ! # Check to see if we can write to a .lo ! AC_MSG_CHECKING([if $compiler supports -c -o file.lo]) ! AC_CACHE_VAL([lt_cv_compiler_o_lo], [ ! lt_cv_compiler_o_lo=no ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -c -o conftest.lo" ! save_objext="$ac_objext" ! ac_objext=lo ! AC_TRY_COMPILE([], [int some_variable = 0;], [dnl ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s conftest.err; then ! lt_cv_compiler_o_lo=no else ! lt_cv_compiler_o_lo=yes ! fi ! ]) ! ac_objext="$save_objext" ! CFLAGS="$save_CFLAGS" ! ]) ! compiler_o_lo=$lt_cv_compiler_o_lo ! AC_MSG_RESULT([$compiler_o_lo]) ! else ! compiler_o_lo=no fi ! # Check to see if we can do hard links to lock some files if needed ! hard_links="nottested" ! if test "$compiler_c_o" = no && test "$need_locks" != no; then ! # do not overwrite the value of need_locks provided by the user ! AC_MSG_CHECKING([if we can lock with hard links]) ! hard_links=yes ! $rm conftest* ! ln conftest.a conftest.b 2>/dev/null && hard_links=no ! touch conftest.a ! ln conftest.a conftest.b 2>&5 || hard_links=no ! ln conftest.a conftest.b 2>/dev/null && hard_links=no ! AC_MSG_RESULT([$hard_links]) ! if test "$hard_links" = no; then ! AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe]) ! need_locks=warn ! fi else ! need_locks=no fi ! if test "$GCC" = yes; then ! # Check to see if options -fno-rtti -fno-exceptions are supported by compiler ! AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions]) ! echo "int some_variable = 0;" > conftest.$ac_ext ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" ! compiler_rtti_exceptions=no ! AC_TRY_COMPILE([], [int some_variable = 0;], [dnl ! # The compiler can only warn and ignore the option if not recognized ! # So say no if there are warnings ! if test -s conftest.err; then ! compiler_rtti_exceptions=no ! else ! compiler_rtti_exceptions=yes ! fi ! ]) ! CFLAGS="$save_CFLAGS" ! AC_MSG_RESULT([$compiler_rtti_exceptions]) ! if test "$compiler_rtti_exceptions" = "yes"; then ! no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' ! else ! no_builtin_flag=' -fno-builtin' ! fi ! fi ! # See if the linker supports building shared libraries. ! AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries]) ! allow_undefined_flag= ! no_undefined_flag= ! need_lib_prefix=unknown ! need_version=unknown ! # when you set need_version to no, make sure it does not cause -set_version ! # flags to be left without arguments ! archive_cmds= ! archive_expsym_cmds= ! old_archive_from_new_cmds= ! old_archive_from_expsyms_cmds= ! export_dynamic_flag_spec= ! whole_archive_flag_spec= ! thread_safe_flag_spec= ! hardcode_into_libs=no ! hardcode_libdir_flag_spec= ! hardcode_libdir_separator= ! hardcode_direct=no ! hardcode_minus_L=no ! hardcode_shlibpath_var=unsupported ! runpath_var= ! link_all_deplibs=unknown ! always_export_symbols=no ! export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' ! # include_expsyms should be a list of space-separated symbols to be *always* ! # included in the symbol list ! include_expsyms= ! # exclude_expsyms can be an egrep regular expression of symbols to exclude ! # it will be wrapped by ` (' and `)$', so one must not match beginning or ! # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', ! # as well as any symbol that contains `d'. ! exclude_expsyms="_GLOBAL_OFFSET_TABLE_" ! # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out ! # platforms (ab)use it in PIC code, but their linkers get confused if ! # the symbol is explicitly referenced. Since portable code cannot ! # rely on this symbol name, it's probably fine to never include it in ! # preloaded symbol tables. ! extract_expsyms_cmds= ! case $host_os in ! cygwin* | mingw* | pw32*) ! # FIXME: the MSVC++ port hasn't been tested in a loooong time ! # When not using gcc, we currently assume that we are using ! # Microsoft Visual C++. ! if test "$GCC" != yes; then ! with_gnu_ld=no ! fi ! ;; ! openbsd*) ! with_gnu_ld=no ! ;; ! esac ! ld_shlibs=yes ! if test "$with_gnu_ld" = yes; then ! # If archive_cmds runs LD, not CC, wlarc should be empty ! wlarc='${wl}' ! # See if GNU ld supports shared libraries. ! case $host_os in ! aix3* | aix4* | aix5*) ! # On AIX, the GNU linker is very broken ! # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. ! ld_shlibs=no ! cat <&2 ! *** Warning: the GNU linker, at least up to release 2.9.1, is reported ! *** to be unable to reliably create shared libraries on AIX. ! *** Therefore, libtool is disabling shared libraries support. If you ! *** really care for shared libraries, you may want to modify your PATH ! *** so that a non-GNU linker is found, and then restart. ! EOF ! ;; ! amigaos*) ! archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! # Samuel A. Falvo II reports ! # that the semantics of dynamic libraries on AmigaOS, at least up ! # to version 4, is to share data among multiple programs linked ! # with the same dynamic library. Since this doesn't match the ! # behavior of shared libraries on other platforms, we can use ! # them. ! ld_shlibs=no ! ;; ! beos*) ! if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! allow_undefined_flag=unsupported ! # Joseph Beckenbach says some releases of gcc ! # support --undefined. This deserves some investigation. FIXME ! archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! cygwin* | mingw* | pw32*) ! # hardcode_libdir_flag_spec is actually meaningless, as there is ! # no search path for DLLs. ! hardcode_libdir_flag_spec='-L$libdir' ! allow_undefined_flag=unsupported ! always_export_symbols=yes ! extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ ! sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ ! test -f $output_objdir/impgen.exe || (cd $output_objdir && \ ! if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ ! else $CC -o impgen impgen.c ; fi)~ ! $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' ! old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' ! # cygwin and mingw dlls have different entry points and sets of symbols ! # to exclude. ! # FIXME: what about values for MSVC? ! dll_entry=__cygwin_dll_entry@12 ! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ ! case $host_os in ! mingw*) ! # mingw values ! dll_entry=_DllMainCRTStartup@12 ! dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ ! ;; ! esac ! # mingw and cygwin differ, and it's simplest to just exclude the union ! # of the two symbol sets. ! dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 ! # recent cygwin and mingw systems supply a stub DllMain which the user ! # can override, but on older systems we have to supply one (in ltdll.c) ! if test "x$lt_cv_need_dllmain" = "xyes"; then ! ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " ! ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ ! test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' ! else ! ltdll_obj= ! ltdll_cmds= ! fi ! # Extract the symbol export list from an `--export-all' def file, ! # then regenerate the def file from the symbol export list, so that ! # the compiled dll only exports the symbol export list. ! # Be careful not to strip the DATA tag left be newer dlltools. ! export_symbols_cmds="$ltdll_cmds"' ! $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ ! sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' ! # If the export-symbols file already is a .def file (1st line ! # is EXPORTS), use it as is. ! # If DATA tags from a recent dlltool are present, honour them! ! archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then ! cp $export_symbols $output_objdir/$soname-def; ! else ! echo EXPORTS > $output_objdir/$soname-def; ! _lt_hint=1; ! cat $export_symbols | while read symbol; do ! set dummy \$symbol; ! case \[$]# in ! 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; ! 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; ! *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; ! esac; ! _lt_hint=`expr 1 + \$_lt_hint`; ! done; ! fi~ ! '"$ltdll_cmds"' ! $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ ! $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ ! $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ ! $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ ! $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' ! wlarc= ! else ! archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! fi ! ;; ! solaris* | sysv5*) ! if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ! ld_shlibs=no ! cat <&2 ! *** Warning: The releases 2.8.* of the GNU linker cannot reliably ! *** create shared libraries on Solaris systems. Therefore, libtool ! *** is disabling shared libraries support. We urge you to upgrade GNU ! *** binutils to release 2.9.1 or newer. Another option is to modify ! *** your PATH or compiler configuration so that the native linker is ! *** used, and then restart. ! EOF ! elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! sunos4*) ! archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! wlarc= ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! *) ! if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' ! archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ! else ! ld_shlibs=no ! fi ! ;; ! esac ! if test "$ld_shlibs" = yes; then ! runpath_var=LD_RUN_PATH ! hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' ! export_dynamic_flag_spec='${wl}--export-dynamic' ! case $host_os in ! cygwin* | mingw* | pw32*) ! # dlltool doesn't understand --whole-archive et. al. ! whole_archive_flag_spec= ! ;; ! *) ! # ancient GNU ld didn't support --whole-archive et. al. ! if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then ! whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' ! else ! whole_archive_flag_spec= ! fi ! ;; ! esac ! fi ! else ! # PORTME fill in a description of your system's linker (not GNU ld) ! case $host_os in ! aix3*) ! allow_undefined_flag=unsupported ! always_export_symbols=yes ! archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' ! # Note: this linker hardcodes the directories in LIBPATH if there ! # are no directories specified by -L. ! hardcode_minus_L=yes ! if test "$GCC" = yes && test -z "$link_static_flag"; then ! # Neither direct hardcoding nor static linking is supported with a ! # broken collect2. ! hardcode_direct=unsupported ! fi ! ;; ! aix4* | aix5*) ! if test "$host_cpu" = ia64; then ! # On IA64, the linker does run time linking by default, so we don't ! # have to do anything special. ! aix_use_runtimelinking=no ! exp_sym_flag='-Bexport' ! no_entry_flag="" ! else ! aix_use_runtimelinking=no ! # Test if we are trying to use run time linking or normal ! # AIX style linking. If -brtl is somewhere in LDFLAGS, we ! # need to do runtime linking. ! case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) ! for ld_flag in $LDFLAGS; do ! case $ld_flag in ! *-brtl*) ! aix_use_runtimelinking=yes ! break ! ;; ! esac ! done ! esac ! exp_sym_flag='-bexport' ! no_entry_flag='-bnoentry' ! fi ! # When large executables or shared objects are built, AIX ld can ! # have problems creating the table of contents. If linking a library ! # or program results in "error TOC overflow" add -mminimal-toc to ! # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not ! # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. ! hardcode_direct=yes ! archive_cmds='' ! hardcode_libdir_separator=':' ! if test "$GCC" = yes; then ! case $host_os in aix4.[[012]]|aix4.[[012]].*) ! collect2name=`${CC} -print-prog-name=collect2` ! if test -f "$collect2name" && \ ! strings "$collect2name" | grep resolve_lib_name >/dev/null ! then ! # We have reworked collect2 ! hardcode_direct=yes ! else ! # We have old collect2 ! hardcode_direct=unsupported ! # It fails to find uninstalled libraries when the uninstalled ! # path is not listed in the libpath. Setting hardcode_minus_L ! # to unsupported forces relinking ! hardcode_minus_L=yes ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_libdir_separator= ! fi ! esac ! shared_flag='-shared' ! else ! # not using gcc ! if test "$host_cpu" = ia64; then ! shared_flag='${wl}-G' ! else ! if test "$aix_use_runtimelinking" = yes; then ! shared_flag='${wl}-G' ! else ! shared_flag='${wl}-bM:SRE' ! fi ! fi ! fi ! # It seems that -bexpall can do strange things, so it is better to ! # generate a list of symbols to export. ! always_export_symbols=yes ! if test "$aix_use_runtimelinking" = yes; then ! # Warning - without using the other runtime loading flags (-brtl), ! # -berok will link without error, but may produce a broken library. ! allow_undefined_flag='-berok' ! hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' ! archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" ! else ! if test "$host_cpu" = ia64; then ! hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' ! allow_undefined_flag="-z nodefs" ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" ! else ! hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' ! # Warning - without using the other run time loading flags, ! # -berok will link without error, but may produce a broken library. ! allow_undefined_flag='${wl}-berok' ! # This is a bit strange, but is similar to how AIX traditionally builds ! # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' ! fi ! fi ! ;; ! amigaos*) ! archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! # see comment about different semantics on the GNU ld section ! ld_shlibs=no ! ;; ! cygwin* | mingw* | pw32*) ! # When not using gcc, we currently assume that we are using ! # Microsoft Visual C++. ! # hardcode_libdir_flag_spec is actually meaningless, as there is ! # no search path for DLLs. ! hardcode_libdir_flag_spec=' ' ! allow_undefined_flag=unsupported ! # Tell ltmain to make .lib files, not .a files. ! libext=lib ! # FIXME: Setting linknames here is a bad hack. ! archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' ! # The linker will automatically build a .lib file if we build a DLL. ! old_archive_from_new_cmds='true' ! # FIXME: Should let the user specify the lib program. ! old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' ! fix_srcfile_path='`cygpath -w "$srcfile"`' ! ;; ! darwin* | rhapsody*) ! case "$host_os" in ! rhapsody* | darwin1.[[012]]) ! allow_undefined_flag='-undefined suppress' ! ;; ! *) # Darwin 1.3 on ! allow_undefined_flag='-flat_namespace -undefined suppress' ! ;; ! esac ! # FIXME: Relying on posixy $() will cause problems for ! # cross-compilation, but unfortunately the echo tests do not ! # yet detect zsh echo's removal of \ escapes. Also zsh mangles ! # `"' quotes if we put them in here... so don't! ! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' ! # We need to add '_' to the symbols in $export_symbols first ! #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! whole_archive_flag_spec='-all_load $convenience' ! ;; ! freebsd1*) ! ld_shlibs=no ! ;; ! # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor ! # support. Future versions do this automatically, but an explicit c++rt0.o ! # does not break anything, and helps significantly (at the cost of a little ! # extra space). ! freebsd2.2*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! # Unfortunately, older versions of FreeBSD 2 do not have this feature. ! freebsd2*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_minus_L=yes ! hardcode_shlibpath_var=no ! ;; ! # FreeBSD 3 and greater uses gcc -shared to do shared libraries. ! freebsd*) ! archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! hpux9* | hpux10* | hpux11*) ! case $host_os in ! hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; ! *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; ! esac ! hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' ! hardcode_libdir_separator=: ! hardcode_direct=yes ! hardcode_minus_L=yes # Not in the search PATH, but as the default ! # location of the library. ! export_dynamic_flag_spec='${wl}-E' ! ;; ! irix5* | irix6* | nonstopux*) ! if test "$GCC" = yes; then ! archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! else ! archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='-rpath $libdir' ! fi ! hardcode_libdir_separator=: ! link_all_deplibs=yes ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out ! else ! archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF ! fi ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! ;; ! newsos6) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! hardcode_libdir_separator=: ! hardcode_shlibpath_var=no ! ;; ! openbsd*) ! hardcode_direct=yes ! hardcode_shlibpath_var=no ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ! export_dynamic_flag_spec='${wl}-E' ! else ! case "$host_os" in ! openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) ! archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-R$libdir' ! ;; ! *) ! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ! hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ! ;; ! esac ! fi ! ;; ! os2*) ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_minus_L=yes ! allow_undefined_flag=unsupported ! archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' ! old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ! ;; ! osf3*) ! if test "$GCC" = yes; then ! allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ! archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! else ! allow_undefined_flag=' -expect_unresolved \*' ! archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! fi ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! hardcode_libdir_separator=: ! ;; ! osf4* | osf5*) # as osf3* with the addition of -msym flag ! if test "$GCC" = yes; then ! allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' ! archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ! hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' ! else ! allow_undefined_flag=' -expect_unresolved \*' ! archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' ! archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ ! $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' ! #Both c and cxx compiler support -rpath directly ! hardcode_libdir_flag_spec='-rpath $libdir' ! fi ! hardcode_libdir_separator=: ! ;; ! sco3.2v5*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! runpath_var=LD_RUN_PATH ! hardcode_runpath_var=yes ! export_dynamic_flag_spec='${wl}-Bexport' ! ;; ! solaris*) ! # gcc --version < 3.0 without binutils cannot create self contained ! # shared libraries reliably, requiring libgcc.a to resolve some of ! # the object symbols generated in some cases. Libraries that use ! # assert need libgcc.a to resolve __eprintf, for example. Linking ! # a copy of libgcc.a into every shared library to guarantee resolving ! # such symbols causes other problems: According to Tim Van Holder ! # , C++ libraries end up with a separate ! # (to the application) exception stack for one thing. ! no_undefined_flag=' -z defs' ! if test "$GCC" = yes; then ! case `$CC --version 2>/dev/null` in ! [[12]].*) ! cat <&2 ! *** Warning: Releases of GCC earlier than version 3.0 cannot reliably ! *** create self contained shared libraries on Solaris systems, without ! *** introducing a dependency on libgcc.a. Therefore, libtool is disabling ! *** -no-undefined support, which will at least allow you to build shared ! *** libraries. However, you may find that when you link such libraries ! *** into an application without using GCC, you have to manually add ! *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to ! *** upgrade to a newer version of GCC. Another option is to rebuild your ! *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. ! EOF ! no_undefined_flag= ! ;; ! esac ! fi ! # $CC -shared without GNU ld will not create a library from C++ ! # object files and a static libstdc++, better avoid it by now ! archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' ! archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ ! $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' ! hardcode_libdir_flag_spec='-R$libdir' ! hardcode_shlibpath_var=no ! case $host_os in ! solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; ! *) # Supported since Solaris 2.6 (maybe 2.5.1?) ! whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; ! esac ! link_all_deplibs=yes ! ;; ! sunos4*) ! if test "x$host_vendor" = xsequent; then ! # Use $CC to link under sequent, because it throws in some extra .o ! # files that make .init and .fini sections work. ! archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' ! else ! archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' ! fi ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_direct=yes ! hardcode_minus_L=yes ! hardcode_shlibpath_var=no ! ;; ! sysv4) ! case $host_vendor in ! sni) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes # is this really true??? ! ;; ! siemens) ! ## LD is ld it makes a PLAMLIB ! ## CC just makes a GrossModule. ! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ! reload_cmds='$CC -r -o $output$reload_objs' ! hardcode_direct=no ! ;; ! motorola) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=no #Motorola manual says yes, but my tests say they lie ! ;; ! esac ! runpath_var='LD_RUN_PATH' ! hardcode_shlibpath_var=no ! ;; ! sysv4.3*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! export_dynamic_flag_spec='-Bexport' ! ;; ! sysv5*) ! no_undefined_flag=' -z text' ! # $CC -shared without GNU ld will not create a library from C++ ! # object files and a static libstdc++, better avoid it by now ! archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' ! archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ ! $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' ! hardcode_libdir_flag_spec= ! hardcode_shlibpath_var=no ! runpath_var='LD_RUN_PATH' ! ;; ! uts4*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_shlibpath_var=no ! ;; ! dgux*) ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_libdir_flag_spec='-L$libdir' ! hardcode_shlibpath_var=no ! ;; ! sysv4*MP*) ! if test -d /usr/nec; then ! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' ! hardcode_shlibpath_var=no ! runpath_var=LD_RUN_PATH ! hardcode_runpath_var=yes ! ld_shlibs=yes ! fi ! ;; ! sysv4.2uw2*) ! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' ! hardcode_direct=yes ! hardcode_minus_L=no ! hardcode_shlibpath_var=no ! hardcode_runpath_var=yes ! runpath_var=LD_RUN_PATH ! ;; ! sysv5uw7* | unixware7*) ! no_undefined_flag='${wl}-z ${wl}text' ! if test "$GCC" = yes; then ! archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ! else ! archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ! fi ! runpath_var='LD_RUN_PATH' ! hardcode_shlibpath_var=no ! ;; ! *) ! ld_shlibs=no ! ;; ! esac ! fi ! AC_MSG_RESULT([$ld_shlibs]) ! test "$ld_shlibs" = no && can_build_shared=no ! # Check hardcoding attributes. ! AC_MSG_CHECKING([how to hardcode library paths into programs]) ! hardcode_action= ! if test -n "$hardcode_libdir_flag_spec" || \ ! test -n "$runpath_var"; then ! # We can hardcode non-existant directories. ! if test "$hardcode_direct" != no && ! # If the only mechanism to avoid hardcoding is shlibpath_var, we ! # have to relink, otherwise we might link with an installed library ! # when we should be linking with a yet-to-be-installed one ! ## test "$hardcode_shlibpath_var" != no && ! test "$hardcode_minus_L" != no; then ! # Linking always hardcodes the temporary library directory. ! hardcode_action=relink ! else ! # We can link without hardcoding, and we can hardcode nonexisting dirs. ! hardcode_action=immediate ! fi ! else ! # We cannot hardcode anything, or else we can only hardcode existing ! # directories. ! hardcode_action=unsupported ! fi ! AC_MSG_RESULT([$hardcode_action]) ! striplib= ! old_striplib= ! AC_MSG_CHECKING([whether stripping libraries is possible]) ! if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then ! test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" ! test -z "$striplib" && striplib="$STRIP --strip-unneeded" ! AC_MSG_RESULT([yes]) ! else ! AC_MSG_RESULT([no]) ! fi ! reload_cmds='$LD$reload_flag -o $output$reload_objs' ! test -z "$deplibs_check_method" && deplibs_check_method=unknown ! # PORTME Fill in your ld.so characteristics ! AC_MSG_CHECKING([dynamic linker characteristics]) ! library_names_spec= ! libname_spec='lib$name' ! soname_spec= ! postinstall_cmds= ! postuninstall_cmds= ! finish_cmds= ! finish_eval= ! shlibpath_var= ! shlibpath_overrides_runpath=unknown ! version_type=none ! dynamic_linker="$host_os ld.so" ! sys_lib_dlsearch_path_spec="/lib /usr/lib" ! sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" ! case $host_os in ! aix3*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix $libname.a' ! shlibpath_var=LIBPATH ! # AIX has no versioning support, so we append a major version to the name. ! soname_spec='${libname}${release}.so$major' ! ;; ! aix4* | aix5*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! hardcode_into_libs=yes ! if test "$host_cpu" = ia64; then ! # AIX 5 supports IA64 ! library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! else ! # With GCC up to 2.95.x, collect2 would create an import file ! # for dependence libraries. The import file would start with ! # the line `#! .'. This would cause the generated library to ! # depend on `.', always an invalid library. This was fixed in ! # development snapshots of GCC prior to 3.0. ! case $host_os in ! aix4 | aix4.[[01]] | aix4.[[01]].*) ! if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' ! echo ' yes ' ! echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then ! : ! else ! can_build_shared=no ! fi ! ;; ! esac ! # AIX (on Power*) has no versioning support, so currently we can ! # not hardcode correct soname into executable. Probably we can ! # add versioning support to collect2, so additional links can ! # be useful in future. ! if test "$aix_use_runtimelinking" = yes; then ! # If using run time linking (on AIX 4.2 or later) use lib.so ! # instead of lib.a to let people know that these are not ! # typical AIX shared libraries. ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! else ! # We preserve .a as extension for shared libraries through AIX4.2 ! # and later when we are not doing run time linking. ! library_names_spec='${libname}${release}.a $libname.a' ! soname_spec='${libname}${release}.so$major' ! fi ! shlibpath_var=LIBPATH ! fi ! hardcode_into_libs=yes ! ;; ! amigaos*) ! library_names_spec='$libname.ixlibrary $libname.a' ! # Create ${libname}_ixlibrary.a entries in /sys/libs. ! finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ! ;; ! beos*) ! library_names_spec='${libname}.so' ! dynamic_linker="$host_os ld.so" ! shlibpath_var=LIBRARY_PATH ! ;; ! bsdi4*) ! version_type=linux ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" ! sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" ! export_dynamic_flag_spec=-rdynamic ! # the default ld.so.conf also contains /usr/contrib/lib and ! # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow ! # libtool to hard-code these into programs ! ;; ! cygwin* | mingw* | pw32*) ! version_type=windows ! need_version=no ! need_lib_prefix=no ! case $GCC,$host_os in ! yes,cygwin*) ! library_names_spec='$libname.dll.a' ! soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' ! postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ ! dldir=$destdir/`dirname \$dlpath`~ ! test -d \$dldir || mkdir -p \$dldir~ ! $install_prog .libs/$dlname \$dldir/$dlname' ! postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ ! dlpath=$dir/\$dldll~ ! $rm \$dlpath' ! ;; ! yes,mingw*) ! library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' ! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"` ! ;; ! yes,pw32*) ! library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' ! ;; ! *) ! library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' ! ;; ! esac ! dynamic_linker='Win32 ld.exe' ! # FIXME: first we should search . and the directory the executable is in ! shlibpath_var=PATH ! ;; ! darwin* | rhapsody*) ! dynamic_linker="$host_os dyld" ! version_type=darwin ! need_lib_prefix=no ! need_version=no ! # FIXME: Relying on posixy $() will cause problems for ! # cross-compilation, but unfortunately the echo tests do not ! # yet detect zsh echo's removal of \ escapes. ! library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' ! soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' ! shlibpath_overrides_runpath=yes ! shlibpath_var=DYLD_LIBRARY_PATH ! ;; ! freebsd1*) ! dynamic_linker=no ! ;; ! freebsd*-gnu*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=no ! hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ! ;; + freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH case $host_os in ! freebsd2*) ! shlibpath_overrides_runpath=yes ! ;; ! *) ! shlibpath_overrides_runpath=no ! hardcode_into_libs=yes ;; esac + ;; ! gnu*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! hardcode_into_libs=yes ! ;; ! hpux9* | hpux10* | hpux11*) ! # Give a soname corresponding to the major version so that dld.sl refuses to ! # link against other versions. ! dynamic_linker="$host_os dld.sl" ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! shlibpath_var=SHLIB_PATH ! shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH ! library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' ! soname_spec='${libname}${release}.sl$major' ! # HP-UX runs *really* slowly unless shared libraries are mode 555. ! postinstall_cmds='chmod 555 $lib' ! ;; ! ! irix5* | irix6* | nonstopux*) ! case $host_os in ! nonstopux*) version_type=nonstopux ;; ! *) version_type=irix ;; ! esac ! need_lib_prefix=no ! need_version=no ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' ! case $host_os in ! irix5* | nonstopux*) ! libsuff= shlibsuff= ! ;; ! *) ! case $LD in # libtool.m4 will add one of these switches to LD ! *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; ! *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; ! *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; ! *) libsuff= shlibsuff= libmagic=never-match;; ! esac ;; esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + ;; ! # No shared lib support for Linux oldld, aout, or coff. ! linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) ! dynamic_linker=no ! ;; ! # This must be Linux ELF. ! linux-gnu*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=no ! # This implies no fast_install, which is unacceptable. ! # Some rework will be needed to allow for fast_install ! # before this can be enabled. ! hardcode_into_libs=yes ! # We used to test for /lib/ld.so.1 and disable shared libraries on ! # powerpc, because MkLinux only supported shared libraries with the ! # GNU dynamic linker. Since this was broken with cross compilers, ! # most powerpc-linux boxes support dynamic linking these days and ! # people can always --disable-shared, the test was removed, and we ! # assume the GNU/Linux dynamic linker is in use. ! dynamic_linker='GNU/Linux ld.so' ! ;; ! netbsd*) ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ! dynamic_linker='NetBSD (a.out) ld.so' ! else ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' ! soname_spec='${libname}${release}.so$major' ! dynamic_linker='NetBSD ld.elf_so' ! fi ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! hardcode_into_libs=yes ! ;; ! newsos6) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! ;; ! openbsd*) ! version_type=sunos ! need_lib_prefix=no ! need_version=no ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! case "$host_os" in ! openbsd2.[[89]] | openbsd2.[[89]].*) ! shlibpath_overrides_runpath=no ! ;; ! *) ! shlibpath_overrides_runpath=yes ! ;; ! esac ! else ! shlibpath_overrides_runpath=yes ! fi ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! ! os2*) ! libname_spec='$name' ! need_lib_prefix=no ! library_names_spec='$libname.dll $libname.a' ! dynamic_linker='OS/2 ld.exe' ! shlibpath_var=LIBPATH ! ;; ! ! osf3* | osf4* | osf5*) ! version_type=osf ! need_version=no ! need_lib_prefix=no ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" ! sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ! hardcode_into_libs=yes ! ;; ! ! sco3.2v5*) ! version_type=osf ! soname_spec='${libname}${release}.so$major' ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! shlibpath_var=LD_LIBRARY_PATH ! ;; ! ! solaris*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! hardcode_into_libs=yes ! # ldd complains unless libraries are executable ! postinstall_cmds='chmod +x $lib' ! ;; ! ! sunos4*) ! version_type=sunos ! library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' ! finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' ! shlibpath_var=LD_LIBRARY_PATH ! shlibpath_overrides_runpath=yes ! if test "$with_gnu_ld" = yes; then ! need_lib_prefix=no ! fi ! need_version=yes ! ;; ! ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! case $host_vendor in ! sni) ! shlibpath_overrides_runpath=no ! need_lib_prefix=no ! export_dynamic_flag_spec='${wl}-Blargedynsym' ! runpath_var=LD_RUN_PATH ! ;; ! siemens) ! need_lib_prefix=no ! ;; ! motorola) ! need_lib_prefix=no ! need_version=no ! shlibpath_overrides_runpath=no ! sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ! ;; ! esac ;; ! uts4*) ! version_type=linux ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ;; ! dgux*) ! version_type=linux ! need_lib_prefix=no ! need_version=no ! library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ! soname_spec='${libname}${release}.so$major' ! shlibpath_var=LD_LIBRARY_PATH ! ;; + sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' + soname_spec='$libname.so.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; *) ! dynamic_linker=no ;; ! esac ! AC_MSG_RESULT([$dynamic_linker]) ! test "$dynamic_linker" = no && can_build_shared=no ! # Report the final consequences. ! AC_MSG_CHECKING([if libtool supports shared libraries]) ! AC_MSG_RESULT([$can_build_shared]) + AC_MSG_CHECKING([whether to build shared libraries]) + test "$can_build_shared" = "no" && enable_shared=no ! # On AIX, shared libraries and static libraries use the same namespace, and ! # are all built from PIC. ! case "$host_os" in ! aix3*) ! test "$enable_shared" = yes && enable_static=no ! if test -n "$RANLIB"; then ! archive_cmds="$archive_cmds~\$RANLIB \$lib" ! postinstall_cmds='$RANLIB $lib' ! fi ;; ! ! aix4*) ! if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then ! test "$enable_shared" = yes && enable_static=no ! fi ;; ! esac ! AC_MSG_RESULT([$enable_shared]) ! AC_MSG_CHECKING([whether to build static libraries]) ! # Make sure either enable_shared or enable_static is yes. ! test "$enable_shared" = yes || enable_static=yes ! AC_MSG_RESULT([$enable_static]) ! if test "$hardcode_action" = relink; then ! # Fast installation is not supported ! enable_fast_install=no ! elif test "$shlibpath_overrides_runpath" = yes || ! test "$enable_shared" = no; then ! # Fast installation is not necessary ! enable_fast_install=needless ! fi ! ! variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ! if test "$GCC" = yes; then ! variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" ! fi ! ! AC_LIBTOOL_DLOPEN_SELF ! ! if test "$enable_shared" = yes && test "$GCC" = yes; then ! case $archive_cmds in ! *'~'*) ! # FIXME: we may have to deal with multi-command sequences. ! ;; ! '$CC '*) ! # Test whether the compiler implicitly links with -lc since on some ! # systems, -lgcc has to come before -lc. If gcc already passes -lc ! # to ld, don't add -lc before -lgcc. ! AC_MSG_CHECKING([whether -lc should be explicitly linked in]) ! AC_CACHE_VAL([lt_cv_archive_cmds_need_lc], ! [$rm conftest* ! echo 'static int dummy;' > conftest.$ac_ext ! ! if AC_TRY_EVAL(ac_compile); then ! soname=conftest ! lib=conftest ! libobjs=conftest.$ac_objext ! deplibs= ! wl=$lt_cv_prog_cc_wl ! compiler_flags=-v ! linker_flags=-v ! verstring= ! output_objdir=. ! libname=conftest ! save_allow_undefined_flag=$allow_undefined_flag ! allow_undefined_flag= ! if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) ! then ! lt_cv_archive_cmds_need_lc=no ! else ! lt_cv_archive_cmds_need_lc=yes fi ! allow_undefined_flag=$save_allow_undefined_flag ! else ! cat conftest.err 1>&5 fi ! $rm conftest* ! ]) ! AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc]) ! ;; ! esac ! fi ! need_lc=${lt_cv_archive_cmds_need_lc-yes} ! ! # The second clause should only fire when bootstrapping the ! # libtool distribution, otherwise you forgot to ship ltmain.sh ! # with your package, and you will get complaints that there are ! # no rules to generate ltmain.sh. ! if test -f "$ltmain"; then ! : else ! # If there is no Makefile yet, we rely on a make rule to execute ! # `config.status --recheck' to rerun these tests and create the ! # libtool script then. ! test -f Makefile && make "$ltmain" fi + if test -f "$ltmain"; then + trap "$rm \"${ofile}T\"; exit 1" 1 2 15 + $rm -f "${ofile}T" ! echo creating $ofile + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS SED \ + AR AR_FLAGS CC LD LN_S NM SHELL \ + reload_flag reload_cmds wl \ + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ + thread_safe_flag_spec whole_archive_flag_spec libname_spec \ + library_names_spec soname_spec \ + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ + old_striplib striplib file_magic_cmd export_symbols_cmds \ + deplibs_check_method allow_undefined_flag no_undefined_flag \ + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ + global_symbol_to_c_name_address \ + hardcode_libdir_flag_spec hardcode_libdir_separator \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do ! case $var in ! reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ ! old_postinstall_cmds | old_postuninstall_cmds | \ ! export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ ! extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ ! postinstall_cmds | postuninstall_cmds | \ ! finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) ! # Double-quote double-evaled strings. ! eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; ! *) ! eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ! ;; ! esac done ! cat <<__EOF__ > "${ofile}T" ! #! $SHELL ! # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. ! # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) ! # NOTE: Changes made to this file will be lost: look at ltmain.sh. ! # ! # Copyright (C) 1996-2000 Free Software Foundation, Inc. ! # Originally by Gordon Matzigkeit , 1996 ! # ! # This program is free software; you can redistribute it and/or modify ! # it under the terms of the GNU General Public License as published by ! # the Free Software Foundation; either version 2 of the License, or ! # (at your option) any later version. ! # ! # This program is distributed in the hope that it will be useful, but ! # WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! # General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with this program; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! # ! # As a special exception to the GNU General Public License, if you ! # distribute this file as part of a program that contains a ! # configuration script generated by Autoconf, you may include it under ! # the same distribution terms that you use for the rest of that program. ! # A sed that does not truncate output. ! SED=$lt_SED ! # Sed that helps us avoid accidentally triggering echo(1) options like -n. ! Xsed="${SED} -e s/^X//" ! # The HP-UX ksh and POSIX shell print the target directory to stdout ! # if CDPATH is set. ! if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi ! # ### BEGIN LIBTOOL CONFIG ! # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: ! # Shell to use when invoking shell scripts. ! SHELL=$lt_SHELL ! # Whether or not to build shared libraries. ! build_libtool_libs=$enable_shared ! ! # Whether or not to build static libraries. ! build_old_libs=$enable_static ! ! # Whether or not to add -lc for building shared libraries. ! build_libtool_need_lc=$need_lc ! ! # Whether or not to optimize for fast installation. ! fast_install=$enable_fast_install ! ! # The host system. ! host_alias=$host_alias ! host=$host ! ! # An echo program that does not interpret backslashes. ! echo=$lt_echo ! # The archiver. ! AR=$lt_AR ! AR_FLAGS=$lt_AR_FLAGS ! # The default C compiler. ! CC=$lt_CC ! # Is the compiler the GNU C compiler? ! with_gcc=$GCC ! # The linker used to build libraries. ! LD=$lt_LD ! # Whether we need hard or soft links. ! LN_S=$lt_LN_S ! # A BSD-compatible nm program. ! NM=$lt_NM ! # A symbol stripping program ! STRIP=$STRIP ! # Used to examine libraries when file_magic_cmd begins "file" ! MAGIC_CMD=$MAGIC_CMD ! # Used on cygwin: DLL creation program. ! DLLTOOL="$DLLTOOL" ! # Used on cygwin: object dumper. ! OBJDUMP="$OBJDUMP" ! # Used on cygwin: assembler. ! AS="$AS" ! # The name of the directory that contains temporary libtool files. ! objdir=$objdir + # How to create reloadable object files. + reload_flag=$lt_reload_flag + reload_cmds=$lt_reload_cmds ! # How to pass a linker flag through the compiler. ! wl=$lt_wl ! # Object file suffix (normally "o"). ! objext="$ac_objext" ! # Old archive suffix (normally "a"). ! libext="$libext" ! # Executable file suffix (normally ""). ! exeext="$exeext" ! ! # Additional compiler flags for building library objects. ! pic_flag=$lt_pic_flag ! pic_mode=$pic_mode ! ! # Does compiler simultaneously support -c and -o options? ! compiler_c_o=$lt_compiler_c_o ! ! # Can we write directly to a .lo ? ! compiler_o_lo=$lt_compiler_o_lo ! # Must we lock files when doing compilation ? ! need_locks=$lt_need_locks ! # Do we need the lib prefix for modules? ! need_lib_prefix=$need_lib_prefix ! # Do we need a version for libraries? ! need_version=$need_version ! # Whether dlopen is supported. ! dlopen_support=$enable_dlopen ! # Whether dlopen of programs is supported. ! dlopen_self=$enable_dlopen_self ! # Whether dlopen of statically linked programs is supported. ! dlopen_self_static=$enable_dlopen_self_static ! # Compiler flag to prevent dynamic linking. ! link_static_flag=$lt_link_static_flag ! # Compiler flag to turn off builtin functions. ! no_builtin_flag=$lt_no_builtin_flag ! # Compiler flag to allow reflexive dlopens. ! export_dynamic_flag_spec=$lt_export_dynamic_flag_spec ! # Compiler flag to generate shared objects directly from archives. ! whole_archive_flag_spec=$lt_whole_archive_flag_spec ! # Compiler flag to generate thread-safe objects. ! thread_safe_flag_spec=$lt_thread_safe_flag_spec ! # Library versioning type. ! version_type=$version_type ! # Format of library name prefix. ! libname_spec=$lt_libname_spec ! # List of archive names. First name is the real one, the rest are links. ! # The last name is the one that the linker finds with -lNAME. ! library_names_spec=$lt_library_names_spec ! # The coded name of the library, if different from the real name. ! soname_spec=$lt_soname_spec ! # Commands used to build and install an old-style archive. ! RANLIB=$lt_RANLIB ! old_archive_cmds=$lt_old_archive_cmds ! old_postinstall_cmds=$lt_old_postinstall_cmds ! old_postuninstall_cmds=$lt_old_postuninstall_cmds ! # Create an old-style archive from a shared archive. ! old_archive_from_new_cmds=$lt_old_archive_from_new_cmds ! # Create a temporary old-style archive to link instead of a shared archive. ! old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds ! # Commands used to build and install a shared archive. ! archive_cmds=$lt_archive_cmds ! archive_expsym_cmds=$lt_archive_expsym_cmds ! postinstall_cmds=$lt_postinstall_cmds ! postuninstall_cmds=$lt_postuninstall_cmds ! # Commands to strip libraries. ! old_striplib=$lt_old_striplib ! striplib=$lt_striplib ! # Method to check whether dependent libraries are shared objects. ! deplibs_check_method=$lt_deplibs_check_method + # Command to use when deplibs_check_method == file_magic. + file_magic_cmd=$lt_file_magic_cmd ! # Flag that allows shared libraries with undefined symbols to be built. ! allow_undefined_flag=$lt_allow_undefined_flag ! # Flag that forces no undefined symbols. ! no_undefined_flag=$lt_no_undefined_flag ! # Commands used to finish a libtool library installation in a directory. ! finish_cmds=$lt_finish_cmds ! # Same as above, but a single script fragment to be evaled but not shown. ! finish_eval=$lt_finish_eval ! ! # Take the output of nm and produce a listing of raw symbols and C names. ! global_symbol_pipe=$lt_global_symbol_pipe ! ! # Transform the output of nm in a proper C declaration ! global_symbol_to_cdecl=$lt_global_symbol_to_cdecl ! ! # Transform the output of nm in a C name address pair ! global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address ! # This is the shared library runtime path variable. ! runpath_var=$runpath_var ! # This is the shared library path variable. ! shlibpath_var=$shlibpath_var ! # Is shlibpath searched before the hard-coded library search path? ! shlibpath_overrides_runpath=$shlibpath_overrides_runpath ! # How to hardcode a shared library path into an executable. ! hardcode_action=$hardcode_action + # Whether we should hardcode library paths into libraries. + hardcode_into_libs=$hardcode_into_libs ! # Flag to hardcode \$libdir into a binary during linking. ! # This must work even if \$libdir does not exist. ! hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec ! # Whether we need a single -rpath flag with a separated argument. ! hardcode_libdir_separator=$lt_hardcode_libdir_separator ! # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the ! # resulting binary. ! hardcode_direct=$hardcode_direct ! # Set to yes if using the -LDIR flag during linking hardcodes DIR into the ! # resulting binary. ! hardcode_minus_L=$hardcode_minus_L ! # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into ! # the resulting binary. ! hardcode_shlibpath_var=$hardcode_shlibpath_var ! # Variables whose values should be saved in libtool wrapper scripts and ! # restored at relink time. ! variables_saved_for_relink="$variables_saved_for_relink" ! # Whether libtool must link a program against all its dependency libraries. ! link_all_deplibs=$link_all_deplibs ! # Compile-time system search path for libraries ! sys_lib_search_path_spec=$lt_sys_lib_search_path_spec ! # Run-time system search path for libraries ! sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec ! # Fix the shell variable \$srcfile for the compiler. ! fix_srcfile_path="$fix_srcfile_path" ! # Set to yes if exported symbols are required. ! always_export_symbols=$always_export_symbols ! # The commands to list exported symbols. ! export_symbols_cmds=$lt_export_symbols_cmds ! # The commands to extract the exported symbol list from a shared archive. ! extract_expsyms_cmds=$lt_extract_expsyms_cmds ! # Symbols that should not be listed in the preloaded symbols. ! exclude_expsyms=$lt_exclude_expsyms ! # Symbols that must always be exported. ! include_expsyms=$lt_include_expsyms ! # ### END LIBTOOL CONFIG ! __EOF__ ! case $host_os in ! aix3*) ! cat <<\EOF >> "${ofile}T" ! ! # AIX sometimes has problems with the GCC collect2 program. For some ! # reason, if we set the COLLECT_NAMES environment variable, the problems ! # vanish in a puff of smoke. ! if test "X${COLLECT_NAMES+set}" != Xset; then ! COLLECT_NAMES= ! export COLLECT_NAMES ! fi ! EOF ! ;; ! esac + case $host_os in + cygwin* | mingw* | pw32* | os2*) + cat <<'EOF' >> "${ofile}T" + # This is a source program that is used to create dlls on Windows + # Don't remove nor modify the starting and closing comments + # /* ltdll.c starts here */ + # #define WIN32_LEAN_AND_MEAN + # #include + # #undef WIN32_LEAN_AND_MEAN + # #include + # + # #ifndef __CYGWIN__ + # # ifdef __CYGWIN32__ + # # define __CYGWIN__ __CYGWIN32__ + # # endif + # #endif + # + # #ifdef __cplusplus + # extern "C" { + # #endif + # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); + # #ifdef __cplusplus + # } + # #endif + # + # #ifdef __CYGWIN__ + # #include + # DECLARE_CYGWIN_DLL( DllMain ); + # #endif + # HINSTANCE __hDllInstance_base; + # + # BOOL APIENTRY + # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) + # { + # __hDllInstance_base = hInst; + # return TRUE; + # } + # /* ltdll.c ends here */ + # This is a source program that is used to create import libraries + # on Windows for dlls which lack them. Don't remove nor modify the + # starting and closing comments + # /* impgen.c starts here */ + # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. + # + # This file is part of GNU libtool. + # + # This program is free software; you can redistribute it and/or modify + # it under the terms of the GNU General Public License as published by + # the Free Software Foundation; either version 2 of the License, or + # (at your option) any later version. + # + # This program is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + # GNU General Public License for more details. + # + # You should have received a copy of the GNU General Public License + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + # */ + # + # #include /* for printf() */ + # #include /* for open(), lseek(), read() */ + # #include /* for O_RDONLY, O_BINARY */ + # #include /* for strdup() */ + # + # /* O_BINARY isn't required (or even defined sometimes) under Unix */ + # #ifndef O_BINARY + # #define O_BINARY 0 + # #endif + # + # static unsigned int + # pe_get16 (fd, offset) + # int fd; + # int offset; + # { + # unsigned char b[2]; + # lseek (fd, offset, SEEK_SET); + # read (fd, b, 2); + # return b[0] + (b[1]<<8); + # } + # + # static unsigned int + # pe_get32 (fd, offset) + # int fd; + # int offset; + # { + # unsigned char b[4]; + # lseek (fd, offset, SEEK_SET); + # read (fd, b, 4); + # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); + # } # ! # static unsigned int ! # pe_as32 (ptr) ! # void *ptr; ! # { ! # unsigned char *b = ptr; ! # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); ! # } # + # int + # main (argc, argv) + # int argc; + # char *argv[]; + # { + # int dll; + # unsigned long pe_header_offset, opthdr_ofs, num_entries, i; + # unsigned long export_rva, export_size, nsections, secptr, expptr; + # unsigned long name_rvas, nexp; + # unsigned char *expdata, *erva; + # char *filename, *dll_name; + # + # filename = argv[1]; + # + # dll = open(filename, O_RDONLY|O_BINARY); + # if (dll < 1) + # return 1; + # + # dll_name = filename; + # + # for (i=0; filename[i]; i++) + # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') + # dll_name = filename + i +1; + # + # pe_header_offset = pe_get32 (dll, 0x3c); + # opthdr_ofs = pe_header_offset + 4 + 20; + # num_entries = pe_get32 (dll, opthdr_ofs + 92); + # + # if (num_entries < 1) /* no exports */ + # return 1; + # + # export_rva = pe_get32 (dll, opthdr_ofs + 96); + # export_size = pe_get32 (dll, opthdr_ofs + 100); + # nsections = pe_get16 (dll, pe_header_offset + 4 +2); + # secptr = (pe_header_offset + 4 + 20 + + # pe_get16 (dll, pe_header_offset + 4 + 16)); + # + # expptr = 0; + # for (i = 0; i < nsections; i++) + # { + # char sname[8]; + # unsigned long secptr1 = secptr + 40 * i; + # unsigned long vaddr = pe_get32 (dll, secptr1 + 12); + # unsigned long vsize = pe_get32 (dll, secptr1 + 16); + # unsigned long fptr = pe_get32 (dll, secptr1 + 20); + # lseek(dll, secptr1, SEEK_SET); + # read(dll, sname, 8); + # if (vaddr <= export_rva && vaddr+vsize > export_rva) + # { + # expptr = fptr + (export_rva - vaddr); + # if (export_rva + export_size > vaddr + vsize) + # export_size = vsize - (export_rva - vaddr); + # break; + # } + # } + # + # expdata = (unsigned char*)malloc(export_size); + # lseek (dll, expptr, SEEK_SET); + # read (dll, expdata, export_size); + # erva = expdata - export_rva; + # + # nexp = pe_as32 (expdata+24); + # name_rvas = pe_as32 (expdata+32); + # + # printf ("EXPORTS\n"); + # for (i = 0; i> "${ofile}T" || (rm -f "${ofile}T"; exit 1) ! mv -f "${ofile}T" "$ofile" || \ ! (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") ! chmod +x "$ofile" ! fi ! ])# _LT_AC_LTCONFIG_HACK ! # AC_LIBTOOL_DLOPEN - enable checks for dlopen support ! AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])]) ! # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's ! AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])]) ! # AC_ENABLE_SHARED - implement the --enable-shared flag ! # Usage: AC_ENABLE_SHARED[(DEFAULT)] ! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to ! # `yes'. ! AC_DEFUN([AC_ENABLE_SHARED], ! [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl ! AC_ARG_ENABLE(shared, ! changequote(<<, >>)dnl ! << --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT], ! changequote([, ])dnl ! [p=${PACKAGE-default} ! case $enableval in ! yes) enable_shared=yes ;; ! no) enable_shared=no ;; ! *) ! enable_shared=no ! # Look at the argument we got. We use all the common list separators. ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," ! for pkg in $enableval; do ! if test "X$pkg" = "X$p"; then ! enable_shared=yes ! fi ! done ! IFS="$ac_save_ifs" ! ;; ! esac], ! enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl ! ]) ! # AC_DISABLE_SHARED - set the default shared flag to --disable-shared ! AC_DEFUN([AC_DISABLE_SHARED], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_ENABLE_SHARED(no)]) + # AC_ENABLE_STATIC - implement the --enable-static flag + # Usage: AC_ENABLE_STATIC[(DEFAULT)] + # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to + # `yes'. + AC_DEFUN([AC_ENABLE_STATIC], + [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl + AC_ARG_ENABLE(static, + changequote(<<, >>)dnl + << --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT], + changequote([, ])dnl + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," + for pkg in $enableval; do + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$ac_save_ifs" + ;; + esac], + enable_static=AC_ENABLE_STATIC_DEFAULT)dnl + ]) ! # AC_DISABLE_STATIC - set the default static flag to --disable-static ! AC_DEFUN([AC_DISABLE_STATIC], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_ENABLE_STATIC(no)]) ! # AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag ! # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)] ! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to ! # `yes'. ! AC_DEFUN([AC_ENABLE_FAST_INSTALL], ! [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl ! AC_ARG_ENABLE(fast-install, ! changequote(<<, >>)dnl ! << --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT], ! changequote([, ])dnl ! [p=${PACKAGE-default} ! case $enableval in ! yes) enable_fast_install=yes ;; ! no) enable_fast_install=no ;; ! *) ! enable_fast_install=no ! # Look at the argument we got. We use all the common list separators. ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," ! for pkg in $enableval; do ! if test "X$pkg" = "X$p"; then ! enable_fast_install=yes ! fi ! done ! IFS="$ac_save_ifs" ! ;; ! esac], ! enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl ! ]) ! # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install ! AC_DEFUN([AC_DISABLE_FAST_INSTALL], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_ENABLE_FAST_INSTALL(no)]) ! # AC_LIBTOOL_PICMODE - implement the --with-pic flag ! # Usage: AC_LIBTOOL_PICMODE[(MODE)] ! # Where MODE is either `yes' or `no'. If omitted, it defaults to ! # `both'. ! AC_DEFUN([AC_LIBTOOL_PICMODE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! pic_mode=ifelse($#,1,$1,default)]) + # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library + AC_DEFUN([AC_PATH_TOOL_PREFIX], + [AC_MSG_CHECKING([for $1]) + AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, + [case $MAGIC_CMD in + /*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; + ?:/*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. + ;; + *) + ac_save_MAGIC_CMD="$MAGIC_CMD" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + dnl $ac_dummy forces splitting on constant user-supplied paths. + dnl POSIX.2 word splitting is done only on the output of word expansions, + dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + egrep "$file_magic_regex" > /dev/null; then + : + else + cat <&2 ! *** Warning: the command libtool uses to detect shared libraries, ! *** $file_magic_cmd, produces output that libtool cannot recognize. ! *** The result is that libtool may fail to recognize shared libraries ! *** as such. This will affect the creation of libtool libraries that ! *** depend on shared libraries, but programs linked with such libtool ! *** libraries will work regardless of this problem. Nevertheless, you ! *** may want to report the problem to your system manager and/or to ! *** bug-libtool@gnu.org ! ! EOF ! fi ;; ! esac ! fi ! break ! fi ! done ! IFS="$ac_save_ifs" ! MAGIC_CMD="$ac_save_MAGIC_CMD" ! ;; ! esac]) ! MAGIC_CMD="$lt_cv_path_MAGIC_CMD" ! if test -n "$MAGIC_CMD"; then ! AC_MSG_RESULT($MAGIC_CMD) else ! AC_MSG_RESULT(no) fi ]) ! # AC_PATH_MAGIC - find a file program which can recognise a shared library ! AC_DEFUN([AC_PATH_MAGIC], ! [AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl ! AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH) ! if test -z "$lt_cv_path_MAGIC_CMD"; then ! if test -n "$ac_tool_prefix"; then ! AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH) ! else ! MAGIC_CMD=: ! fi ! fi ]) ! # AC_PROG_LD - find the path to the GNU or non-GNU linker ! AC_DEFUN([AC_PROG_LD], ! [AC_LIBTOOL_ARG_WITH(gnu-ld, ! [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], ! test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) ! AC_REQUIRE([AC_PROG_CC])dnl ! AC_REQUIRE([AC_CANONICAL_HOST])dnl ! AC_REQUIRE([AC_CANONICAL_BUILD])dnl ! AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl ! ac_prog=ld ! if test "$GCC" = yes; then ! # Check if gcc -print-prog-name=ld gives a path. ! AC_MSG_CHECKING([for ld used by GCC]) ! case $host in ! *-*-mingw*) ! # gcc leaves a trailing carriage return which upsets mingw ! ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ! *) ! ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ! esac ! case $ac_prog in ! # Accept absolute paths. ! [[\\/]]* | [[A-Za-z]]:[[\\/]]*) ! re_direlt='/[[^/]][[^/]]*/\.\./' ! # Canonicalize the path of ld ! ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ! while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ! ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ! done ! test -z "$LD" && LD="$ac_prog" ! ;; ! "") ! # If it fails, then pretend we aren't using GCC. ! ac_prog=ld ! ;; ! *) ! # If it is relative, then search for the first ld in PATH. ! with_gnu_ld=unknown ! ;; ! esac ! elif test "$with_gnu_ld" = yes; then ! AC_MSG_CHECKING([for GNU ld]) ! else ! AC_MSG_CHECKING([for non-GNU ld]) ! fi ! AC_CACHE_VAL(lt_cv_path_LD, ! [if test -z "$LD"; then ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ! for ac_dir in $PATH; do ! test -z "$ac_dir" && ac_dir=. ! if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ! lt_cv_path_LD="$ac_dir/$ac_prog" ! # Check to see if the program is GNU ld. I'd rather use --version, ! # but apparently some GNU ld's only accept -v. ! # Break only if it was the GNU/non-GNU ld that we prefer. ! if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then ! test "$with_gnu_ld" != no && break ! else ! test "$with_gnu_ld" != yes && break ! fi ! fi ! done ! IFS="$ac_save_ifs" ! else ! lt_cv_path_LD="$LD" # Let the user override the test with a path. ! fi]) ! LD="$lt_cv_path_LD" ! if test -n "$LD"; then ! AC_MSG_RESULT($LD) ! else ! AC_MSG_RESULT(no) ! fi ! test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) ! AC_PROG_LD_GNU ! ]) ! # AC_PROG_LD_GNU - ! AC_DEFUN([AC_PROG_LD_GNU], ! [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, ! [# I'd rather use --version here, but apparently some GNU ld's only accept -v. ! if $LD -v 2>&1 &5; then ! lt_cv_prog_gnu_ld=yes ! else ! lt_cv_prog_gnu_ld=no ! fi]) ! with_gnu_ld=$lt_cv_prog_gnu_ld ! ]) ! # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker ! # -- PORTME Some linkers may need a different reload flag. ! AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], ! [AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag, ! [lt_cv_ld_reload_flag='-r']) ! reload_flag=$lt_cv_ld_reload_flag ! test -n "$reload_flag" && reload_flag=" $reload_flag" ! ]) ! # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies ! # -- PORTME fill in with the dynamic library characteristics ! AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], ! [AC_CACHE_CHECK([how to recognise dependent libraries], ! lt_cv_deplibs_check_method, ! [lt_cv_file_magic_cmd='$MAGIC_CMD' ! lt_cv_file_magic_test_file= ! lt_cv_deplibs_check_method='unknown' ! # Need to set the preceding variable on all platforms that support ! # interlibrary dependencies. ! # 'none' -- dependencies not supported. ! # `unknown' -- same as none, but documents that we really don't know. ! # 'pass_all' -- all dependencies passed with no checks. ! # 'test_compile' -- check by making test program. ! # 'file_magic [[regex]]' -- check by looking for files in library path ! # which responds to the $file_magic_cmd with a given egrep regex. ! # If you have `file' or equivalent on your system and you're not sure ! # whether `pass_all' will *always* work, you probably want this one. ! case $host_os in ! aix4* | aix5*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! beos*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! bsdi4*) ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' ! lt_cv_file_magic_cmd='/usr/bin/file -L' ! lt_cv_file_magic_test_file=/shlib/libc.so ! ;; ! cygwin* | mingw* | pw32*) ! lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' ! lt_cv_file_magic_cmd='$OBJDUMP -f' ! ;; ! darwin* | rhapsody*) ! lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' ! lt_cv_file_magic_cmd='/usr/bin/file -L' ! case "$host_os" in ! rhapsody* | darwin1.[[012]]) ! lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` ! ;; ! *) # Darwin 1.3 on ! lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' ! ;; ! esac ! ;; ! freebsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then ! case $host_cpu in ! i*86 ) ! # Not sure whether the presence of OpenBSD here was a mistake. ! # Let's accept both of them until this is cleared up. ! lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ! ;; ! esac ! else ! lt_cv_deplibs_check_method=pass_all ! fi ! ;; ! gnu*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! hpux10.20*|hpux11*) ! lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=/usr/lib/libc.sl ! ;; ! irix5* | irix6* | nonstopux*) ! case $host_os in ! irix5* | nonstopux*) ! # this will be overridden with pass_all, but let us keep it just in case ! lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" ! ;; ! *) ! case $LD in ! *-32|*"-32 ") libmagic=32-bit;; ! *-n32|*"-n32 ") libmagic=N32;; ! *-64|*"-64 ") libmagic=64-bit;; ! *) libmagic=never-match;; ! esac ! # this will be overridden with pass_all, but let us keep it just in case ! lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" ! ;; ! esac ! lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` ! lt_cv_deplibs_check_method=pass_all ! ;; ! # This must be Linux ELF. ! linux-gnu*) ! case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) ! lt_cv_deplibs_check_method=pass_all ;; ! *) ! # glibc up to 2.1.1 does not perform some relocations on ARM ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; ! esac ! lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` ! ;; ! netbsd*) ! if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then ! lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' ! else ! lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' ! fi ! ;; + newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; ! openbsd*) ! lt_cv_file_magic_cmd=/usr/bin/file ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ! if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' ! else ! lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' ! fi ! ;; + osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; ! solaris*) ! lt_cv_deplibs_check_method=pass_all ! lt_cv_file_magic_test_file=/lib/libc.so ! ;; ! sysv5uw[[78]]* | sysv4*uw2*) ! lt_cv_deplibs_check_method=pass_all ! ;; ! sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ! case $host_vendor in ! motorola) ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' ! lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ! ;; ! ncr) ! lt_cv_deplibs_check_method=pass_all ! ;; ! sequent) ! lt_cv_file_magic_cmd='/bin/file' ! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ! ;; ! sni) ! lt_cv_file_magic_cmd='/bin/file' ! lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" ! lt_cv_file_magic_test_file=/lib/libc.so ! ;; ! siemens) ! lt_cv_deplibs_check_method=pass_all ! ;; ! esac ! ;; ! esac ! ]) ! file_magic_cmd=$lt_cv_file_magic_cmd ! deplibs_check_method=$lt_cv_deplibs_check_method ! ]) ! # AC_PROG_NM - find the path to a BSD-compatible name lister ! AC_DEFUN([AC_PROG_NM], ! [AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl ! AC_MSG_CHECKING([for BSD-compatible nm]) ! AC_CACHE_VAL(lt_cv_path_NM, ! [if test -n "$NM"; then ! # Let the user override the test. ! lt_cv_path_NM="$NM" ! else ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ! for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do ! test -z "$ac_dir" && ac_dir=. ! tmp_nm=$ac_dir/${ac_tool_prefix}nm ! if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then ! # Check to see if the nm accepts a BSD-compat flag. ! # Adding the `sed 1q' prevents false positives on HP-UX, which says: ! # nm: unknown option "B" ignored ! # Tru64's nm complains that /dev/null is an invalid object file ! if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then ! lt_cv_path_NM="$tmp_nm -B" ! break ! elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then ! lt_cv_path_NM="$tmp_nm -p" break + else + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags fi fi done + IFS="$ac_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm + fi]) + NM="$lt_cv_path_NM" + AC_MSG_RESULT([$NM]) + ]) ! # AC_CHECK_LIBM - check for math library ! AC_DEFUN([AC_CHECK_LIBM], ! [AC_REQUIRE([AC_CANONICAL_HOST])dnl ! LIBM= ! case $host in ! *-*-beos* | *-*-cygwin* | *-*-pw32*) ! # These system don't have libm ! ;; ! *-ncr-sysv4.3*) ! AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") ! AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") ! ;; ! *) ! AC_CHECK_LIB(m, main, LIBM="-lm") ! ;; ! esac ]) ! ! # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for ! # the libltdl convenience library and LTDLINCL to the include flags for ! # the libltdl header and adds --enable-ltdl-convenience to the ! # configure arguments. Note that LIBLTDL and LTDLINCL are not ! # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not ! # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed ! # with '${top_builddir}/' and LTDLINCL will be prefixed with ! # '${top_srcdir}/' (note the single quotes!). If your package is not ! # flat and you're not using automake, define top_builddir and ! # top_srcdir appropriately in the Makefiles. ! AC_DEFUN([AC_LIBLTDL_CONVENIENCE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! case $enable_ltdl_convenience in ! no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; ! "") enable_ltdl_convenience=yes ! ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; ! esac ! LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la ! LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) ! # For backwards non-gettext consistent compatibility... ! INCLTDL="$LTDLINCL" ! ]) ! ! # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for ! # the libltdl installable library and LTDLINCL to the include flags for ! # the libltdl header and adds --enable-ltdl-install to the configure ! # arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is ! # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed ! # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will ! # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed ! # with '${top_srcdir}/' (note the single quotes!). If your package is ! # not flat and you're not using automake, define top_builddir and ! # top_srcdir appropriately in the Makefiles. ! # In the future, this macro may have to be called after AC_PROG_LIBTOOL. ! AC_DEFUN([AC_LIBLTDL_INSTALLABLE], ! [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl ! AC_CHECK_LIB(ltdl, main, ! [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], ! [if test x"$enable_ltdl_install" = xno; then ! AC_MSG_WARN([libltdl not installed, but installation disabled]) ! else ! enable_ltdl_install=yes ! fi ! ]) ! if test x"$enable_ltdl_install" = x"yes"; then ! ac_configure_args="$ac_configure_args --enable-ltdl-install" ! LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la ! LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) ! else ! ac_configure_args="$ac_configure_args --enable-ltdl-install=no" ! LIBLTDL="-lltdl" ! LTDLINCL= ! fi ! # For backwards non-gettext consistent compatibility... ! INCLTDL="$LTDLINCL" ]) + dnl AC_LIBTOOL_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and + dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't + dnl require excessive bracketing. + ifdef([AC_HELP_STRING], + [AC_DEFUN([AC_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], + [AC_DEFUN([AC_LIBTOOL_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) ! # old names ! AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) ! AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) ! AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) ! AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) ! AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) ! AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) ! AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) ! ! # This is just to silence aclocal about the macro not being used ! ifelse([AC_DISABLE_FAST_INSTALL]) ! ! # NOTE: This macro has been submitted for inclusion into # ! # GNU Autoconf as AC_PROG_SED. When it is available in # ! # a released version of Autoconf we should remove this # ! # macro and use it instead. # ! # LT_AC_PROG_SED ! # -------------- ! # Check for a fully-functional sed program, that truncates ! # as few characters as possible. Prefer GNU sed if found. ! AC_DEFUN([LT_AC_PROG_SED], ! [AC_MSG_CHECKING([for a sed that does not truncate output]) ! AC_CACHE_VAL(lt_cv_path_SED, ! [# Loop through the user's path and test for sed and gsed. ! # Then use that list of sed's as ones to test for truncation. ! as_executable_p="test -f" ! 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_prog in sed gsed; do ! for ac_exec_ext in '' $ac_executable_extensions; do ! if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then ! _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" ! fi ! done ! done ! done ! ! # Create a temporary directory, and hook for its removal unless debugging. ! $debug || ! { ! trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 ! trap '{ (exit 1); exit 1; }' 1 2 13 15 ! } ! ! # Create a (secure) tmp directory for tmp files. ! : ${TMPDIR=/tmp} ! { ! tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && ! test -n "$tmp" && test -d "$tmp" ! } || ! { ! tmp=$TMPDIR/sed$$-$RANDOM ! (umask 077 && mkdir $tmp) ! } || ! { ! echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ! { (exit 1); exit 1; } ! } ! _max=0 ! _count=0 ! # Add /usr/xpg4/bin/sed as it is typically found on Solaris ! # along with /bin/sed that truncates output. ! for _sed in $_sed_list /usr/xpg4/bin/sed; do ! test ! -f ${_sed} && break ! cat /dev/null > "$tmp/sed.in" ! _count=0 ! echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" ! # Check for GNU sed and select it if it is found. ! if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then ! lt_cv_path_SED=${_sed} ! break ! fi ! while true; do ! cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" ! mv "$tmp/sed.tmp" "$tmp/sed.in" ! cp "$tmp/sed.in" "$tmp/sed.nl" ! echo >>"$tmp/sed.nl" ! ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break ! cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break ! # 40000 chars as input seems more than enough ! test $_count -gt 10 && break ! _count=`expr $_count + 1` ! if test $_count -gt $_max; then ! _max=$_count ! lt_cv_path_SED=$_sed ! fi ! done ! done ! rm -rf "$tmp" ! ]) ! if test "X$SED" != "X"; then ! lt_cv_path_SED=$SED else ! SED=$lt_cv_path_SED fi ! AC_MSG_RESULT([$SED]) ]) ! # serial 5 AC_LIB_LTDL ! ! # AC_WITH_LTDL # ------------ ! # Clients of libltdl can use this macro to allow the installer to ! # choose between a shipped copy of the ltdl sources or a preinstalled ! # version of the library. ! AC_DEFUN([AC_WITH_LTDL], ! [AC_REQUIRE([AC_LIB_LTDL]) ! AC_SUBST([LIBLTDL]) ! AC_SUBST([INCLTDL]) ! ! # Unless the user asks us to check, assume no installed ltdl exists. ! use_installed_libltdl=no ! ! AC_ARG_WITH([included_ltdl], ! [ --with-included-ltdl use the GNU ltdl sources included here]) ! ! if test "x$with_included_ltdl" != xyes; then ! # We are not being forced to use the included libltdl sources, so ! # decide whether there is a useful installed version we can use. ! AC_CHECK_HEADER([ltdl.h], ! [AC_CHECK_LIB([ltdl], [lt_dlcaller_register], ! [with_included_ltdl=no], ! [with_included_ltdl=yes]) ! ]) fi ! if test "x$enable_ltdl_install" != xyes; then ! # If the user did not specify an installable libltdl, then default ! # to a convenience lib. ! AC_LIBLTDL_CONVENIENCE ! fi ! if test "x$with_included_ltdl" = xno; then ! # If the included ltdl is not to be used. then Use the ! # preinstalled libltdl we found. ! AC_DEFINE([HAVE_LTDL], 1, ! [Define this if a modern libltdl is already installed]) ! LIBLTDL=-lltdl ! fi ! # Report our decision... ! AC_MSG_CHECKING([whether to use included libltdl]) ! AC_MSG_RESULT([$with_included_ltdl]) ! AC_CONFIG_SUBDIRS([libltdl]) ! ])# AC_WITH_LTDL ! # AC_LIB_LTDL ! # ----------- ! # Perform all the checks necessary for compilation of the ltdl objects ! # -- including compiler checks and header checks. ! AC_DEFUN([AC_LIB_LTDL], ! [AC_PREREQ(2.13) ! AC_REQUIRE([AC_PROG_CC]) ! AC_REQUIRE([AC_C_CONST]) ! AC_REQUIRE([AC_HEADER_STDC]) ! AC_REQUIRE([AC_HEADER_DIRENT]) ! AC_REQUIRE([AC_LIBTOOL_HEADER_ASSERT]) ! AC_REQUIRE([_LT_AC_CHECK_DLFCN]) ! AC_REQUIRE([AC_LTDL_ENABLE_INSTALL]) ! AC_REQUIRE([AC_LTDL_SHLIBEXT]) ! AC_REQUIRE([AC_LTDL_SHLIBPATH]) ! AC_REQUIRE([AC_LTDL_SYSSEARCHPATH]) ! AC_REQUIRE([AC_LTDL_OBJDIR]) ! AC_REQUIRE([AC_LTDL_DLPREOPEN]) ! AC_REQUIRE([AC_LTDL_DLLIB]) ! AC_REQUIRE([AC_LTDL_SYMBOL_USCORE]) ! AC_REQUIRE([AC_LTDL_DLSYM_USCORE]) ! AC_REQUIRE([AC_LTDL_SYS_DLOPEN_DEPLIBS]) ! AC_REQUIRE([AC_LTDL_FUNC_ARGZ]) ! AC_CHECK_HEADERS([errno.h malloc.h memory.h stdlib.h stdio.h ctype.h unistd.h]) ! AC_CHECK_HEADERS([dl.h sys/dl.h dld.h]) ! AC_CHECK_HEADERS([string.h strings.h], break) ! ! AC_CHECK_FUNCS([strchr index], break) ! AC_CHECK_FUNCS([strrchr rindex], break) ! AC_CHECK_FUNCS([memcpy bcopy], break) ! AC_CHECK_FUNCS([memmove strcmp]) ! ! ])# AC_LIB_LTDL ! ! # AC_LTDL_ENABLE_INSTALL ! # ---------------------- ! AC_DEFUN([AC_LTDL_ENABLE_INSTALL], ! [AC_ARG_ENABLE(ltdl-install, ! [ --enable-ltdl-install install libltdl]) ! ! AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) ! AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno) ! ])])# AC_LTDL_ENABLE_INSTALL ! ! # AC_LTDL_SYS_DLOPEN_DEPLIBS ! # -------------------------- ! AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], ! [AC_REQUIRE([AC_CANONICAL_HOST]) ! AC_CACHE_CHECK([whether deplibs are loaded by dlopen], ! libltdl_cv_sys_dlopen_deplibs, [dnl ! # PORTME does your system automatically load deplibs for dlopen()? ! libltdl_cv_sys_dlopen_deplibs=unknown ! case "$host_os" in ! hpux10*|hpux11*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! linux*|freebsd*-gnu*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! netbsd*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! openbsd*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! solaris*) ! libltdl_cv_sys_dlopen_deplibs=yes ! ;; ! esac ! ]) ! if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then ! AC_DEFINE(LTDL_DLOPEN_DEPLIBS, 1, ! [Define if the OS needs help to load dependent libraries for dlopen(). ]) ! fi ! ])# AC_LTDL_SYS_DLOPEN_DEPLIBS ! ! # AC_LTDL_SHLIBEXT ! # ---------------- ! AC_DEFUN([AC_LTDL_SHLIBEXT], ! [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) ! AC_CACHE_CHECK([which extension is used for shared libraries], ! libltdl_cv_shlibext, ! [ac_last= ! for ac_spec in $library_names_spec; do ! ac_last="$ac_spec" done ! echo "$ac_last" | [sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//'] > conftest ! libltdl_cv_shlibext=`cat conftest` ! rm -f conftest ! ]) ! if test -n "$libltdl_cv_shlibext"; then ! AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext", ! [Define to the extension used for shared libraries, say, ".so". ]) ! fi ! ])# AC_LTDL_SHLIBEXT ! ! # AC_LTDL_SHLIBPATH ! # ----------------- ! AC_DEFUN([AC_LTDL_SHLIBPATH], ! [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) ! AC_CACHE_CHECK([which variable specifies run-time library path], ! libltdl_cv_shlibpath_var, [libltdl_cv_shlibpath_var="$shlibpath_var"]) ! if test -n "$libltdl_cv_shlibpath_var"; then ! AC_DEFINE_UNQUOTED(LTDL_SHLIBPATH_VAR, "$libltdl_cv_shlibpath_var", ! [Define to the name of the environment variable that determines the dynamic library search path. ]) ! fi ! ])# AC_LTDL_SHLIBPATH ! ! # AC_LTDL_SYSSEARCHPATH ! # --------------------- ! AC_DEFUN([AC_LTDL_SYSSEARCHPATH], ! [AC_REQUIRE([_LT_AC_LTCONFIG_HACK]) ! AC_CACHE_CHECK([for the default library search path], ! libltdl_cv_sys_search_path, [libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"]) ! if test -n "$libltdl_cv_sys_search_path"; then ! case "$host" in ! *-*-mingw*) pathsep=";" ;; ! *) pathsep=":" ;; ! esac ! sys_search_path= ! for dir in $libltdl_cv_sys_search_path; do ! if test -z "$sys_search_path"; then ! sys_search_path="$dir" ! else ! sys_search_path="$sys_search_path$pathsep$dir" ! fi ! done ! AC_DEFINE_UNQUOTED(LTDL_SYSSEARCHPATH, "$sys_search_path", ! [Define to the system default library search path. ]) ! fi ! ])# AC_LTDL_SYSSEARCHPATH + # AC_LTDL_OBJDIR + # -------------- + AC_DEFUN([AC_LTDL_OBJDIR], + [AC_CACHE_CHECK([for objdir], + libltdl_cv_objdir, [libltdl_cv_objdir="$objdir" + if test -n "$objdir"; then + : + else + rm -f .libs 2>/dev/null + mkdir .libs 2>/dev/null + if test -d .libs; then + libltdl_cv_objdir=.libs + else + # MS-DOS does not allow filenames that begin with a dot. + libltdl_cv_objdir=_libs + fi + rmdir .libs 2>/dev/null + fi]) + AC_DEFINE_UNQUOTED(LTDL_OBJDIR, "$libltdl_cv_objdir/", + [Define to the sub-directory in which libtool stores uninstalled libraries. ]) + ])# AC_LTDL_OBJDIR ! # AC_LTDL_DLPREOPEN ! # ----------------- ! AC_DEFUN([AC_LTDL_DLPREOPEN], ! [AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], ! libltdl_cv_preloaded_symbols, [dnl ! if test -n "$global_symbol_pipe"; then ! libltdl_cv_preloaded_symbols=yes ! else ! libltdl_cv_preloaded_symbols=no ! fi ]) + if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then + AC_DEFINE(HAVE_PRELOADED_SYMBOLS, 1, + [Define if libtool can extract symbol lists from object files. ]) + fi + ])# AC_LTDL_DLPREOPEN ! # AC_LTDL_DLLIB ! # ------------- ! AC_DEFUN([AC_LTDL_DLLIB], ! [LIBADD_DL= ! AC_SUBST(LIBADD_DL) ! AC_CHECK_FUNC([shl_load], ! [AC_DEFINE([HAVE_SHL_LOAD], [1], ! [Define if you have the shl_load function.])], ! [AC_CHECK_LIB([dld], [shl_load], ! [AC_DEFINE([HAVE_SHL_LOAD], [1], ! [Define if you have the shl_load function.]) ! LIBADD_DL="$LIBADD_DL -ldld"], ! [AC_CHECK_LIB([dl], [dlopen], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.]) ! LIBADD_DL="-ldl"], ! [AC_TRY_LINK([#if HAVE_DLFCN_H ! # include ! #endif ! ], ! [dlopen(0, 0);], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.])], ! [AC_CHECK_LIB([svld], [dlopen], ! [AC_DEFINE([HAVE_LIBDL], [1], ! [Define if you have the libdl library or equivalent.]) ! LIBADD_DL="-lsvld"], ! [AC_CHECK_LIB([dld], [dld_link], ! [AC_DEFINE([HAVE_DLD], [1], ! [Define if you have the GNU dld library.]) ! LIBADD_DL="$LIBADD_DL -ldld" ! ]) ! ]) ! ]) ! ]) ! ]) ! ]) ! if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then ! LIBS_SAVE="$LIBS" ! LIBS="$LIBS $LIBADD_DL" ! AC_CHECK_FUNCS(dlerror) ! LIBS="$LIBS_SAVE" fi ! ])# AC_LTDL_DLLIB ! ! # AC_LTDL_SYMBOL_USCORE ! # --------------------- ! AC_DEFUN([AC_LTDL_SYMBOL_USCORE], ! [dnl does the compiler prefix global symbols with an underscore? ! AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl ! AC_MSG_CHECKING([for _ prefix in compiled symbols]) ! AC_CACHE_VAL(ac_cv_sys_symbol_underscore, ! [ac_cv_sys_symbol_underscore=no ! cat > conftest.$ac_ext < $ac_nlist) && test -s "$ac_nlist"; then ! # See whether the symbols have a leading underscore. ! if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then ! ac_cv_sys_symbol_underscore=yes ! else ! if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then ! : ! else ! echo "configure: cannot find nm_test_func in $ac_nlist" >&AC_FD_CC ! fi ! fi ! else ! echo "configure: cannot run $global_symbol_pipe" >&AC_FD_CC ! fi ! else ! echo "configure: failed program was:" >&AC_FD_CC ! cat conftest.c >&AC_FD_CC fi ! rm -rf conftest* ]) + AC_MSG_RESULT($ac_cv_sys_symbol_underscore) + ])# AC_LTDL_SYMBOL_USCORE ! # AC_LTDL_DLSYM_USCORE ! # -------------------- ! AC_DEFUN([AC_LTDL_DLSYM_USCORE], ! [AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])dnl ! if test x"$ac_cv_sys_symbol_underscore" = xyes; then ! if test x"$ac_cv_func_dlopen" = xyes || ! test x"$ac_cv_lib_dl_dlopen" = xyes ; then ! AC_CACHE_CHECK([whether we have to add an underscore for dlsym], ! libltdl_cv_need_uscore, [dnl ! libltdl_cv_need_uscore=unknown ! save_LIBS="$LIBS" ! LIBS="$LIBS $LIBADD_DL" ! _LT_AC_TRY_DLOPEN_SELF( ! libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes, ! [], libltdl_cv_need_uscore=cross) ! LIBS="$save_LIBS" ! ]) ! fi ! fi ! if test x"$libltdl_cv_need_uscore" = xyes; then ! AC_DEFINE(NEED_USCORE, 1, ! [Define if dlsym() requires a leading underscore in symbol names. ]) ! fi ! ])# AC_LTDL_DLSYM_USCORE ! # AC_CHECK_TYPES(TYPES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], ! # [INCLUDES]) ! # --------------------------------------------------------------- ! # This macro did not exist in Autoconf 2.13, which we do still support ! ifdef([AC_CHECK_TYPES], [], ! [define([AC_CHECK_TYPES], ! [AC_CACHE_CHECK([for $1], ac_Type, ! [AC_TRY_LINK([$4], ! [if (($1 *) 0) ! return 0; ! if (sizeof ($1)) ! return 0;], ! [ac_Type=yes], ! [ac_Type=no])]) ! if test "x$ac_Type" = xyes; then ! ifelse([$2], [], [:], [$2]) ! else ! ifelse([$3], [], [:], [$3]) ! fi]) ! ])# AC_CHECK_TYPES ! # AC_LTDL_FUNC_ARGZ ! # ----------------- ! AC_DEFUN([AC_LTDL_FUNC_ARGZ], ! [AC_CHECK_HEADERS([argz.h]) ! AC_CHECK_TYPES([error_t], ! [], ! [AC_DEFINE([error_t], [int], ! [Define to a type to use for \`error_t' if it is not otherwise available.])], ! [#if HAVE_ARGZ_H ! # include ! #endif]) ! ! AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) ! ])# AC_LTDL_FUNC_ARGZ diff -rNC3 smalltalk-2.1.2/libltdl/configure smalltalk-2.1.3/libltdl/configure *** smalltalk-2.1.2/libltdl/configure Fri Feb 28 11:19:34 2003 --- smalltalk-2.1.3/libltdl/configure Sat Jun 28 12:23:44 2003 *************** *** 1015,1022 **** Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ! --with-gnu-ld assume the C compiler uses GNU ld default=no ! --with-pic try to use only PIC/non-PIC objects default=use both Some influential environment variables: CC C compiler command --- 1015,1022 ---- Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ! --with-gnu-ld assume the C compiler uses GNU ld [default=no] ! --with-pic try to use only PIC/non-PIC objects [default=use both] Some influential environment variables: CC C compiler command *************** *** 3402,3408 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 3402,3408 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM *************** *** 4823,4828 **** --- 4823,4841 ---- # PIC (with -KPIC) is the default. ;; + linux*) + echo '__INTEL_COMPILER' > conftest.$ac_ext + if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null + then + lt_cv_prog_cc_can_build_shared=no + else + # Intel icc + lt_cv_prog_cc_pic='-KPIC' + lt_cv_prog_cc_static='-static' + lt_cv_prog_cc_wl='-Qoption,ld,' + fi + ;; + cygwin* | mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). *************** *** 5051,5057 **** save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:5054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then --- 5064,5070 ---- save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no ! if { (eval echo configure:5067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then *************** *** 5576,5582 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 5589,5595 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 6114,6119 **** --- 6127,6144 ---- dynamic_linker=no ;; + freebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU/FreeBSD ld.so' + ;; + freebsd*) objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` version_type=freebsd-$objformat *************** *** 6279,6284 **** --- 6304,6310 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 6825,6831 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&5 fi + $rm conftest* + fi echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 *************** *** 8682,8688 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext < 0) && file_not_found ())) { LT_DLFREE (tmp); return handle; --- 2993,2999 ---- failed, it is better to return an error message here than to report FILE_NOT_FOUND when the alternatives (foo.so etc) are not in the module search path. */ ! if (handle || ((errors > 0) && !file_not_found ())) { LT_DLFREE (tmp); return handle; *************** *** 3020,3026 **** /* As before, if the file was found but loading failed, return now with the current error message. */ ! if (handle || ((errors > 0) && file_not_found ())) { LT_DLFREE (tmp); return handle; --- 3020,3026 ---- /* As before, if the file was found but loading failed, return now with the current error message. */ ! if (handle || ((errors > 0) && !file_not_found ())) { LT_DLFREE (tmp); return handle; diff -rNC3 smalltalk-2.1.2/lightning/Makefile.am smalltalk-2.1.3/lightning/Makefile.am *** smalltalk-2.1.2/lightning/Makefile.am Tue Jun 25 20:35:33 2002 --- smalltalk-2.1.3/lightning/Makefile.am Mon Jun 9 09:36:06 2003 *************** *** 1,25 **** DISTCLEANFILES = asm.h core.h funcs.h fp.h ! BACKENDS = i386 sparc ppc if LIGHTNING_MAIN lightningdir = $(includedir)/lightning ! ! lightning_HEADERS = funcs-common.h core-common.h fp-common.h asm-common.h \ ! asm.h core.h funcs.h fp.h else ! ! noinst_HEADERS = funcs-common.h core-common.h fp-common.h asm-common.h \ ! lightning.h endif - - dist-hook: - cd $(distdir); rm -f $(DISTCLEANFILES) || true - d=`cd $(distdir); pwd`; \ - cd $(srcdir); \ - for i in $(BACKENDS); do \ - mkdir $$d/$$i; \ - for j in $(DISTCLEANFILES); do \ - cp $$i/$$j $$d/$$i; \ - done; \ - done --- 1,16 ---- DISTCLEANFILES = asm.h core.h funcs.h fp.h ! LIGHTNING_FILES = funcs-common.h core-common.h fp-common.h \ ! asm-common.h \ ! i386/asm.h i386/core.h i386/funcs.h i386/fp.h \ ! sparc/asm.h sparc/core.h sparc/funcs.h sparc/fp.h \ ! ppc/asm.h ppc/core.h ppc/funcs.h ppc/fp.h if LIGHTNING_MAIN lightningdir = $(includedir)/lightning ! dist_pkgdata_DATA = Makefile.am ! nobase_dist_lightning_HEADERS = $(LIGHTNING_FILES) ! nodist_lightning_HEADERS = asm.h core.h funcs.h fp.h else ! dist_noinst_HEADERS = $(LIGHTNING_FILES) lightning.h endif diff -rNC3 smalltalk-2.1.2/lightning/Makefile.in smalltalk-2.1.3/lightning/Makefile.in *** smalltalk-2.1.2/lightning/Makefile.in Fri May 9 11:57:30 2003 --- smalltalk-2.1.3/lightning/Makefile.in Sun Jun 22 13:38:12 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 174,199 **** target_alias = @target_alias@ DISTCLEANFILES = asm.h core.h funcs.h fp.h ! BACKENDS = i386 sparc ppc - @LIGHTNING_MAIN_TRUE@lightningdir = $(includedir)/lightning - - @LIGHTNING_MAIN_TRUE@lightning_HEADERS = funcs-common.h core-common.h fp-common.h asm-common.h \ - @LIGHTNING_MAIN_TRUE@ asm.h core.h funcs.h fp.h - - - @LIGHTNING_MAIN_FALSE@noinst_HEADERS = funcs-common.h core-common.h fp-common.h asm-common.h \ - @LIGHTNING_MAIN_FALSE@ lightning.h subdir = lightning mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = DIST_SOURCES = ! HEADERS = $(lightning_HEADERS) $(noinst_HEADERS) ! DIST_COMMON = $(lightning_HEADERS) $(noinst_HEADERS) Makefile.am \ ! Makefile.in all: all-am .SUFFIXES: --- 177,206 ---- target_alias = @target_alias@ DISTCLEANFILES = asm.h core.h funcs.h fp.h ! LIGHTNING_FILES = funcs-common.h core-common.h fp-common.h \ ! asm-common.h \ ! i386/asm.h i386/core.h i386/funcs.h i386/fp.h \ ! sparc/asm.h sparc/core.h sparc/funcs.h sparc/fp.h \ ! ppc/asm.h ppc/core.h ppc/funcs.h ppc/fp.h + @LIGHTNING_MAIN_TRUE@lightningdir = $(includedir)/lightning + @LIGHTNING_MAIN_TRUE@dist_pkgdata_DATA = Makefile.am + @LIGHTNING_MAIN_TRUE@nobase_dist_lightning_HEADERS = $(LIGHTNING_FILES) + @LIGHTNING_MAIN_TRUE@nodist_lightning_HEADERS = asm.h core.h funcs.h fp.h + @LIGHTNING_MAIN_FALSE@dist_noinst_HEADERS = $(LIGHTNING_FILES) lightning.h subdir = lightning mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = DIST_SOURCES = ! DATA = $(dist_pkgdata_DATA) ! ! HEADERS = $(dist_noinst_HEADERS) $(nobase_dist_lightning_HEADERS) \ ! $(nodist_lightning_HEADERS) ! DIST_COMMON = $(dist_noinst_HEADERS) $(dist_pkgdata_DATA) \ ! $(nobase_dist_lightning_HEADERS) Makefile.am Makefile.in all: all-am .SUFFIXES: *************** *** 212,231 **** distclean-libtool: -rm -f libtool uninstall-info-am: ! lightningHEADERS_INSTALL = $(INSTALL_HEADER) ! install-lightningHEADERS: $(lightning_HEADERS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(lightningdir) ! @list='$(lightning_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ ! echo " $(lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f"; \ ! $(lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f; \ done ! uninstall-lightningHEADERS: @$(NORMAL_UNINSTALL) ! @list='$(lightning_HEADERS)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(lightningdir)/$$f"; \ rm -f $(DESTDIR)$(lightningdir)/$$f; \ --- 219,274 ---- distclean-libtool: -rm -f libtool uninstall-info-am: ! dist_pkgdataDATA_INSTALL = $(INSTALL_DATA) ! install-dist_pkgdataDATA: $(dist_pkgdata_DATA) ! @$(NORMAL_INSTALL) ! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) ! @list='$(dist_pkgdata_DATA)'; for p in $$list; do \ ! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ ! f="`echo $$p | sed -e 's|^.*/||'`"; \ ! echo " $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \ ! $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \ ! done ! ! uninstall-dist_pkgdataDATA: ! @$(NORMAL_UNINSTALL) ! @list='$(dist_pkgdata_DATA)'; for p in $$list; do \ ! f="`echo $$p | sed -e 's|^.*/||'`"; \ ! echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \ ! rm -f $(DESTDIR)$(pkgdatadir)/$$f; \ ! done ! nobase_dist_lightningHEADERS_INSTALL = $(install_sh_DATA) ! install-nobase_dist_lightningHEADERS: $(nobase_dist_lightning_HEADERS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(lightningdir) ! @list='$(nobase_dist_lightning_HEADERS)'; for p in $$list; do \ ! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ ! f="$$p"; \ ! echo " $(nobase_dist_lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f"; \ ! $(nobase_dist_lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f; \ ! done ! ! uninstall-nobase_dist_lightningHEADERS: ! @$(NORMAL_UNINSTALL) ! @list='$(nobase_dist_lightning_HEADERS)'; for p in $$list; do \ ! f="$$p"; \ ! echo " rm -f $(DESTDIR)$(lightningdir)/$$f"; \ ! rm -f $(DESTDIR)$(lightningdir)/$$f; \ ! done ! nodist_lightningHEADERS_INSTALL = $(INSTALL_HEADER) ! install-nodist_lightningHEADERS: $(nodist_lightning_HEADERS) ! @$(NORMAL_INSTALL) ! $(mkinstalldirs) $(DESTDIR)$(lightningdir) ! @list='$(nodist_lightning_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ ! echo " $(nodist_lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f"; \ ! $(nodist_lightningHEADERS_INSTALL) $$d$$p $(DESTDIR)$(lightningdir)/$$f; \ done ! uninstall-nodist_lightningHEADERS: @$(NORMAL_UNINSTALL) ! @list='$(nodist_lightning_HEADERS)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(lightningdir)/$$f"; \ rm -f $(DESTDIR)$(lightningdir)/$$f; \ *************** *** 290,295 **** --- 333,339 ---- distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) + $(mkinstalldirs) $(distdir)/i386 $(distdir)/ppc $(distdir)/sparc @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ *************** *** 314,328 **** || exit 1; \ fi; \ done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook check-am: all-am check: check-am ! all-am: Makefile $(HEADERS) installdirs: ! $(mkinstalldirs) $(DESTDIR)$(lightningdir) install: install-am install-exec: install-exec-am --- 358,369 ---- || exit 1; \ fi; \ done check-am: all-am check: check-am ! all-am: Makefile $(DATA) $(HEADERS) installdirs: ! $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(lightningdir) $(DESTDIR)$(lightningdir) install: install-am install-exec: install-exec-am *************** *** 366,372 **** info-am: ! install-data-am: install-lightningHEADERS install-exec-am: --- 407,415 ---- info-am: ! install-data-am: install-dist_pkgdataDATA \ ! install-nobase_dist_lightningHEADERS \ ! install-nodist_lightningHEADERS install-exec-am: *************** *** 392,421 **** ps-am: ! uninstall-am: uninstall-info-am uninstall-lightningHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool ctags distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am info \ info-am install install-am install-data install-data-am \ ! install-exec install-exec-am install-info install-info-am \ ! install-lightningHEADERS install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ ! uninstall-am uninstall-info-am uninstall-lightningHEADERS ! - dist-hook: - cd $(distdir); rm -f $(DISTCLEANFILES) || true - d=`cd $(distdir); pwd`; \ - cd $(srcdir); \ - for i in $(BACKENDS); do \ - mkdir $$d/$$i; \ - for j in $(DISTCLEANFILES); do \ - cp $$i/$$j $$d/$$i; \ - done; \ - done # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- 435,459 ---- ps-am: ! uninstall-am: uninstall-dist_pkgdataDATA uninstall-info-am \ ! uninstall-nobase_dist_lightningHEADERS \ ! uninstall-nodist_lightningHEADERS .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool ctags distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am info \ info-am install install-am install-data install-data-am \ ! install-dist_pkgdataDATA install-exec install-exec-am \ ! install-info install-info-am install-man \ ! install-nobase_dist_lightningHEADERS \ ! install-nodist_lightningHEADERS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ ! uninstall-am uninstall-dist_pkgdataDATA uninstall-info-am \ ! uninstall-nobase_dist_lightningHEADERS \ ! uninstall-nodist_lightningHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -rNC3 smalltalk-2.1.2/lightning/asm-common.h smalltalk-2.1.3/lightning/asm-common.h *** smalltalk-2.1.2/lightning/asm-common.h Tue Jun 25 20:35:33 2002 --- smalltalk-2.1.3/lightning/asm-common.h Mon Jun 9 09:36:06 2003 *************** *** 98,104 **** #define _MASK(N) ((unsigned)((1<<(N)))-1) #define _siP(N,I) (!((((unsigned)(I))^(((unsigned)(I))<<1))&~_MASK(N))) #define _uiP(N,I) (!(((unsigned)(I))&~_MASK(N))) ! #define _suiP(N,I) (_siP(N,I) | uiP(N,I)) #ifndef _ASM_SAFETY #define _ck_s(W,I) (_UL(I) & _MASK(W)) --- 98,104 ---- #define _MASK(N) ((unsigned)((1<<(N)))-1) #define _siP(N,I) (!((((unsigned)(I))^(((unsigned)(I))<<1))&~_MASK(N))) #define _uiP(N,I) (!(((unsigned)(I))&~_MASK(N))) ! #define _suiP(N,I) (_siP(N,I) | _uiP(N,I)) #ifndef _ASM_SAFETY #define _ck_s(W,I) (_UL(I) & _MASK(W)) diff -rNC3 smalltalk-2.1.2/lightning/core-common.h smalltalk-2.1.3/lightning/core-common.h *** smalltalk-2.1.2/lightning/core-common.h Tue Jun 25 20:35:33 2002 --- smalltalk-2.1.3/lightning/core-common.h Mon Jun 9 09:36:06 2003 *************** *** 7,13 **** /*********************************************************************** * ! * Copyright 2000, 2001, 2002 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. --- 7,13 ---- /*********************************************************************** * ! * Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. *************** *** 237,249 **** /* NTOH/HTON is not mandatory for big endian architectures */ #ifndef jit_ntoh_ui /* big endian */ ! #define jit_ntoh_ui(d, rs) jit_movr_i((d), (rs)) ! #define jit_ntoh_us(d, rs) jit_movr_i((d), (rs)) #endif /* big endian */ /* hton is a synonym for ntoh */ ! #define jit_hton_ui(d, rs) jit_ntoh_i((d), (rs)) ! #define jit_hton_us(d, rs) jit_ntoh_i((d), (rs)) /* Stack synonyms */ #define jit_pushr_ui(rs) jit_pushr_i(rs) --- 237,249 ---- /* NTOH/HTON is not mandatory for big endian architectures */ #ifndef jit_ntoh_ui /* big endian */ ! #define jit_ntoh_ui(d, rs) ((d) == (rs) ? (void)0 : jit_movr_i((d), (rs))) ! #define jit_ntoh_us(d, rs) ((d) == (rs) ? (void)0 : jit_movr_i((d), (rs))) #endif /* big endian */ /* hton is a synonym for ntoh */ ! #define jit_hton_ui(d, rs) jit_ntoh_ui((d), (rs)) ! #define jit_hton_us(d, rs) jit_ntoh_us((d), (rs)) /* Stack synonyms */ #define jit_pushr_ui(rs) jit_pushr_i(rs) *************** *** 481,488 **** #define jit_movr_l(d, rs) jit_movr_i((d), (rs)) /* Stack */ ! #define jit_push_l(rs) jit_push_i(rs) ! #define jit_pop_l(rs) jit_pop_i(rs) #define jit_pusharg_l(rs) jit_pusharg_i(rs) /* Memory */ --- 481,488 ---- #define jit_movr_l(d, rs) jit_movr_i((d), (rs)) /* Stack */ ! #define jit_pushr_l(rs) jit_pushr_i(rs) ! #define jit_popr_l(rs) jit_popr_i(rs) #define jit_pusharg_l(rs) jit_pusharg_i(rs) /* Memory */ diff -rNC3 smalltalk-2.1.2/lightning/i386/core.h smalltalk-2.1.3/lightning/i386/core.h *** smalltalk-2.1.2/lightning/i386/core.h Fri May 9 13:56:39 2003 --- smalltalk-2.1.3/lightning/i386/core.h Mon Jun 9 09:36:06 2003 *************** *** 7,13 **** /*********************************************************************** * ! * Copyright 2000, 2001, 2002 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. --- 7,13 ---- /*********************************************************************** * ! * Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. *************** *** 304,310 **** #define jit_movi_i(d, is) ((is) ? MOVLir((is), (d)) : XORLrr ((d), (d)) ) #define jit_ntoh_ui(d, rs) jit_op_((d), (rs), BSWAPLr(d)) ! #define jit_ntoh_us(d, rs) jit_op_((d), (rs), RORLir(16, d)) /* Boolean */ #define jit_ltr_i(d, s1, s2) jit_bool_r((d), (s1), (s2), SETLr(jit_reg8(d)) ) --- 304,310 ---- #define jit_movi_i(d, is) ((is) ? MOVLir((is), (d)) : XORLrr ((d), (d)) ) #define jit_ntoh_ui(d, rs) jit_op_((d), (rs), BSWAPLr(d)) ! #define jit_ntoh_us(d, rs) jit_op_((d), (rs), RORWir(8, d)) /* Boolean */ #define jit_ltr_i(d, s1, s2) jit_bool_r((d), (s1), (s2), SETLr(jit_reg8(d)) ) *************** *** 373,384 **** /* Memory */ #define jit_ldi_c(d, is) jit_movbmr((is), 0, 0, 0, (d), jit_extr_c_i((d), (d))) ! #define jit_ldr_c(d, rs) jit_movbmr(0, (rs), 0 0, (d), jit_extr_c_i((d), (d))) #define jit_ldxr_c(d, s1, s2) jit_movbmr(0, (s1), (s2), 1, (d), jit_extr_c_i((d), (d))) #define jit_ldxi_c(d, rs, is) jit_movbmr((is), (rs), 0, 0, (d), jit_extr_c_i((d), (d))) #define jit_ldi_uc(d, is) jit_movbmr((is), 0, 0, 0, (d), jit_extr_uc_ui((d), (d))) ! #define jit_ldr_uc(d, rs) jit_movbmr(0, (rs), 0 0, (d), jit_extr_uc_ui((d), (d))) #define jit_ldxr_uc(d, s1, s2) jit_movbmr(0, (s1), (s2), 1, (d), jit_extr_uc_ui((d), (d))) #define jit_ldxi_uc(d, rs, is) jit_movbmr((is), (rs), 0, 0, (d), jit_extr_uc_ui((d), (d))) --- 373,384 ---- /* Memory */ #define jit_ldi_c(d, is) jit_movbmr((is), 0, 0, 0, (d), jit_extr_c_i((d), (d))) ! #define jit_ldr_c(d, rs) jit_movbmr(0, (rs), 0, 0, (d), jit_extr_c_i((d), (d))) #define jit_ldxr_c(d, s1, s2) jit_movbmr(0, (s1), (s2), 1, (d), jit_extr_c_i((d), (d))) #define jit_ldxi_c(d, rs, is) jit_movbmr((is), (rs), 0, 0, (d), jit_extr_c_i((d), (d))) #define jit_ldi_uc(d, is) jit_movbmr((is), 0, 0, 0, (d), jit_extr_uc_ui((d), (d))) ! #define jit_ldr_uc(d, rs) jit_movbmr(0, (rs), 0, 0, (d), jit_extr_uc_ui((d), (d))) #define jit_ldxr_uc(d, s1, s2) jit_movbmr(0, (s1), (s2), 1, (d), jit_extr_uc_ui((d), (d))) #define jit_ldxi_uc(d, rs, is) jit_movbmr((is), (rs), 0, 0, (d), jit_extr_uc_ui((d), (d))) *************** *** 388,404 **** #define jit_stxi_c(id, rd, rs) jit_movbrm((rs), (id), (rd), 0, 0) #define jit_ldi_s(d, is) (MOVWmr((is), 0, 0, 0, jit_reg16(d)), jit_extr_s_i((d), (d))) ! #define jit_ldr_s(d, rs) (MOVWmr(0, (rs), 0 0, jit_reg16(d)), jit_extr_s_i((d), (d))) #define jit_ldxr_s(d, s1, s2) (MOVWmr(0, (s1), (s2), 1, jit_reg16(d)), jit_extr_s_i((d), (d))) #define jit_ldxi_s(d, rs, is) (MOVWmr((is), (rs), 0, 0, jit_reg16(d)), jit_extr_s_i((d), (d))) ! #define jit_ldi_us(d, is) (XORrr((d), (d)), MOVWmr((is), 0, 0, 0, jit_reg16(d))) ! #define jit_ldr_us(d, rs) (XORrr((d), (d)), MOVWmr(0, (rs), 0 0, jit_reg16(d))) ! #define jit_ldxr_us(d, s1, s2) (XORrr((d), (d)), MOVWmr(0, (s1), (s2), 1, jit_reg16(d))) ! #define jit_ldxi_us(d, rs, is) (XORrr((d), (d)), MOVWmr((is), (rs), 0, 0, jit_reg16(d))) #define jit_sti_s(id, rs) MOVWrm(jit_reg16(rs), (id), 0, 0, 0) ! #define jit_str_s(rd, rs) MOVWrm(jit_reg16(rs), 0, (rd), 0 0) #define jit_stxr_s(d1, d2, rs) MOVWrm(jit_reg16(rs), 0, (d1), (d2), 1) #define jit_stxi_s(id, rd, rs) MOVWrm(jit_reg16(rs), (id), (rd), 0, 0) --- 388,404 ---- #define jit_stxi_c(id, rd, rs) jit_movbrm((rs), (id), (rd), 0, 0) #define jit_ldi_s(d, is) (MOVWmr((is), 0, 0, 0, jit_reg16(d)), jit_extr_s_i((d), (d))) ! #define jit_ldr_s(d, rs) (MOVWmr(0, (rs), 0, 0, jit_reg16(d)), jit_extr_s_i((d), (d))) #define jit_ldxr_s(d, s1, s2) (MOVWmr(0, (s1), (s2), 1, jit_reg16(d)), jit_extr_s_i((d), (d))) #define jit_ldxi_s(d, rs, is) (MOVWmr((is), (rs), 0, 0, jit_reg16(d)), jit_extr_s_i((d), (d))) ! #define jit_ldi_us(d, is) (XORLrr((d), (d)), MOVWmr((is), 0, 0, 0, jit_reg16(d))) ! #define jit_ldr_us(d, rs) (XORLrr((d), (d)), MOVWmr(0, (rs), 0, 0, jit_reg16(d))) ! #define jit_ldxr_us(d, s1, s2) (XORLrr((d), (d)), MOVWmr(0, (s1), (s2), 1, jit_reg16(d))) ! #define jit_ldxi_us(d, rs, is) (XORLrr((d), (d)), MOVWmr((is), (rs), 0, 0, jit_reg16(d))) #define jit_sti_s(id, rs) MOVWrm(jit_reg16(rs), (id), 0, 0, 0) ! #define jit_str_s(rd, rs) MOVWrm(jit_reg16(rs), 0, (rd), 0, 0) #define jit_stxr_s(d1, d2, rs) MOVWrm(jit_reg16(rs), 0, (d1), (d2), 1) #define jit_stxi_s(id, rd, rs) MOVWrm(jit_reg16(rs), (id), (rd), 0, 0) diff -rNC3 smalltalk-2.1.2/lightning/lightning.h smalltalk-2.1.3/lightning/lightning.h *** smalltalk-2.1.2/lightning/lightning.h Tue Jun 25 20:35:33 2002 --- smalltalk-2.1.3/lightning/lightning.h Mon Jun 9 09:36:06 2003 *************** *** 34,39 **** --- 34,43 ---- #ifndef __lightning_h #define __lightning_h + #ifdef __cplusplus + extern "C" { + #endif + #include #include *************** *** 52,57 **** --- 56,65 ---- #ifndef JIT_R0 #error GNU lightning does not support the current target + #endif + + #ifdef __cplusplus + } #endif #endif /* __lightning_h */ diff -rNC3 smalltalk-2.1.2/lightning/ppc/funcs.h smalltalk-2.1.3/lightning/ppc/funcs.h *** smalltalk-2.1.2/lightning/ppc/funcs.h Fri May 9 13:56:40 2003 --- smalltalk-2.1.3/lightning/ppc/funcs.h Mon Jun 9 09:36:06 2003 *************** *** 7,13 **** /*********************************************************************** * ! * Copyright 2000, 2001, 2002 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. --- 7,13 ---- /*********************************************************************** * ! * Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. * Written by Paolo Bonzini. * * This file is part of GNU lightning. *************** *** 23,29 **** * License for more details. * * You should have received a copy of the GNU Lesser General Public License ! * along with GNU lightning; see the file COPYING.LIB; if not, write to the * Free Software Foundation, 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. * --- 23,29 ---- * License for more details. * * You should have received a copy of the GNU Lesser General Public License ! * along with GNU lightning; see the file COPYING.LESSER; if not, write to the * Free Software Foundation, 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. * *************** *** 115,124 **** if (!p_trampolines[n]) { _jit.pc = p_trampolines[n] = free; ! frame_size = 8 + (6 + n) * 4; /* r26..r31 + args */ STWUrm(1, -frame_size, 1); /* stwu r1, -x(r1) */ ! for (ofs = 8, i = 26 - n; i <= 31; ofs += 4, i++) { STWrm(i, ofs, 1); /* stw rI, ofs(r1) */ } STWrm(0, ofs+4, 1); /* stw r0, x(r1) */ --- 115,127 ---- if (!p_trampolines[n]) { _jit.pc = p_trampolines[n] = free; ! frame_size = 24 + (6 + n) * 4; /* r26..r31 + args */ ! frame_size += 15; /* the stack must be quad-word */ ! frame_size &= ~15; /* aligned */ ! STWUrm(1, -frame_size, 1); /* stwu r1, -x(r1) */ ! for (ofs = frame_size - (6 + n) * 4, i = 26 - n; i <= 31; ofs += 4, i++) { STWrm(i, ofs, 1); /* stw rI, ofs(r1) */ } STWrm(0, ofs+4, 1); /* stw r0, x(r1) */ *************** *** 129,135 **** LWZrm(0, ofs+4, 1); /* lwz r0, x(r1) (ret.addr.) */ MTLRr(0); /* mtspr LR, r0 */ ! for (ofs = 8, i = 26 - n; i <= 31; ofs += 4, i++) { LWZrm(i, ofs, 1); /* lwz rI, ofs(r1) */ } ADDIrri(1, 1, frame_size); /* addi r1, r1, x */ --- 132,138 ---- LWZrm(0, ofs+4, 1); /* lwz r0, x(r1) (ret.addr.) */ MTLRr(0); /* mtspr LR, r0 */ ! for (ofs = frame_size - (6 + n) * 4, i = 26 - n; i <= 31; ofs += 4, i++) { LWZrm(i, ofs, 1); /* lwz rI, ofs(r1) */ } ADDIrri(1, 1, frame_size); /* addi r1, r1, x */ diff -rNC3 smalltalk-2.1.2/net/ChangeLog smalltalk-2.1.3/net/ChangeLog *** smalltalk-2.1.2/net/ChangeLog Fri May 9 09:26:57 2003 --- smalltalk-2.1.3/net/ChangeLog Sat Jun 28 15:52:41 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/packages.xml smalltalk-2.1.3/packages.xml *** smalltalk-2.1.2/packages.xml Fri May 9 13:56:50 2003 --- smalltalk-2.1.3/packages.xml Sat Jun 28 15:53:37 2003 *************** *** 1,4 **** ! --- 1,4 ---- ! diff -rNC3 smalltalk-2.1.2/sigsegv/Makefile.in smalltalk-2.1.3/sigsegv/Makefile.in *** smalltalk-2.1.2/sigsegv/Makefile.in Fri May 9 11:57:51 2003 --- smalltalk-2.1.3/sigsegv/Makefile.in Sat Jun 28 12:24:39 2003 *************** *** 180,186 **** $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac ../config/align.m4 ../config/bold.m4 ../config/codeset.m4 ../config/ext_goto.m4 ../config/fault.m4 ../config/gcc.m4 ../config/getpagesize.m4 ../config/glib-2.0.m4 ../config/gmp.m4 ../config/gst.m4 ../config/gtk-2.0.m4 ../config/iconv.m4 ../config/inet.m4 ../config/libtool.m4 ../config/lightning.m4 ../config/localtime.m4 ../config/mmap-anon.m4 ../config/modules.m4 ../config/pkg.m4 ../config/readline.m4 ../config/relocatable.m4 ../config/restrict.m4 ../config/sigaltstack-longjmp.m4 ../config/sigaltstack-siglongjmp.m4 ../config/sigaltstack.m4 ../config/snprintfv.m4 ../config/strtoul.m4 ../config/symbolset.m4 ../config/tcltk.m4 ../config/version.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 --- 180,186 ---- $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) ! $(ACLOCAL_M4): configure.ac ../config/align.m4 ../config/bold.m4 ../config/codeset.m4 ../config/ext_goto.m4 ../config/fault.m4 ../config/gcc.m4 ../config/getpagesize.m4 ../config/glib-2.0.m4 ../config/gmp.m4 ../config/gst.m4 ../config/gtk-2.0.m4 ../config/iconv.m4 ../config/inet.m4 ../config/lib-ld.m4 ../config/lib-link.m4 ../config/lib-prefix.m4 ../config/libtool.m4 ../config/lightning.m4 ../config/localtime.m4 ../config/ltdl.m4 ../config/mmap-anon.m4 ../config/modules.m4 ../config/pkg.m4 ../config/readline.m4 ../config/relocatable.m4 ../config/restrict.m4 ../config/sigaltstack-longjmp.m4 ../config/sigaltstack-siglongjmp.m4 ../config/sigaltstack.m4 ../config/snprintfv.m4 ../config/strtoul.m4 ../config/symbolset.m4 ../config/tcltk.m4 ../config/version.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 diff -rNC3 smalltalk-2.1.2/sigsegv/aclocal.m4 smalltalk-2.1.3/sigsegv/aclocal.m4 *** smalltalk-2.1.2/sigsegv/aclocal.m4 Fri May 9 11:57:36 2003 --- smalltalk-2.1.3/sigsegv/aclocal.m4 Sat Jun 28 12:24:25 2003 *************** *** 2354,2360 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 2354,2360 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 2894,2900 **** shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU ld.so' ;; freebsd*) --- 2894,2900 ---- shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ;; freebsd*) *************** *** 3062,3067 **** --- 3062,3068 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 4198,4204 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 4199,4205 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM *************** *** 4735,4740 **** --- 4736,4743 ---- { void *fault_address = (void *) ($6); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) diff -rNC3 smalltalk-2.1.2/sigsegv/configure smalltalk-2.1.3/sigsegv/configure *** smalltalk-2.1.2/sigsegv/configure Fri May 9 11:57:56 2003 --- smalltalk-2.1.3/sigsegv/configure Sat Jun 28 12:24:45 2003 *************** *** 3607,3613 **** # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM --- 3607,3613 ---- # This must be Linux ELF. linux-gnu*) case $host_cpu in ! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k) lt_cv_deplibs_check_method=pass_all ;; *) # glibc up to 2.1.1 does not perform some relocations on ARM *************** *** 5595,5601 **** allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' fi fi ;; --- 5595,5601 ---- allow_undefined_flag='${wl}-berok' # This is a bit strange, but is similar to how AIX traditionally builds # it's shared libraries. ! archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; *************** *** 6142,6148 **** shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU ld.so' ;; freebsd*) --- 6142,6148 ---- shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ! dynamic_linker='GNU/FreeBSD ld.so' ;; freebsd*) *************** *** 6310,6315 **** --- 6310,6316 ---- osf3* | osf4* | osf5*) version_type=osf need_version=no + need_lib_prefix=no soname_spec='${libname}${release}.so$major' library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' shlibpath_var=LD_LIBRARY_PATH *************** *** 6856,6862 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <si_addr); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 8676,8681 **** --- 8679,8686 ---- { void *fault_address = (void *) (sc.cr2); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 8847,8852 **** --- 8852,8859 ---- { void *fault_address = (void *) (((unsigned long *) &more) [21]); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9020,9025 **** --- 9027,9034 ---- { void *fault_address = (void *) (get_fault_addr (scp)); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9191,9196 **** --- 9200,9207 ---- { void *fault_address = (void *) (scp->regs->dar); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9363,9368 **** --- 9374,9381 ---- { void *fault_address = (void *) (sip->si_ptr); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9532,9537 **** --- 9545,9552 ---- { void *fault_address = (void *) (addr); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9703,9708 **** --- 9718,9725 ---- { void *fault_address = (void *) ((unsigned long) scp->sc_badvaddr); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9884,9889 **** --- 9901,9908 ---- { void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 9965,9970 **** --- 9984,10162 ---- + echo "$as_me:$LINENO: checking whether a fault handler according to NetBSD Alpha works" >&5 + echo $ECHO_N "checking whether a fault handler according to NetBSD Alpha works... $ECHO_C" >&6 + if test "${sv_cv_fault_netbsd_alpha+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + if test "$cross_compiling" = yes; then + case "$host" in + alpha*-*-macos* | powerpc-*-netbsd*) sv_cv_fault_netbsd_alpha=yes ;; + *) + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + #include "confdefs.h" + + #include + #include "$srcdir/src/fault-netbsd-alpha.c" + void sigsegv_handler (int sig, int code, struct sigcontext *scp) + { + void *fault_address = (void *) (get_fault_addr (scp)); + } + + int + main () + { + struct sigaction action; + + ; + return 0; + } + _ACEOF + rm -f conftest.$ac_objext conftest$ac_exeext + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + sv_cv_fault_netbsd_alpha="guessing no" + else + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + sv_cv_fault_netbsd_alpha=no + fi + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + ;; + esac + + else + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + #include "confdefs.h" + + #include + #include + #if HAVE_SYS_SIGNAL_H + # include + #endif + #include "$srcdir/src/fault-netbsd-alpha.c" + #include + #include + #if HAVE_MMAP_DEVZERO + # include + # ifndef MAP_FILE + # define MAP_FILE 0 + # endif + #endif + #ifndef PROT_NONE + # define PROT_NONE 0 + #endif + #if HAVE_MMAP_ANON + # define zero_fd -1 + # define map_flags MAP_ANON | MAP_PRIVATE + #elif HAVE_MMAP_ANONYMOUS + # define zero_fd -1 + # define map_flags MAP_ANONYMOUS | MAP_PRIVATE + #elif HAVE_MMAP_DEVZERO + static int zero_fd; + # define map_flags MAP_FILE | MAP_PRIVATE + #endif + unsigned long page; + int handler_called = 0; + void sigsegv_handler (int sig, int code, struct sigcontext *scp) + { + void *fault_address = (void *) (get_fault_addr (scp)); + handler_called++; + if (handler_called == 10) + exit (4); + if (fault_address != (void*)(page + 0x678)) + exit (3); + if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) + exit (2); + } + void crasher (unsigned long p) + { + *(int *) (p + 0x678) = 42; + } + int main () + { + void *p; + struct sigaction action; + /* Preparations. */ + #if !HAVE_MMAP_ANON && !HAVE_MMAP_ANONYMOUS && HAVE_MMAP_DEVZERO + zero_fd = open ("/dev/zero", O_RDONLY, 0644); + #endif + /* Setup some mmaped memory. */ + #ifdef __hpux + /* HP-UX 10 mmap() often fails when given a hint. So give the OS complete + freedom about the address range. */ + p = mmap ((void *) 0, 0x10000, PROT_READ | PROT_WRITE, map_flags, zero_fd, 0); + #else + p = mmap ((void *) 0x12340000, 0x10000, PROT_READ | PROT_WRITE, map_flags, zero_fd, 0); + #endif + if (p == (void *)(-1)) + exit (2); + page = (unsigned long) p; + /* Make it read-only. */ + if (mprotect ((void *) page, 0x10000, PROT_READ) < 0) + exit (2); + /* Install the SIGSEGV handler. */ + sigemptyset(&action.sa_mask); + + action.sa_handler = (void (*) (int)) &sigsegv_handler; + action.sa_flags = 0; + + sigaction (SIGSEGV, &action, (struct sigaction *) NULL); + sigaction (SIGBUS, &action, (struct sigaction *) NULL); + /* The first write access should invoke the handler and then complete. */ + crasher (page); + /* The second write access should not invoke the handler. */ + crasher (page); + /* Check that the handler was called only once. */ + if (handler_called != 1) + exit (1); + /* Test passed! */ + return 0; + } + _ACEOF + rm -f conftest$ac_exeext + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + sv_cv_fault_netbsd_alpha=yes + else + echo "$as_me: program exited with status $ac_status" >&5 + echo "$as_me: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ( exit $ac_status ) + sv_cv_fault_netbsd_alpha=no + fi + rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + + fi + echo "$as_me:$LINENO: result: $sv_cv_fault_netbsd_alpha" >&5 + echo "${ECHO_T}$sv_cv_fault_netbsd_alpha" >&6 + + + + + + echo "$as_me:$LINENO: checking whether a fault handler according to OSF/1 Alpha works" >&5 echo $ECHO_N "checking whether a fault handler according to OSF/1 Alpha works... $ECHO_C" >&6 if test "${sv_cv_fault_osf_alpha+set}" = set; then *************** *** 10055,10060 **** --- 10247,10254 ---- { void *fault_address = (void *) (scp->sc_traparg_a0); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 10226,10231 **** --- 10420,10427 ---- { void *fault_address = (void *) (scp->sc_jmpbuf.jmp_context.o_vaddr); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 10397,10402 **** --- 10593,10600 ---- { void *fault_address = (void *) (get_fault_addr (scp)); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 10568,10573 **** --- 10766,10773 ---- { void *fault_address = (void *) (code); handler_called++; + if (handler_called == 10) + exit (4); if (fault_address != (void*)(page + 0x678)) exit (3); if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0) *************** *** 10673,10678 **** --- 10873,10884 ---- case "$host_cpu" in alpha*) CFG_FAULT=fault-osf-alpha.h ;; *) CFG_FAULT=fault-osf.h ;; + esac + FAULT_CONTEXT='struct sigcontext' + fi + if test -z "$CFG_FAULT" && test "$sv_cv_fault_netbsd_alpha" = yes; then + case "$host_cpu" in + alpha*) CFG_FAULT=fault-netbsd-alpha.h ;; esac FAULT_CONTEXT='struct sigcontext' fi diff -rNC3 smalltalk-2.1.2/sigsegv/configure.ac smalltalk-2.1.3/sigsegv/configure.ac *** smalltalk-2.1.2/sigsegv/configure.ac Fri May 9 11:52:39 2003 --- smalltalk-2.1.3/sigsegv/configure.ac Tue May 27 19:41:30 2003 *************** *** 73,79 **** dnl List of signals that are sent when an invalid virtual memory address dnl is accessed, or when the stack overflows. case "$host_os" in ! sunos4* | freebsd*) CFG_SIGNALS=signals-bsd.h ;; hpux*) CFG_SIGNALS=signals-hpux.h ;; --- 73,79 ---- dnl List of signals that are sent when an invalid virtual memory address dnl is accessed, or when the stack overflows. case "$host_os" in ! sunos4* | freebsd* | openbsd* | netbsd*) CFG_SIGNALS=signals-bsd.h ;; hpux*) CFG_SIGNALS=signals-hpux.h ;; *************** *** 163,168 **** --- 163,175 ---- [GET_CR21 (scp->sc_sl.sl_ss)]) dnl FIXME: Put in some more known values into the third argument. + SV_TRY_FAULT([NetBSD Alpha], sv_cv_fault_netbsd_alpha, + [alpha*-*-macos* | powerpc-*-netbsd*], + [#include "$srcdir/src/fault-netbsd-alpha.c"], + [int sig, int code, struct sigcontext *scp], + [get_fault_addr (scp)]) + + dnl FIXME: Put in some more known values into the third argument. SV_TRY_FAULT([OSF/1 Alpha], sv_cv_fault_osf_alpha, [alpha*-*-osf[4-9]* | alpha*-*-linux2.[4-9]*], [], *************** *** 223,228 **** --- 230,241 ---- case "$host_cpu" in alpha*) CFG_FAULT=fault-osf-alpha.h ;; *) CFG_FAULT=fault-osf.h ;; + esac + FAULT_CONTEXT='struct sigcontext' + fi + if test -z "$CFG_FAULT" && test "$sv_cv_fault_netbsd_alpha" = yes; then + case "$host_cpu" in + alpha*) CFG_FAULT=fault-netbsd-alpha.h ;; esac FAULT_CONTEXT='struct sigcontext' fi diff -rNC3 smalltalk-2.1.2/sigsegv/src/Makefile.am smalltalk-2.1.3/sigsegv/src/Makefile.am *** smalltalk-2.1.2/sigsegv/src/Makefile.am Fri May 9 11:26:41 2003 --- smalltalk-2.1.3/sigsegv/src/Makefile.am Tue May 27 19:41:28 2003 *************** *** 25,31 **** noinst_HEADERS = \ fault.h fault-aix.h fault-aix-powerpc.h fault-beos.h fault-beos-i386.h \ ! fault-bsd.h fault-freebsd-i386.h \ fault-hpux.h fault-hpux-hppa.h fault-hurd.h fault-irix.h fault-irix-mips.h \ fault-linux.h fault-linux-alpha.h fault-linux-arm.h fault-linux-cris.h \ fault-linux-hppa.h fault-linux-i386.h fault-linux-i386-old.h \ --- 25,31 ---- noinst_HEADERS = \ fault.h fault-aix.h fault-aix-powerpc.h fault-beos.h fault-beos-i386.h \ ! fault-bsd.h fault-freebsd-i386.h fault-netbsd-alpha.h fault-netbsd-alpha.c \ fault-hpux.h fault-hpux-hppa.h fault-hurd.h fault-irix.h fault-irix-mips.h \ fault-linux.h fault-linux-alpha.h fault-linux-arm.h fault-linux-cris.h \ fault-linux-hppa.h fault-linux-i386.h fault-linux-i386-old.h \ diff -rNC3 smalltalk-2.1.2/sigsegv/src/Makefile.in smalltalk-2.1.3/sigsegv/src/Makefile.in *** smalltalk-2.1.2/sigsegv/src/Makefile.in Fri May 9 11:58:34 2003 --- smalltalk-2.1.3/sigsegv/src/Makefile.in Tue May 27 19:49:30 2003 *************** *** 135,141 **** noinst_HEADERS = \ fault.h fault-aix.h fault-aix-powerpc.h fault-beos.h fault-beos-i386.h \ ! fault-bsd.h fault-freebsd-i386.h \ fault-hpux.h fault-hpux-hppa.h fault-hurd.h fault-irix.h fault-irix-mips.h \ fault-linux.h fault-linux-alpha.h fault-linux-arm.h fault-linux-cris.h \ fault-linux-hppa.h fault-linux-i386.h fault-linux-i386-old.h \ --- 135,141 ---- noinst_HEADERS = \ fault.h fault-aix.h fault-aix-powerpc.h fault-beos.h fault-beos-i386.h \ ! fault-bsd.h fault-freebsd-i386.h fault-netbsd-alpha.h fault-netbsd-alpha.c \ fault-hpux.h fault-hpux-hppa.h fault-hurd.h fault-irix.h fault-irix-mips.h \ fault-linux.h fault-linux-alpha.h fault-linux-arm.h fault-linux-cris.h \ fault-linux-hppa.h fault-linux-i386.h fault-linux-i386-old.h \ diff -rNC3 smalltalk-2.1.2/sigsegv/src/dispatcher.c smalltalk-2.1.3/sigsegv/src/dispatcher.c *** smalltalk-2.1.2/sigsegv/src/dispatcher.c Thu Aug 29 20:26:39 2002 --- smalltalk-2.1.3/sigsegv/src/dispatcher.c Tue May 27 19:41:28 2003 *************** *** 118,124 **** static node_t * insert (node_t *new_node, node_t *tree) { ! unsigned int key = new_node->address; node_t **nodeplace = &tree; node_t **stack[MAXHEIGHT]; unsigned int stack_count = 0; --- 118,124 ---- static node_t * insert (node_t *new_node, node_t *tree) { ! unsigned long key = new_node->address; node_t **nodeplace = &tree; node_t **stack[MAXHEIGHT]; unsigned int stack_count = 0; diff -rNC3 smalltalk-2.1.2/sigsegv/src/fault-netbsd-alpha.c smalltalk-2.1.3/sigsegv/src/fault-netbsd-alpha.c *** smalltalk-2.1.2/sigsegv/src/fault-netbsd-alpha.c Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/sigsegv/src/fault-netbsd-alpha.c Tue May 27 19:41:28 2003 *************** *** 0 **** --- 1,32 ---- + /* Fault handler information subroutine. NetBSD/Alpha version. + * Taken from gcc-3.3/boehm-gc/os_dep.c. + * + * Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers + * Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved. + * Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved. + * Copyright (c) 1999 by Hewlett-Packard Company. All rights reserved. + * + * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + * + * Permission is hereby granted to use or copy this program + * for any purpose, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + */ + + /* Decodes the machine instruction which was responsible for the sending of the + SIGBUS signal. Luckily this is much easier than, say, on the PowerPC. */ + + static void * + get_fault_addr(struct sigcontext *scp) + { + unsigned int instr; + unsigned long faultaddr; + + instr = *((unsigned int *)(scp->sc_pc)); + faultaddr = scp->sc_regs[(instr >> 16) & 0x1f]; + faultaddr += (unsigned long) (((int)instr << 16) >> 16); + return (void *)faultaddr; + } diff -rNC3 smalltalk-2.1.2/sigsegv/src/fault-netbsd-alpha.h smalltalk-2.1.3/sigsegv/src/fault-netbsd-alpha.h *** smalltalk-2.1.2/sigsegv/src/fault-netbsd-alpha.h Thu Jan 1 01:00:00 1970 --- smalltalk-2.1.3/sigsegv/src/fault-netbsd-alpha.h Tue May 27 19:41:28 2003 *************** *** 0 **** --- 1,26 ---- + /* Fault handler information. NetBSD/Alpha version. + Copyright (C) 2003 Paolo Bonzini + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + + /* NetBSD's sc_sp field depends on machine/reg.h's definition of R_SP. */ + #include + + #include "fault-netbsd-alpha.c" + + #define SIGSEGV_FAULT_HANDLER_ARGLIST int sig, int code, struct sigcontext *scp + #define SIGSEGV_FAULT_ADDRESS ((unsigned long) get_fault_addr (scp)) + #define SIGSEGV_FAULT_CONTEXT scp + #define SIGSEGV_FAULT_STACKPOINTER ((unsigned int *) scp->sc_sp) diff -rNC3 smalltalk-2.1.2/snprintfv/ChangeLog smalltalk-2.1.3/snprintfv/ChangeLog *** smalltalk-2.1.2/snprintfv/ChangeLog Thu May 8 10:07:36 2003 --- smalltalk-2.1.3/snprintfv/ChangeLog Sat Jun 28 15:52:27 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-03-20 Paolo Bonzini *** Version 1.0-pre released. diff -rNC3 smalltalk-2.1.2/snprintfv/Makefile.am smalltalk-2.1.3/snprintfv/Makefile.am *** smalltalk-2.1.2/snprintfv/Makefile.am Wed Mar 26 20:57:09 2003 --- smalltalk-2.1.3/snprintfv/Makefile.am Tue Jun 24 23:44:40 2003 *************** *** 27,32 **** --- 27,33 ---- ## Code: AUTOMAKE_OPTIONS = gnits + ACLOCAL_AMFLAGS = -I ../config dist-hook: if SUBDIR_SNPRINTFV diff -rNC3 smalltalk-2.1.2/snprintfv/snprintfv/format.c smalltalk-2.1.3/snprintfv/snprintfv/format.c *** smalltalk-2.1.2/snprintfv/snprintfv/format.c Fri Apr 4 05:41:11 2003 --- smalltalk-2.1.3/snprintfv/snprintfv/format.c Thu Jun 19 12:54:31 2003 *************** *** 80,97 **** fetch_intmax (struct printf_info *pinfo, union printf_arg const *arg) { if (pinfo->is_long_double) ! return (intmax_t) arg->pa_long_long_int; if (pinfo->is_long) ! return (intmax_t) arg->pa_long_int; if (pinfo->is_short) ! return (intmax_t) arg->pa_short_int; if (pinfo->is_char) ! return (intmax_t) arg->pa_char; ! return (intmax_t) arg->pa_int; } static snv_long_double --- 80,97 ---- fetch_intmax (struct printf_info *pinfo, union printf_arg const *arg) { if (pinfo->is_long_double) ! return (intmax_t) (signed long long) arg->pa_long_long_int; if (pinfo->is_long) ! return (intmax_t) (signed long) arg->pa_long_int; if (pinfo->is_short) ! return (intmax_t) (signed short) arg->pa_short_int; if (pinfo->is_char) ! return (intmax_t) (signed char) arg->pa_char; ! return (intmax_t) (signed int) arg->pa_int; } static snv_long_double diff -rNC3 smalltalk-2.1.2/tcp/ChangeLog smalltalk-2.1.3/tcp/ChangeLog *** smalltalk-2.1.2/tcp/ChangeLog Fri May 9 09:26:27 2003 --- smalltalk-2.1.3/tcp/ChangeLog Sat Jun 28 15:52:30 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released. diff -rNC3 smalltalk-2.1.2/tcp/Makefile.in smalltalk-2.1.3/tcp/Makefile.in *** smalltalk-2.1.2/tcp/Makefile.in Fri May 9 11:59:11 2003 --- smalltalk-2.1.3/tcp/Makefile.in Sun Jun 22 13:38:14 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ *************** *** 266,298 **** -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --- 269,304 ---- -rm -rf ./$(DEPDIR) .c.o: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: ! @am__fastdepCC_TRUE@ @echo '$(COMPILE)' -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'` .c.lo: ! @am__fastdepCC_TRUE@ @echo '$(LTCOMPILE)' -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ ! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ ! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ ! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ ! @am__fastdepCC_TRUE@ fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ diff -rNC3 smalltalk-2.1.2/tests/Makefile.in smalltalk-2.1.3/tests/Makefile.in *** smalltalk-2.1.2/tests/Makefile.in Fri May 9 13:10:58 2003 --- smalltalk-2.1.3/tests/Makefile.in Sun Jun 22 13:38:15 2003 *************** *** 74,79 **** --- 74,81 ---- GTK_LIBS = @GTK_LIBS@ HAVE_GTK_FALSE = @HAVE_GTK_FALSE@ HAVE_GTK_TRUE = @HAVE_GTK_TRUE@ + HAVE_INSTALLED_LIGHTNING_FALSE = @HAVE_INSTALLED_LIGHTNING_FALSE@ + HAVE_INSTALLED_LIGHTNING_TRUE = @HAVE_INSTALLED_LIGHTNING_TRUE@ HAVE_SIGSEGV_FALSE = @HAVE_SIGSEGV_FALSE@ HAVE_SIGSEGV_TRUE = @HAVE_SIGSEGV_TRUE@ I18N_DISABLED = @I18N_DISABLED@ *************** *** 101,106 **** --- 103,109 ---- LIGHTNING_MAIN_TRUE = @LIGHTNING_MAIN_TRUE@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ + LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ MAINTAINER = @MAINTAINER@ MAKEINFO = @MAKEINFO@ diff -rNC3 smalltalk-2.1.2/xml/ChangeLog smalltalk-2.1.3/xml/ChangeLog *** smalltalk-2.1.2/xml/ChangeLog Fri May 9 09:27:02 2003 --- smalltalk-2.1.3/xml/ChangeLog Sat Jun 28 15:52:42 2003 *************** *** 1,3 **** --- 1,7 ---- + 2003-06-28 Paolo Bonzini + + *** Version 2.1.3 released. + 2003-05-09 Paolo Bonzini *** Version 2.1.2 released.