head 1.2; access; symbols netbsd-11-0-RC5:1.1.1.4.2.1 netbsd-11-0-RC4:1.1.1.4 netbsd-11-0-RC3:1.1.1.4 netbsd-11-0-RC2:1.1.1.4 netbsd-11-0-RC1:1.1.1.4 perseant-exfatfs-base-20250801:1.1.1.4 netbsd-11:1.1.1.4.0.2 netbsd-11-base:1.1.1.4 expat-2-7-1:1.1.1.4 expat-2-7-0:1.1.1.4 netbsd-10-1-RELEASE:1.1.1.3 perseant-exfatfs-base-20240630:1.1.1.3 perseant-exfatfs:1.1.1.3.0.24 perseant-exfatfs-base:1.1.1.3 netbsd-8-3-RELEASE:1.1.1.3 netbsd-9-4-RELEASE:1.1.1.3 netbsd-10-0-RELEASE:1.1.1.3 netbsd-10-0-RC6:1.1.1.3 netbsd-10-0-RC5:1.1.1.3 netbsd-10-0-RC4:1.1.1.3 netbsd-10-0-RC3:1.1.1.3 netbsd-10-0-RC2:1.1.1.3 netbsd-10-0-RC1:1.1.1.3 netbsd-10:1.1.1.3.0.22 netbsd-10-base:1.1.1.3 netbsd-9-3-RELEASE:1.1.1.3 expat-2-4-6:1.1.1.3 cjep_sun2x-base1:1.1.1.3 cjep_sun2x:1.1.1.3.0.20 cjep_sun2x-base:1.1.1.3 cjep_staticlib_x-base1:1.1.1.3 netbsd-9-2-RELEASE:1.1.1.3 cjep_staticlib_x:1.1.1.3.0.18 cjep_staticlib_x-base:1.1.1.3 netbsd-9-1-RELEASE:1.1.1.3 phil-wifi-20200421:1.1.1.3 phil-wifi-20200411:1.1.1.3 is-mlppp:1.1.1.3.0.16 is-mlppp-base:1.1.1.3 phil-wifi-20200406:1.1.1.3 netbsd-8-2-RELEASE:1.1.1.3 netbsd-9-0-RELEASE:1.1.1.3 netbsd-9-0-RC2:1.1.1.3 netbsd-9-0-RC1:1.1.1.3 phil-wifi-20191119:1.1.1.3 expat-2-2-8:1.1.1.3 netbsd-9:1.1.1.3.0.14 netbsd-9-base:1.1.1.3 phil-wifi-20190609:1.1.1.3 netbsd-8-1-RELEASE:1.1.1.3 netbsd-8-1-RC1:1.1.1.3 pgoyette-compat-merge-20190127:1.1.1.3 pgoyette-compat-20190127:1.1.1.3 pgoyette-compat-20190118:1.1.1.3 pgoyette-compat-1226:1.1.1.3 pgoyette-compat-1126:1.1.1.3 pgoyette-compat-1020:1.1.1.3 pgoyette-compat-0930:1.1.1.3 pgoyette-compat-0906:1.1.1.3 netbsd-7-2-RELEASE:1.1.1.1.12.2 pgoyette-compat-0728:1.1.1.3 netbsd-8-0-RELEASE:1.1.1.3 phil-wifi:1.1.1.3.0.12 phil-wifi-base:1.1.1.3 pgoyette-compat-0625:1.1.1.3 netbsd-8-0-RC2:1.1.1.3 pgoyette-compat-0521:1.1.1.3 pgoyette-compat-0502:1.1.1.3 pgoyette-compat-0422:1.1.1.3 netbsd-8-0-RC1:1.1.1.3 pgoyette-compat-0415:1.1.1.3 pgoyette-compat-0407:1.1.1.3 pgoyette-compat-0330:1.1.1.3 pgoyette-compat-0322:1.1.1.3 pgoyette-compat-0315:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.1.12.2 pgoyette-compat:1.1.1.3.0.10 pgoyette-compat-base:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.1.12.2 matt-nb8-mediatek:1.1.1.3.0.8 matt-nb8-mediatek-base:1.1.1.3 perseant-stdc-iso10646:1.1.1.3.0.6 perseant-stdc-iso10646-base:1.1.1.3 expat-2-2-1:1.1.1.3 netbsd-8:1.1.1.3.0.4 netbsd-8-base:1.1.1.3 prg-localcount2-base3:1.1.1.3 prg-localcount2-base2:1.1.1.3 prg-localcount2-base1:1.1.1.3 prg-localcount2:1.1.1.3.0.2 prg-localcount2-base:1.1.1.3 pgoyette-localcount-20170426:1.1.1.3 bouyer-socketcan-base1:1.1.1.3 pgoyette-localcount-20170320:1.1.1.3 netbsd-7-1:1.1.1.1.12.2.0.2 netbsd-7-1-RELEASE:1.1.1.1.12.2 netbsd-7-1-RC2:1.1.1.1.12.2 expat-2-2-0:1.1.1.3 netbsd-7-nhusb-base-20170116:1.1.1.1.12.1 bouyer-socketcan:1.1.1.2.0.10 bouyer-socketcan-base:1.1.1.2 pgoyette-localcount-20170107:1.1.1.2 netbsd-7-1-RC1:1.1.1.1.12.1 pgoyette-localcount-20161104:1.1.1.2 netbsd-7-0-2-RELEASE:1.1.1.1.14.1 localcount-20160914:1.1.1.2 netbsd-7-nhusb:1.1.1.1.12.1.0.2 netbsd-7-nhusb-base:1.1.1.1.12.1 pgoyette-localcount-20160806:1.1.1.2 pgoyette-localcount-20160726:1.1.1.2 pgoyette-localcount:1.1.1.2.0.8 pgoyette-localcount-base:1.1.1.2 netbsd-7-0-1-RELEASE:1.1.1.1.14.1 netbsd-6:1.1.1.2.0.6 netbsd-6-1:1.1.1.2.0.4 netbsd-6-0:1.1.1.2.0.2 expat-2-1-1:1.1.1.2 netbsd-7-0:1.1.1.1.0.14 netbsd-7-0-RELEASE:1.1.1.1 netbsd-7-0-RC3:1.1.1.1 netbsd-7-0-RC2:1.1.1.1 netbsd-7-0-RC1:1.1.1.1 netbsd-7:1.1.1.1.0.12 netbsd-7-base:1.1.1.1 yamt-pagecache-base9:1.1.1.1 yamt-pagecache-tag8:1.1.1.1.2.2 tls-earlyentropy:1.1.1.1.0.10 tls-earlyentropy-base:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1 riastradh-drm2-base3:1.1.1.1 riastradh-drm2-base2:1.1.1.1 riastradh-drm2-base1:1.1.1.1 riastradh-drm2:1.1.1.1.0.6 riastradh-drm2-base:1.1.1.1 agc-symver:1.1.1.1.0.8 agc-symver-base:1.1.1.1 yamt-pagecache-base8:1.1.1.1 yamt-pagecache-base7:1.1.1.1 yamt-pagecache-base6:1.1.1.1 tls-maxphys:1.1.1.1.0.4 tls-maxphys-base:1.1.1.1 yamt-pagecache-base5:1.1.1.1 yamt-pagecache:1.1.1.1.0.2 yamt-pagecache-base4:1.1.1.1 expat-2-1-0:1.1.1.1 expat:1.1.1; locks; strict; comment @# @; 1.2 date 2026.06.13.16.50.54; author jdc; state dead; branches; next 1.1; commitid Fg5Ae2fwu3t5TEJG; 1.1 date 2012.04.06.10.23.20; author spz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.04.06.10.23.20; author spz; state Exp; branches 1.1.1.1.2.1 1.1.1.1.12.1 1.1.1.1.14.1; next 1.1.1.2; 1.1.1.2 date 2016.05.14.14.30.34; author spz; state Exp; branches 1.1.1.2.2.1 1.1.1.2.4.1 1.1.1.2.6.1 1.1.1.2.8.1 1.1.1.2.10.1; next 1.1.1.3; commitid t3RrSVHO5XBpss6z; 1.1.1.3 date 2017.02.04.10.16.01; author spz; state Exp; branches 1.1.1.3.24.1; next 1.1.1.4; commitid B9FyZD57dziavCEz; 1.1.1.4 date 2025.03.14.21.23.34; author wiz; state Exp; branches 1.1.1.4.2.1; next ; commitid uDg3iV45APhk35NF; 1.1.1.1.2.1 date 2012.04.06.10.23.20; author yamt; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2012.04.17.00.04.44; author yamt; state Exp; branches; next ; 1.1.1.1.12.1 date 2016.05.18.09.14.15; author snj; state Exp; branches 1.1.1.1.12.1.2.1; next 1.1.1.1.12.2; commitid L9D8vOB1Fk8fAW6z; 1.1.1.1.12.2 date 2017.02.19.04.53.24; author snj; state Exp; branches; next ; commitid 818vp37ghTFMewGz; 1.1.1.1.12.1.2.1 date 2017.03.13.07.41.24; author skrll; state Exp; branches; next ; commitid vH6VFbpxnMy7rmJz; 1.1.1.1.14.1 date 2016.05.18.09.15.16; author snj; state Exp; branches; next 1.1.1.1.14.2; commitid QP6HLZ4lDbRvAW6z; 1.1.1.1.14.2 date 2017.02.19.04.52.28; author snj; state Exp; branches; next ; commitid R7ppK1AfEy3newGz; 1.1.1.2.2.1 date 2016.05.14.14.30.34; author snj; state dead; branches; next 1.1.1.2.2.2; commitid sn3ewMlOwSnM3X6z; 1.1.1.2.2.2 date 2016.05.18.10.40.43; author snj; state Exp; branches; next 1.1.1.2.2.3; commitid sn3ewMlOwSnM3X6z; 1.1.1.2.2.3 date 2017.02.19.07.25.36; author snj; state Exp; branches; next ; commitid jAh0mhd653b05xGz; 1.1.1.2.4.1 date 2016.05.14.14.30.34; author snj; state dead; branches; next 1.1.1.2.4.2; commitid 5xlzCAOqLNUu5X6z; 1.1.1.2.4.2 date 2016.05.18.10.45.14; author snj; state Exp; branches; next 1.1.1.2.4.3; commitid 5xlzCAOqLNUu5X6z; 1.1.1.2.4.3 date 2017.02.19.07.26.20; author snj; state Exp; branches; next ; commitid Dgy5ClmXEzfe5xGz; 1.1.1.2.6.1 date 2016.05.14.14.30.34; author snj; state dead; branches; next 1.1.1.2.6.2; commitid rBQKbLw2qANU6X6z; 1.1.1.2.6.2 date 2016.05.18.10.49.23; author snj; state Exp; branches; next 1.1.1.2.6.3; commitid rBQKbLw2qANU6X6z; 1.1.1.2.6.3 date 2017.02.19.07.28.11; author snj; state Exp; branches; next ; commitid idwY0ZKxoPwU5xGz; 1.1.1.2.8.1 date 2017.03.20.06.56.46; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.1.1.2.10.1 date 2017.04.21.16.52.57; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.1.1.3.24.1 date 2025.08.02.05.50.32; author perseant; state Exp; branches; next ; commitid 23j6GFaDws3O875G; 1.1.1.4.2.1 date 2026.06.16.08.23.23; author martin; state dead; branches; next ; commitid CEh2BY99NRqLYZJG; desc @@ 1.2 log @Merge expat 2.8.1 @ text @# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@@<:@@=PKGS@@:>@@], [build shared libraries @@<:@@default=]_LT_ENABLE_SHARED_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@@<:@@=PKGS@@:>@@], [build static libraries @@<:@@default=]_LT_ENABLE_STATIC_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@@<:@@=PKGS@@:>@@], [optimize for fast installation @@<:@@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--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=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @import of expat 2.1.0 Fixes CVE-2012-1147, CVE-2012-1148 and CVE-2012-0876 (other security issues have been previously fixed in our tree) relevant Changes: Release 2.1.0 Sat March 24 2012 - Bug Fixes: #1742315: Harmful XML_ParserCreateNS suggestion. #2895533: CVE-2012-1147 - Resource leak in readfilemap.c. #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3. #1983953, 2517952, 2517962, 2649838: Build modifications using autoreconf instead of buildconf.sh. #2815947, #2884086: OBJEXT and EXEEXT support while building. #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences. #2517938: xmlwf should return non-zero exit status if not well-formed. #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml. #2855609: Dangling positionPtr after error. #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8(). #2958794: CVE-2012-1148 - Memory leak in poolGrow. #2990652: CMake support. #3010819: UNEXPECTED_STATE with a trailing "%" in entity value. #3206497: Unitialized memory returned from XML_Parse. #3287849: make check fails on mingw-w64. #3496608: CVE-2012-0876 - Hash DOS attack. - Patches: #1749198: pkg-config support. #3010222: Fix for bug #3010819. #3312568: CMake support. #3446384: Report byte offsets for attr names and values. - New Features / API changes: Added new API member XML_SetHashSalt() that allows setting an intial value (salt) for hash calculations. This is part of the fix for bug #3496608 to randomize hash parameters. When compiled with XML_ATTR_INFO defined, adds new API member XML_GetAttributeInfo() that allows retrieving the byte offsets for attribute names and values (patch #3446384). Added CMake build system. See bug #2990652 and patch #3312568. Added run-benchmark target to Makefile.in - relies on testdata module present in the same relative location as in the repository. @ text @@ 1.1.1.1.14.1 log @Pull up following revision(s) (requested by spz in ticket #1169): distrib/sets/lists/base/ad.aarch64: patch distrib/sets/lists/base/ad.arm: patch distrib/sets/lists/base/ad.mips: patch distrib/sets/lists/base/ad.powerpc: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/mi: 1.2035 distrib/sets/lists/debug/ad.aarch64: patch distrib/sets/lists/debug/ad.arm: patch distrib/sets/lists/debug/ad.mips: patch distrib/sets/lists/debug/ad.powerpc: patch distrib/sets/lists/debug/md.amd64: patch distrib/sets/lists/debug/md.sparc64: patch distrib/sets/lists/debug/shl.mi: 1.133, 1.134 via patch doc/3RDPARTY: 1.1316, 1.1330 external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @d329 1 a329 1 [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], d331 1 a331 16 [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], @ 1.1.1.1.14.2 log @Pull up following revision(s) (requested by spz in ticket #1361): doc/3RDPARTY: 1.398, 1.1407 external/mit/expat/dist/CMake.README: up to 1.1.1.3 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.3 external/mit/expat/dist/COPYING: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.4 external/mit/expat/dist/MANIFEST: up to 1.1.1.4 external/mit/expat/dist/Makefile.in: up to 1.1.1.4 external/mit/expat/dist/README: up to 1.1.1.4 external/mit/expat/dist/aclocal.m4: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/xmlwf.mak: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.4 external/mit/expat/dist/configure.ac: up to 1.1.1.2 external/mit/expat/dist/conftools/config.guess: up to 1.3 external/mit/expat/dist/conftools/config.sub: up to 1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.4 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.4 external/mit/expat/dist/doc/expat.png: up to 1.1.1.2 external/mit/expat/dist/doc/valid-xhtml10.png: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.sgml delete external/mit/expat/dist/doc/xmlwf.xml: up to 1.1.1.1 external/mit/expat/dist/examples/elements.c: up to 1.1.1.3 external/mit/expat/dist/examples/outline.c: up to 1.1.1.2 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.4 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expat.h: up to 1.1.1.4 external/mit/expat/dist/lib/expat_external.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/internal.h: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.6 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.3 external/mit/expat/dist/lib/xmltok.c: up to 1.3 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.5 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.3 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.3 external/mit/expat/dist/tests/minicheck.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.3 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.3 external/mit/expat/dist/tests/xmltest.sh: up to 1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.3 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.4 external/mit/expat/dist/xmlwf/codepage.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/readfilemap.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlfile.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.4 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.3 external/mit/expat/lib/libexpat/expat_config.h: up to 1.4 Update expat to 2.2.0, fixing CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, and CVE-2012-6702. @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.1.12.1 log @Pull up following revision(s) (requested by spz in ticket #1169): distrib/sets/lists/base/ad.aarch64: patch distrib/sets/lists/base/ad.arm: patch distrib/sets/lists/base/ad.mips: patch distrib/sets/lists/base/ad.powerpc: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/mi: 1.2035 distrib/sets/lists/debug/ad.aarch64: patch distrib/sets/lists/debug/ad.arm: patch distrib/sets/lists/debug/ad.mips: patch distrib/sets/lists/debug/ad.powerpc: patch distrib/sets/lists/debug/md.amd64: patch distrib/sets/lists/debug/md.sparc64: patch distrib/sets/lists/debug/shl.mi: 1.133, 1.134 via patch doc/3RDPARTY: 1.1316, 1.1330 external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @d329 1 a329 1 [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], d331 1 a331 16 [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], @ 1.1.1.1.12.1.2.1 log @Sync with netbsd-7-1-RELEASE @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.1.12.2 log @Pull up following revision(s) (requested by spz in ticket #1361): doc/3RDPARTY: 1.398, 1.1407 external/mit/expat/dist/CMake.README: up to 1.1.1.3 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.3 external/mit/expat/dist/COPYING: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.4 external/mit/expat/dist/MANIFEST: up to 1.1.1.4 external/mit/expat/dist/Makefile.in: up to 1.1.1.4 external/mit/expat/dist/README: up to 1.1.1.4 external/mit/expat/dist/aclocal.m4: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/xmlwf.mak: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.4 external/mit/expat/dist/configure.ac: up to 1.1.1.2 external/mit/expat/dist/conftools/config.guess: up to 1.3 external/mit/expat/dist/conftools/config.sub: up to 1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.4 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.4 external/mit/expat/dist/doc/expat.png: up to 1.1.1.2 external/mit/expat/dist/doc/valid-xhtml10.png: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.sgml delete external/mit/expat/dist/doc/xmlwf.xml: up to 1.1.1.1 external/mit/expat/dist/examples/elements.c: up to 1.1.1.3 external/mit/expat/dist/examples/outline.c: up to 1.1.1.2 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.4 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expat.h: up to 1.1.1.4 external/mit/expat/dist/lib/expat_external.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/internal.h: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.6 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.3 external/mit/expat/dist/lib/xmltok.c: up to 1.3 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.5 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.3 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.3 external/mit/expat/dist/tests/minicheck.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.3 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.3 external/mit/expat/dist/tests/xmltest.sh: up to 1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.3 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.4 external/mit/expat/dist/xmlwf/codepage.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/readfilemap.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlfile.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.4 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.3 external/mit/expat/lib/libexpat/expat_config.h: up to 1.4 Update expat to 2.2.0, fixing CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, and CVE-2012-6702. @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.2 log @Import of a new expat version. Upstream Changes: Release 2.1.1 Sat March 12 2016 Security fixes: #582: CVE-2015-1283 - Multiple integer overflows in XML_GetBuffer Bug fixes: #502: Fix potential null pointer dereference #520: Symbol XML_SetHashSalt was not exported Output of "xmlwf -h" was incomplete Other changes #503: Document behavior of calling XML_SetHashSalt with salt 0 Minor improvements to man page xmlwf(1) Improvements to the experimental CMake build system libtool now invoked with --verbose @ text @d329 1 a329 1 [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], d331 1 a331 16 [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], @ 1.1.1.2.10.1 log @Sync with HEAD @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.2.8.1 log @Sync with HEAD @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.3 log @from Changes: Release 2.2.0 Tue June 21 2016 Security fixes: #537 CVE-2016-0718 -- Fix crash on malformed input CVE-2016-4472 -- Improve insufficient fix to CVE-2015-1283 / CVE-2015-2716 introduced with Expat 2.1.1 #499 CVE-2016-5300 -- Use more entropy for hash initialization than the original fix to CVE-2012-0876 #519 CVE-2012-6702 -- Resolve troublesome internal call to srand that was introduced with Expat 2.1.0 when addressing CVE-2012-0876 (issue #496) Bug fixes: Fix uninitialized reads of size 1 (e.g. in little2_updatePosition) Fix detection of UTF-8 character boundaries Other changes: #532 Fix compilation for Visual Studio 2010 (keyword "C99") Autotools: Resolve use of "$<" to better support bmake Autotools: Add QA script "qa.sh" (and make target "qa") Autotools: Respect CXXFLAGS if given Autotools: Fix "make run-xmltest" Autotools: Have "make run-xmltest" check for expected output p90 CMake: Fix static build (BUILD_shared=OFF) on Windows #536 CMake: Add soversion, support -DNO_SONAME=yes to bypass #323 CMake: Add suffix "d" to differentiate debug from release CMake: Define WIN32 with CMake on Windows Annotate memory allocators for GCC Address all currently known compile warnings Make sure that API symbols remain visible despite -fvisibility=hidden Remove executable flag from source files Resolve COMPILED_FROM_DSP in favor of WIN32 @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.3.24.1 log @Sync with HEAD @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2024 Free # Software Foundation, Inc. d11 1 a11 1 # serial 10 ltoptions.m4 d131 1 a131 1 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*) d326 3 a328 3 # implement the --enable-aix-soname configure option, and support the # `aix-soname=aix' and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. # DEFAULT is either `aix', `both', or `svr4'. If omitted, it defaults to `aix'. d335 2 a336 2 AC_ARG_ENABLE([aix-soname], [AS_HELP_STRING([--enable-aix-soname=aix|svr4|both], d338 11 a348 21 [case $enableval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --enable-aix-soname]) ;; esac lt_cv_with_aix_soname=$enable_aix_soname], [_AC_ENABLE_IF([with], [aix-soname], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)]) enable_aix_soname=$lt_cv_with_aix_soname]) with_aix_soname=$enable_aix_soname d379 1 a379 1 # implement the --enable-pic flag, and support the 'pic-only' and 'no-pic' d383 2 a384 2 [AC_ARG_ENABLE([pic], [AS_HELP_STRING([--enable-pic@@<:@@=PKGS@@:>@@], d387 16 a402 36 case $enableval in yes|no) pic_mode=$enableval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $enableval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [dnl Continue to support --with-pic and --without-pic, for backward dnl compatibility. _AC_ENABLE_IF([with], [pic], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])])] ) @ 1.1.1.4 log @Import expat 2.7.0 @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2024 Free # Software Foundation, Inc. d11 1 a11 1 # serial 10 ltoptions.m4 d131 1 a131 1 *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*) d326 3 a328 3 # implement the --enable-aix-soname configure option, and support the # `aix-soname=aix' and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. # DEFAULT is either `aix', `both', or `svr4'. If omitted, it defaults to `aix'. d335 2 a336 2 AC_ARG_ENABLE([aix-soname], [AS_HELP_STRING([--enable-aix-soname=aix|svr4|both], d338 11 a348 21 [case $enableval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --enable-aix-soname]) ;; esac lt_cv_with_aix_soname=$enable_aix_soname], [_AC_ENABLE_IF([with], [aix-soname], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)]) enable_aix_soname=$lt_cv_with_aix_soname]) with_aix_soname=$enable_aix_soname d379 1 a379 1 # implement the --enable-pic flag, and support the 'pic-only' and 'no-pic' d383 2 a384 2 [AC_ARG_ENABLE([pic], [AS_HELP_STRING([--enable-pic@@<:@@=PKGS@@:>@@], d387 16 a402 36 case $enableval in yes|no) pic_mode=$enableval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $enableval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [dnl Continue to support --with-pic and --without-pic, for backward dnl compatibility. _AC_ENABLE_IF([with], [pic], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])])] ) @ 1.1.1.4.2.1 log @Pull up the following revisions, requested by jdc in ticket #311: external/mit/expat/dist/lib/libexpat.map.in up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random.c up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random.h up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random_buf.c up to 1.1.1.1 external/mit/expat/dist/lib/random_arc4random_buf.h up to 1.1.1.1 external/mit/expat/dist/lib/random_dev_urandom.c up to 1.1.1.1 external/mit/expat/dist/lib/random_dev_urandom.h up to 1.1.1.1 external/mit/expat/dist/lib/random_getentropy.c up to 1.1.1.1 external/mit/expat/dist/lib/random_getentropy.h up to 1.1.1.1 external/mit/expat/dist/lib/random_getrandom.c up to 1.1.1.1 external/mit/expat/dist/lib/random_getrandom.h up to 1.1.1.1 external/mit/expat/dist/lib/random_rand_s.c up to 1.1.1.1 external/mit/expat/dist/lib/random_rand_s.h up to 1.1.1.1 external/mit/expat/dist/coverage.sh up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__linux.cmake.in up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__macos.cmake.in up to 1.1.1.1 external/mit/expat/dist/cmake/autotools/expat__windows.cmake.in up to 1.1.1.1 external/mit/expat/dist/qa.sh up to 1.1.1.1 external/mit/expat/dist/gennmtab/gennmtab.c up to 1.1.1.1 external/mit/expat/dist/.clang-format up to 1.1.1.1 external/mit/expat/dist/apply-clang-format.sh up to 1.1.1.1 external/mit/expat/dist/apply-clang-tidy.sh up to 1.1.1.1 external/mit/expat/dist/clean_coverage.sh up to 1.1.1.1 external/mit/expat/dist/configure-ac-style.md up to 1.1.1.1 external/mit/expat/dist/distribute.sh up to 1.1.1.1 external/mit/expat/dist/memory-sanitizer-blacklist.txt up to 1.1.1.1 external/mit/expat/dist/Makefile.in delete external/mit/expat/dist/aclocal.m4 delete external/mit/expat/dist/configure delete external/mit/expat/dist/expat_config.h.in delete external/mit/expat/dist/cmake/autotools/expat.cmake delete external/mit/expat/dist/conftools/compile delete external/mit/expat/dist/conftools/ar-lib delete external/mit/expat/dist/conftools/config.guess delete external/mit/expat/dist/conftools/config.sub delete external/mit/expat/dist/conftools/depcomp delete external/mit/expat/dist/conftools/expat.m4 delete external/mit/expat/dist/conftools/missing delete external/mit/expat/dist/conftools/install-sh delete external/mit/expat/dist/conftools/ltmain.sh delete external/mit/expat/dist/conftools/test-driver delete external/mit/expat/dist/doc/Makefile.in delete external/mit/expat/dist/doc/xmlwf.1 delete external/mit/expat/dist/examples/Makefile.in delete external/mit/expat/dist/lib/Makefile.in delete external/mit/expat/dist/m4/libtool.m4 delete external/mit/expat/dist/m4/ltoptions.m4 delete external/mit/expat/dist/m4/ltsugar.m4 delete external/mit/expat/dist/m4/ltversion.m4 delete external/mit/expat/dist/m4/lt~obsolete.m4 delete external/mit/expat/dist/tests/benchmark/Makefile.in delete external/mit/expat/dist/tests/Makefile.in delete external/mit/expat/dist/tests/acc_tests_cxx.cpp delete external/mit/expat/dist/tests/alloc_tests_cxx.cpp delete external/mit/expat/dist/tests/basic_tests_cxx.cpp delete external/mit/expat/dist/tests/chardata_cxx.cpp delete external/mit/expat/dist/tests/common_cxx.cpp delete external/mit/expat/dist/tests/dummy_cxx.cpp delete external/mit/expat/dist/tests/handlers_cxx.cpp delete external/mit/expat/dist/tests/memcheck_cxx.cpp delete external/mit/expat/dist/tests/minicheck_cxx.cpp delete external/mit/expat/dist/tests/misc_tests_cxx.cpp delete external/mit/expat/dist/tests/ns_tests_cxx.cpp delete external/mit/expat/dist/tests/nsalloc_tests_cxx.cpp delete external/mit/expat/dist/tests/runtests_cxx.cpp delete external/mit/expat/dist/tests/structdata_cxx.cpp delete external/mit/expat/dist/xmlwf/Makefile.in delete external/mit/expat/dist/CMake.README up to 1.1.1.9 external/mit/expat/dist/CMakeLists.txt up to 1.1.1.9 external/mit/expat/dist/Changes up to 1.1.1.10 external/mit/expat/dist/ConfigureChecks.cmake up to 1.1.1.5 external/mit/expat/dist/Makefile.am up to 1.1.1.5 external/mit/expat/dist/README.md up to 1.1.1.5 external/mit/expat/dist/configure.ac up to 1.1.1.8 external/mit/expat/dist/expat_config.h.cmake up to 1.1.1.4 external/mit/expat/dist/fix-xmltest-log.sh up to 1.1.1.4 external/mit/expat/dist/doc/reference.html up to 1.1.1.9 external/mit/expat/dist/doc/xmlwf.xml up to 1.1.1.6 external/mit/expat/dist/examples/element_declarations.c up to 1.1.1.2 external/mit/expat/dist/fuzz/xml_lpm_fuzzer.cpp up to 1.1.1.2 external/mit/expat/dist/fuzz/xml_parse_fuzzer.c up to 1.1.1.3 external/mit/expat/dist/fuzz/xml_parsebuffer_fuzzer.c up to 1.1.1.3 external/mit/expat/dist/lib/Makefile.am up to 1.1.1.4 external/mit/expat/dist/lib/expat.h up to 1.1.1.10 external/mit/expat/dist/lib/expat_external.h up to 1.1.1.6 external/mit/expat/dist/lib/internal.h up to 1.1.1.7 external/mit/expat/dist/lib/libexpat.def.cmake up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c up to 1.12 external/mit/expat/dist/lib/xmlrole.c up to 1.1.1.8 external/mit/expat/dist/lib/xmlrole.h up to 1.1.1.5 external/mit/expat/dist/lib/xmltok.c up to 1.8 external/mit/expat/dist/lib/xmltok.h up to 1.6 external/mit/expat/dist/lib/xmltok_ns.c up to 1.1.1.4 external/mit/expat/dist/tests/Makefile.am up to 1.1.1.4 external/mit/expat/dist/tests/alloc_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/basic_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/common.c up to 1.1.1.3 external/mit/expat/dist/tests/handlers.c up to 1.1.1.2 external/mit/expat/dist/tests/handlers.h up to 1.1.1.2 external/mit/expat/dist/tests/memcheck.c up to 1.1.1.5 external/mit/expat/dist/tests/minicheck.c up to 1.1.1.7 external/mit/expat/dist/tests/minicheck.h up to 1.1.1.8 external/mit/expat/dist/tests/misc_tests.c up to 1.1.1.3 external/mit/expat/dist/tests/nsalloc_tests.c up to 1.1.1.2 external/mit/expat/dist/tests/structdata.c up to 1.1.1.4 external/mit/expat/dist/tests/xmltest.sh up to 1.7 external/mit/expat/dist/win32/README.txt up to 1.1.1.7 external/mit/expat/dist/win32/build_expat_iss.bat up to 1.1.1.4 external/mit/expat/dist/win32/expat.iss up to 1.1.1.10 external/mit/expat/dist/xmlwf/unixfilemap.c up to 1.1.1.6 external/mit/expat/dist/xmlwf/xmlfile.c up to 1.1.1.7 external/mit/expat/dist/xmlwf/xmlwf.c up to 1.1.1.9 external/mit/expat/dist/xmlwf/xmlwf_helpgen.py up to 1.1.1.4 Import expat 2.8.1 as expat-2-8-1 Merge expat 2.8.1 @ text @@ 1.1.1.2.6.1 log @file ltoptions.m4 was added on branch netbsd-6 on 2016-05-18 10:49:23 +0000 @ text @d1 384 @ 1.1.1.2.6.2 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @a0 384 # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@@<:@@=PKGS@@:>@@], [build shared libraries @@<:@@default=]_LT_ENABLE_SHARED_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@@<:@@=PKGS@@:>@@], [build static libraries @@<:@@default=]_LT_ENABLE_STATIC_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@@<:@@=PKGS@@:>@@], [optimize for fast installation @@<:@@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], [try to use only PIC/non-PIC objects @@<:@@default=use both@@:>@@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) @ 1.1.1.2.6.3 log @Pull up following revision(s) (requested by spz in ticket #1435): external/mit/expat/dist/CMake.README: up to 1.1.1.3 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.3 external/mit/expat/dist/COPYING: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.4 external/mit/expat/dist/MANIFEST: up to 1.1.1.4 external/mit/expat/dist/Makefile.in: up to 1.1.1.4 external/mit/expat/dist/README: up to 1.1.1.4 external/mit/expat/dist/aclocal.m4: up to 1.1.1.3 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/xmlwf.mak: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.4 external/mit/expat/dist/configure.ac: up to 1.1.1.2 external/mit/expat/dist/conftools/config.guess: up to 1.3 external/mit/expat/dist/conftools/config.sub: up to 1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.4 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.4 external/mit/expat/dist/doc/expat.png: up to 1.1.1.2 external/mit/expat/dist/doc/valid-xhtml10.png: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.sgml delete external/mit/expat/dist/doc/xmlwf.xml: up to 1.1.1.1 external/mit/expat/dist/examples/elements.c: up to 1.1.1.3 external/mit/expat/dist/examples/outline.c: up to 1.1.1.2 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.4 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expat.h: up to 1.1.1.4 external/mit/expat/dist/lib/expat_external.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/internal.h: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.6 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.3 external/mit/expat/dist/lib/xmltok.c: up to 1.3 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.5 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.3 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.3 external/mit/expat/dist/tests/minicheck.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.3 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.3 external/mit/expat/dist/tests/xmltest.sh: up to 1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.3 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.4 external/mit/expat/dist/xmlwf/codepage.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/readfilemap.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlfile.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.4 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.3 external/mit/expat/lib/libexpat/expat_config.h: up to 1.4 Update expat to 2.2.0, fixing CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, and CVE-2012-6702. @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.2.4.1 log @file ltoptions.m4 was added on branch netbsd-6-1 on 2016-05-18 10:45:14 +0000 @ text @d1 384 @ 1.1.1.2.4.2 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @a0 384 # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@@<:@@=PKGS@@:>@@], [build shared libraries @@<:@@default=]_LT_ENABLE_SHARED_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@@<:@@=PKGS@@:>@@], [build static libraries @@<:@@default=]_LT_ENABLE_STATIC_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@@<:@@=PKGS@@:>@@], [optimize for fast installation @@<:@@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], [try to use only PIC/non-PIC objects @@<:@@default=use both@@:>@@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) @ 1.1.1.2.4.3 log @Pull up following revision(s) (requested by spz in ticket #1435): external/mit/expat/dist/CMake.README: up to 1.1.1.3 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.3 external/mit/expat/dist/COPYING: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.4 external/mit/expat/dist/MANIFEST: up to 1.1.1.4 external/mit/expat/dist/Makefile.in: up to 1.1.1.4 external/mit/expat/dist/README: up to 1.1.1.4 external/mit/expat/dist/aclocal.m4: up to 1.1.1.3 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/xmlwf.mak: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.4 external/mit/expat/dist/configure.ac: up to 1.1.1.2 external/mit/expat/dist/conftools/config.guess: up to 1.3 external/mit/expat/dist/conftools/config.sub: up to 1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.4 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.4 external/mit/expat/dist/doc/expat.png: up to 1.1.1.2 external/mit/expat/dist/doc/valid-xhtml10.png: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.sgml delete external/mit/expat/dist/doc/xmlwf.xml: up to 1.1.1.1 external/mit/expat/dist/examples/elements.c: up to 1.1.1.3 external/mit/expat/dist/examples/outline.c: up to 1.1.1.2 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.4 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expat.h: up to 1.1.1.4 external/mit/expat/dist/lib/expat_external.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/internal.h: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.6 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.3 external/mit/expat/dist/lib/xmltok.c: up to 1.3 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.5 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.3 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.3 external/mit/expat/dist/tests/minicheck.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.3 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.3 external/mit/expat/dist/tests/xmltest.sh: up to 1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.3 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.4 external/mit/expat/dist/xmlwf/codepage.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/readfilemap.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlfile.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.4 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.3 external/mit/expat/lib/libexpat/expat_config.h: up to 1.4 Update expat to 2.2.0, fixing CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, and CVE-2012-6702. @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.2.2.1 log @file ltoptions.m4 was added on branch netbsd-6-0 on 2016-05-18 10:40:43 +0000 @ text @d1 384 @ 1.1.1.2.2.2 log @Pull up following revision(s) (requested by spz in ticket #1383): distrib/sets/lists/base/ad.mips64eb: patch distrib/sets/lists/base/ad.mips64el: patch distrib/sets/lists/base/md.amd64: patch distrib/sets/lists/base/md.sparc64: patch distrib/sets/lists/base/shl.mi: 1.771, 1.772 via patch distrib/sets/lists/comp/ad.mips64eb: patch distrib/sets/lists/comp/ad.mips64el: patch distrib/sets/lists/comp/md.amd64: patch distrib/sets/lists/comp/md.sparc64: patch distrib/sets/lists/comp/mi: 1.2035 via patch distrib/sets/lists/comp/shl.mi: patch external/mit/expat/dist/CMake.README: up to 1.1.1.2 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.3 external/mit/expat/dist/ConfigureChecks.cmake: up to 1.1.1.1 external/mit/expat/dist/MANIFEST: up to 1.1.1.3 external/mit/expat/dist/Makefile.in: up to 1.1.1.3 external/mit/expat/dist/README: up to 1.1.1.3 external/mit/expat/dist/aclocal.m4: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.3 external/mit/expat/dist/configure.ac: up to 1.1.1.1 external/mit/expat/dist/configure.in: up to 1.1.1.2 external/mit/expat/dist/expat.pc.in: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.cmake: up to 1.1.1.1 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.3 external/mit/expat/dist/amiga/Makefile: up to 1.1.1.2 external/mit/expat/dist/amiga/README.txt: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_68k.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_68k_handler_stubs.c: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_base.h: up to 1.1.1.1 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/amiga/stdlib.c: delete external/mit/expat/dist/bcb5/elements.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/outline.bpr: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.2 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4: up to 1.4 external/mit/expat/dist/conftools/config.guess: up to 1.1.1.3 external/mit/expat/dist/conftools/config.sub: up to 1.1.1.3 external/mit/expat/dist/conftools/expat.m4: up to 1.1.1.2 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.3 external/mit/expat/dist/conftools/libtool.m4: delete external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.3 external/mit/expat/dist/conftools/mkinstalldirs: up to 1.4 external/mit/expat/dist/doc/reference.html: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.sgml: up to 1.1.1.3 external/mit/expat/dist/examples/elements.c: up to 1.1.1.2 external/mit/expat/dist/examples/elements.dsp: up to 1.1.1.2 external/mit/expat/dist/examples/outline.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/amigaconfig.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expat.h: up to 1.1.1.3 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/libexpat.def: up to 1.1.1.2 external/mit/expat/dist/lib/libexpatw.def: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.4 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.c: up to 1.1.1.2 external/mit/expat/dist/lib/xmltok.h: up to 1.1.1.1 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.3 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.1 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.2 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.1 external/mit/expat/dist/tests/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.2 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.2 external/mit/expat/dist/tests/xmltest.sh: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/README.txt: up to 1.1.1.2 external/mit/expat/dist/tests/benchmark/benchmark.dsp: up to 1.1.1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.2 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.3 external/mit/expat/dist/xmlwf/unixfilemap.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.2 external/mit/expat/lib/libexpat/Makefile: up to 1.2 external/mit/expat/lib/libexpat/expat.pc.in: up to 1.1 external/mit/expat/lib/libexpat/expat_config.h: up to 1.3 external/mit/expat/lib/libexpat/shlib_version: up to 1.3 Update expat to 2.1.1. Apply fixes for CVE-2016-0718. @ text @a0 384 # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@@<:@@=PKGS@@:>@@], [build shared libraries @@<:@@default=]_LT_ENABLE_SHARED_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@@<:@@=PKGS@@:>@@], [build static libraries @@<:@@default=]_LT_ENABLE_STATIC_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@@<:@@=PKGS@@:>@@], [optimize for fast installation @@<:@@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@@<:@@=PKGS@@:>@@], [try to use only PIC/non-PIC objects @@<:@@default=use both@@:>@@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) @ 1.1.1.2.2.3 log @Pull up following revision(s) (requested by spz in ticket #1435): external/mit/expat/dist/CMake.README: up to 1.1.1.3 external/mit/expat/dist/CMakeLists.txt: up to 1.1.1.3 external/mit/expat/dist/COPYING: up to 1.1.1.2 external/mit/expat/dist/Changes: up to 1.1.1.4 external/mit/expat/dist/MANIFEST: up to 1.1.1.4 external/mit/expat/dist/Makefile.in: up to 1.1.1.4 external/mit/expat/dist/README: up to 1.1.1.4 external/mit/expat/dist/aclocal.m4: up to 1.1.1.3 external/mit/expat/dist/amiga/expat_lib.c: up to 1.1.1.2 external/mit/expat/dist/amiga/expat_vectors.c: up to 1.1.1.2 external/mit/expat/dist/amiga/launch.c: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expat_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expat_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/expatw_static.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/expatw_static.mak: up to 1.1.1.2 external/mit/expat/dist/bcb5/xmlwf.bpr: up to 1.1.1.3 external/mit/expat/dist/bcb5/xmlwf.mak: up to 1.1.1.2 external/mit/expat/dist/configure: up to 1.1.1.4 external/mit/expat/dist/configure.ac: up to 1.1.1.2 external/mit/expat/dist/conftools/config.guess: up to 1.3 external/mit/expat/dist/conftools/config.sub: up to 1.3 external/mit/expat/dist/conftools/install-sh: up to 1.1.1.4 external/mit/expat/dist/conftools/ltmain.sh: up to 1.1.1.4 external/mit/expat/dist/doc/expat.png: up to 1.1.1.2 external/mit/expat/dist/doc/valid-xhtml10.png: up to 1.1.1.2 external/mit/expat/dist/doc/xmlwf.1: up to 1.1.1.3 external/mit/expat/dist/doc/xmlwf.sgml delete external/mit/expat/dist/doc/xmlwf.xml: up to 1.1.1.1 external/mit/expat/dist/examples/elements.c: up to 1.1.1.3 external/mit/expat/dist/examples/outline.c: up to 1.1.1.2 external/mit/expat/dist/expat_config.h.in: up to 1.1.1.4 external/mit/expat/dist/lib/expat.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expat.h: up to 1.1.1.4 external/mit/expat/dist/lib/expat_external.h: up to 1.1.1.2 external/mit/expat/dist/lib/expat_static.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw.dsp: up to 1.1.1.3 external/mit/expat/dist/lib/expatw_static.dsp: up to 1.1.1.2 external/mit/expat/dist/lib/internal.h: up to 1.1.1.2 external/mit/expat/dist/lib/xmlparse.c: up to 1.6 external/mit/expat/dist/lib/xmlrole.c: up to 1.1.1.3 external/mit/expat/dist/lib/xmltok.c: up to 1.3 external/mit/expat/dist/lib/xmltok_impl.c: up to 1.5 external/mit/expat/dist/m4/libtool.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltoptions.m4: up to 1.1.1.3 external/mit/expat/dist/m4/ltsugar.m4: up to 1.1.1.2 external/mit/expat/dist/m4/ltversion.m4: up to 1.1.1.3 external/mit/expat/dist/m4/lt~obsolete.m4: up to 1.1.1.2 external/mit/expat/dist/tests/chardata.c: up to 1.1.1.3 external/mit/expat/dist/tests/minicheck.c: up to 1.1.1.2 external/mit/expat/dist/tests/minicheck.h: up to 1.1.1.3 external/mit/expat/dist/tests/runtests.c: up to 1.1.1.3 external/mit/expat/dist/tests/xmltest.sh: up to 1.2 external/mit/expat/dist/win32/README.txt: up to 1.1.1.3 external/mit/expat/dist/win32/expat.iss: up to 1.1.1.4 external/mit/expat/dist/xmlwf/codepage.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/readfilemap.c: up to 1.1.1.3 external/mit/expat/dist/xmlwf/xmlfile.c: up to 1.1.1.2 external/mit/expat/dist/xmlwf/xmlwf.c: up to 1.1.1.4 external/mit/expat/dist/xmlwf/xmlwf.dsp: up to 1.1.1.3 external/mit/expat/lib/libexpat/expat_config.h: up to 1.4 Update expat to 2.2.0, fixing CVE-2016-0718, CVE-2016-4472, CVE-2016-5300, and CVE-2012-6702. @ text @d3 2 a4 2 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. d11 1 a11 1 # serial 8 ltoptions.m4 d32 1 a32 1 [m4_warning([Unknown $1 option '$2'])])[]dnl d78 1 a78 1 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared d84 1 a84 3 [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) d115 1 a115 1 put the 'dlopen' option into LT_INIT's first parameter.]) d151 1 a151 1 put the 'win32-dll' option into LT_INIT's first parameter.]) d160 3 a162 3 # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d175 1 a175 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d177 1 a177 1 IFS=$lt_save_ifs d182 1 a182 1 IFS=$lt_save_ifs d214 3 a216 3 # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d229 1 a229 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d231 1 a231 1 IFS=$lt_save_ifs d236 1 a236 1 IFS=$lt_save_ifs d268 3 a270 3 # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. d283 1 a283 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d285 1 a285 1 IFS=$lt_save_ifs d290 1 a290 1 IFS=$lt_save_ifs d307 1 a307 1 the 'fast-install' option into LT_INIT's first parameter.]) d314 1 a314 1 the 'disable-fast-install' option into LT_INIT's first parameter.]) a321 53 # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @@<:@@default=]_LT_WITH_AIX_SONAME_DEFAULT[@@:>@@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) d324 1 a324 1 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' d326 1 a326 1 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. d337 1 a337 1 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, d339 1 a339 1 IFS=$lt_save_ifs d344 1 a344 1 IFS=$lt_save_ifs d347 3 a349 1 [pic_mode=m4_default([$1], [default])]) d362 1 a362 1 put the 'pic-only' option into LT_INIT's first parameter.]) @ 1.1.1.1.2.1 log @file ltoptions.m4 was added on branch yamt-pagecache on 2012-04-17 00:04:44 +0000 @ text @d1 369 @ 1.1.1.1.2.2 log @sync with head @ text @a0 369 # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@@<:@@=PKGS@@:>@@], [build shared libraries @@<:@@default=]_LT_ENABLE_SHARED_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@@<:@@=PKGS@@:>@@], [build static libraries @@<:@@default=]_LT_ENABLE_STATIC_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@@<:@@=PKGS@@:>@@], [optimize for fast installation @@<:@@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@@:>@@])], [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. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--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=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) @