yaz-5.31.1/0000775000175000017500000000000014157607112007413 500000000000000yaz-5.31.1/m4/0000775000175000017500000000000014157607105007735 500000000000000yaz-5.31.1/m4/ltsugar.m40000644000175000017500000001044013776413332011600 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 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 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) yaz-5.31.1/m4/ltversion.m40000644000175000017500000000127313776413332012150 00000000000000# ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 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. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) yaz-5.31.1/m4/ltoptions.m40000644000175000017500000003426213776413332012162 00000000000000# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 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 8 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_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _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_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])]) # _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=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])]) yaz-5.31.1/m4/yaz_libxml2.m40000664000175000017500000001110414152153100012332 00000000000000AC_DEFUN([YAZ_LIBXML2],[ AC_PATH_PROG(pkgconfigpath, pkg-config, NONE) pkgmodule="" xml2dir=default XML2_VER="" AC_ARG_WITH(xml2,[[ --with-xml2[=PREFIX] use libxml2 in PREFIX]],xml2dir=$withval) dnl -- if no PREFIX or not specified we just search in default locations dnl -- try pkg-config. If not found, use xml2-config if test "$xml2dir" = "yes" -o "$xml2dir" = "default"; then if test "$pkgconfigpath" != "NONE"; then if $pkgconfigpath --exists libxml-2.0; then pkgmodule="libxml-2.0" fi fi if test -z "$pkgmodule"; then for d in /usr /usr/local; do if test -x $d/bin/xml2-config; then xml2dir=$d fi done fi fi dnl --- do the real check (pkg-config, xml2-config, not-found) if test "$xml2dir" != "no"; then AC_MSG_CHECKING(for libXML2) if test "$pkgmodule"; then XML2_LIBS=`$pkgconfigpath --libs $pkgmodule` XML2_CFLAGS=`$pkgconfigpath --cflags $pkgmodule` XML2_VER=`$pkgconfigpath --modversion $pkgmodule` AC_MSG_RESULT($XML2_VER) m4_default([$1],[AC_DEFINE(HAVE_XML2)]) elif test -x $xml2dir/bin/xml2-config; then XML2_LIBS=`$xml2dir/bin/xml2-config --libs` XML2_CFLAGS=`$xml2dir/bin/xml2-config --cflags` XML2_VER=`$xml2dir/bin/xml2-config --version` AC_MSG_RESULT($XML2_VER) m4_default([$1],[AC_DEFINE(HAVE_XML2)]) else AC_MSG_RESULT(Not found) if test "$xml2dir" = "default"; then AC_MSG_WARN([libxml2 development libraries not found.]) AC_MSG_WARN([There will be no support for SRU.]) else AC_MSG_ERROR([libxml2 development libraries not found.]) fi fi XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ]) AC_DEFUN([YAZ_LIBXSLT],[ pkgmodule="" xsltdir=default yaz_xslt_pkgconfig=no XSLT_VER="" AC_ARG_WITH(xslt,[[ --with-xslt[=PREFIX] use libXSLT in PREFIX]],xsltdir=$withval) dnl -- if no PREFIX or not specified we just search in default locations dnl -- try pkg-config. If not found, use xslt-config if test "$xsltdir" = "yes" -o "$xsltdir" = "default"; then if test "$pkgconfigpath" != "NONE"; then # pkg-config on woody reports bad CFLAGS which does # not include libxml2 CFLAGS, so avoid it.. if $pkgconfigpath --atleast-version 1.1.0 libxslt; then pkgmodule="libxslt" fi fi if test -z "$pkgmodule"; then for d in /usr /usr/local; do if test -x $d/bin/xslt-config; then xsltdir=$d fi done fi fi dnl --- do the real check (pkg-config, xslt-config, not-found) if test "$xsltdir" != "no"; then AC_MSG_CHECKING(for libXSLT) if test "$pkgmodule"; then XML2_LIBS=`$pkgconfigpath --libs $pkgmodule` XML2_CFLAGS=`$pkgconfigpath --cflags $pkgmodule` XSLT_VER=`$pkgconfigpath --modversion $pkgmodule` AC_MSG_RESULT($XSLT_VER) m4_default([$1],[AC_DEFINE(HAVE_XSLT)]) yaz_xslt_pkgconfig=yes elif test -x $xsltdir/bin/xslt-config; then XML2_LIBS=`$xsltdir/bin/xslt-config --libs` XML2_CFLAGS=`$xsltdir/bin/xslt-config --cflags` XSLT_VER=`$xsltdir/bin/xslt-config --version` AC_MSG_RESULT($XSLT_VER) m4_default([$1],[AC_DEFINE(HAVE_XSLT)]) else AC_MSG_RESULT(Not found) if test "$xsltdir" = "default"; then AC_MSG_WARN([libXSLT development libraries not found.]) else AC_MSG_ERROR([libXSLT development libraries not found.]) fi fi XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ]) dnl -- get libEXSLT. xslt-config is no good. So use pkg-config only AC_DEFUN([YAZ_LIBEXSLT],[ exsltdir=default pkgmodule="" EXSLT_VER="" AC_ARG_WITH(exslt,[[ --with-exslt[=PREFIX] use libEXSLT in PREFIX]],exsltdir=$withval) if test "$exsltdir" = "yes" -o "$exsltdir" = "default"; then if test "$pkgconfigpath" != "NONE"; then if $pkgconfigpath --exists libexslt; then pkgmodule="libexslt" fi fi fi if test "$exsltdir" != "no"; then AC_MSG_CHECKING(for libEXSLT) if test "$pkgmodule"; then if test "$yaz_xslt_pkgconfig" != "yes"; then AC_MSG_RESULT([Disabled. Libxslt is not pkg-config configured]) else XML2_LIBS=`$pkgconfigpath --libs $pkgmodule` XML2_CFLAGS=`$pkgconfigpath --cflags $pkgmodule` EXSLT_VER=`$pkgconfigpath --modversion $pkgmodule` AC_MSG_RESULT($EXSLT_VER) m4_default([$1],[AC_DEFINE(HAVE_EXSLT)]) fi else AC_MSG_RESULT(Not found) if test "$pkgconfigpath" = "NONE"; then extra="libEXSLT not enabled. pkg-config not found." else extra="libEXSLT development libraries not found." fi if test "$exsltdir" = "default"; then AC_MSG_WARN([$extra]) else AC_MSG_ERROR([$extra]) fi fi fi OLIBS=$LIBS LIBS="$LIBS $XML2_LIBS" AC_CHECK_FUNCS([xsltSaveResultToString]) LIBS=$OLIBS ]) dnl Local Variables: dnl mode:shell-script dnl sh-indentation: 2 dnl sh-basic-offset: 4 dnl End: yaz-5.31.1/m4/id-config.sh0000775000175000017500000000355114152153100012041 00000000000000# To be included by ../buildconf.sh . automake=automake aclocal=aclocal autoconf=autoconf libtoolize=libtoolize autoheader=autoheader test -d autom4te.cache && rm -r autom4te.cache test -d config || mkdir config if [ "`uname -s`" = FreeBSD ]; then # FreeBSD intalls the various auto* tools with version numbers echo "Using special configuration for FreeBSD ..." automake=automake aclocal="aclocal -I /usr/local/share/aclocal" autoconf=autoconf libtoolize=libtoolize autoheader=autoheader fi if [ "`uname -s`" = Darwin ]; then echo "Using special configuration for Darwin/MacOS ..." libtoolize=glibtoolize fi if $automake --version|head -1 |grep ' 1\.[4-7]'; then echo "automake 1.4-1.7 is active. You should use automake 1.8 or later" if [ -f /etc/debian_version ]; then echo " sudo apt-get install automake1.9" echo " sudo update-alternatives --config automake" fi exit 1 fi set -x $aclocal -I m4 if grep AC_CONFIG_HEADERS configure.ac >/dev/null; then $autoheader fi if grep AM_PROG_LIBTOOL configure.ac >/dev/null; then has_libtool=true $libtoolize --automake --force else has_libtool=false fi $automake --add-missing $autoconf set - if [ -f config.cache ]; then rm config.cache fi enable_configure=false enable_help=true sh_flags="" conf_flags="" case $1 in -d) sh_cflags="-g -Wall -Wstrict-prototypes" sh_cxxflags="-g -Wall" enable_configure=true enable_help=false shift ;; -c) sh_cflags="" sh_cxxflags="" enable_configure=true enable_help=false shift ;; esac if $enable_configure; then if [ -n "$sh_cflags" ]; then if $has_libtool; then CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure \ --disable-shared --enable-static --with-pic $* else CFLAGS="$sh_cflags" CXXFLAGS="$sh_cxxflags" ./configure $* fi else ./configure $* fi fi yaz-5.31.1/m4/acx_pthread.m40000664000175000017500000002536614152153100012377 00000000000000##### http://autoconf-archive.cryp.to/acx_pthread.html # # SYNOPSIS # # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) # # DESCRIPTION # # This macro figures out how to build C programs using POSIX threads. # It sets the PTHREAD_LIBS output variable to the threads library and # linker flags, and the PTHREAD_CFLAGS output variable to any special # C compiler flags that are needed. (The user can also force certain # compiler flags/libs to be tested by setting these environment # variables.) # # Also sets PTHREAD_CC to any special C compiler that is needed for # multi-threaded programs (defaults to the value of CC otherwise). # (This is necessary on AIX to use the special cc_r compiler alias.) # # NOTE: You are assumed to not only compile your program with these # flags, but also link it with them as well. e.g. you should link # with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS # $LIBS # # If you are only building threads programs, you may wish to use # these variables in your default LIBS, CFLAGS, and CC: # # LIBS="$PTHREAD_LIBS $LIBS" # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # CC="$PTHREAD_CC" # # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute # constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to # that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX). # # ACTION-IF-FOUND is a list of shell commands to run if a threads # library is found, and ACTION-IF-NOT-FOUND is a list of commands to # run it if it is not found. If ACTION-IF-FOUND is not specified, the # default action will define HAVE_PTHREAD. # # Please let the authors know if this macro fails on any platform, or # if you have any other suggestions or comments. This macro was based # on work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) # (with help from M. Frigo), as well as ac_pthread and hb_pthread # macros posted by Alejandro Forero Cuervo to the autoconf macro # repository. We are also grateful for the helpful feedback of # numerous users. # # LAST MODIFICATION # # 2006-05-29 # # COPYLEFT # # Copyright (c) 2006 Steven G. Johnson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # # As a special exception, the respective Autoconf Macro's copyright # owner gives unlimited permission to copy, distribute and modify the # configure scripts that are the output of Autoconf when processing # the Macro. You need not follow the terms of the GNU General Public # License when using or distributing such scripts, even though # portions of the text of the Macro appear in them. The GNU General # Public License (GPL) does govern all other use of the material that # constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the # Autoconf Macro released by the Autoconf Macro Archive. When you # make and distribute a modified version of the Autoconf Macro, you # may extend this special exception to the GPL to apply to your # modified version as well. AC_DEFUN([ACX_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_SAVE AC_LANG_C acx_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h # requires special compiler flags (e.g. on True64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS]) AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes) AC_MSG_RESULT($acx_pthread_ok) if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" fi # We must check for the threads library under a number of different # names; the ordering is very important because some systems # (e.g. DEC) have both -lpthread and -lpthreads, where one of the # libraries is broken (non-POSIX). # Create a list of thread flags to try. Items starting with a "-" are # C compiler flags, and other items are library names, except for "none" # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: # pthreads: AIX (must check this before -lpthread) # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) # -pthreads: Solaris/gcc # -mthreads: Mingw32/gcc, Lynx/gcc # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it # doesn't hurt to check since this sometimes defines pthreads too; # also defines -D_REENTRANT) # ... -mt is also the pthreads flag for HP/aCC # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) case "${host_cpu}-${host_os}" in *solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based # tests will erroneously succeed. (We need to link with -pthreads/-mt/ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather # a function called by this macro, so we could check for that, but # who knows whether they'll stub that too in a future libc.) So, # we'll just look for -pthreads and -lpthread first: acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" ;; esac if test x"$acx_pthread_ok" = xno; then for flag in $acx_pthread_flags; do case $flag in none) AC_MSG_CHECKING([whether pthreads work without any flags]) ;; -*) AC_MSG_CHECKING([whether pthreads work with $flag]) PTHREAD_CFLAGS="$flag" ;; pthread-config) AC_CHECK_PROG(acx_pthread_config, pthread-config, yes, no) if test x"$acx_pthread_config" = xno; then continue; fi PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) AC_MSG_CHECKING([for the pthreads library -l$flag]) PTHREAD_LIBS="-l$flag" ;; esac save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we # need a special flag -Kthread to make this header compile.) # We check for pthread_join because it is in -lpthread on IRIX # while pthread_create is in libc. We check for pthread_attr_init # due to DEC craziness with -lpthreads. We check for # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. AC_TRY_LINK([#include ], [pthread_t th; pthread_join(th, 0); pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], [acx_pthread_ok=yes]) LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" AC_MSG_RESULT($acx_pthread_ok) if test "x$acx_pthread_ok" = xyes; then break; fi PTHREAD_LIBS="" PTHREAD_CFLAGS="" done fi # Various other checks: if test "x$acx_pthread_ok" = xyes; then save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. AC_MSG_CHECKING([for joinable pthread attribute]) attr_name=unknown for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do AC_TRY_LINK([#include ], [int attr=$attr; return attr;], [attr_name=$attr; break]) done AC_MSG_RESULT($attr_name) if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name, [Define to necessary symbol if this constant uses a non-standard name on your system.]) fi AC_MSG_CHECKING([if more special flags are required for pthreads]) flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac AC_MSG_RESULT(${flag}) if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" # More AIX lossage: must compile with xlc_r or cc_r if test x"$GCC" != xyes; then AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC}) else PTHREAD_CC=$CC fi else PTHREAD_CC="$CC" fi AC_SUBST(PTHREAD_LIBS) AC_SUBST(PTHREAD_CFLAGS) AC_SUBST(PTHREAD_CC) # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1]) : else acx_pthread_ok=no $2 fi AC_LANG_RESTORE ])dnl ACX_PTHREAD yaz-5.31.1/m4/ac_check_icu.m40000664000175000017500000000547014152153100012467 00000000000000# SYNOPSIS # # AC_CHECK_ICU(version, action-if, action-if-not) # # DESCRIPTION # # Defines ICU_LIBS, ICU_CFLAGS, ICU_CPPFLAGS # # COPYLEFT # # Copyright (c) 2005 Akos Maroy # # Copying and distribution of this file, with or without # modification, are permitted in any medium without royalty provided # the copyright notice and this notice are preserved. AC_DEFUN([AC_CHECK_ICU], [icudir=default AC_ARG_WITH(icu,[ --with-icu[=PREFIX] use ICU libs in PREFIX], icudir=$withval) if test "$icudir" != "no"; then if test "$icudir" = "yes" -o "$icudir" = "default"; then AC_PATH_PROG(pkgconfigpath, pkg-config, NONE) if test -x $pkgconfigpath; then AC_MSG_CHECKING([for icu-i18n via pkg-config]) if $pkgconfigpath --exists icu-i18n; then AC_MSG_RESULT([found]) ICU_VERSION=`$pkgconfigpath --modversion icu-i18n` ICU_CPPFLAGS="" ICU_CFLAGS=`$pkgconfigpath --cflags icu-i18n` ICU_LIBS=`$pkgconfigpath --libs icu-i18n` else AC_MSG_RESULT([not found]) fi fi fi if test -z "$ICU_VERSION"; then if test "$icudir" = "yes" -o "$icudir" = "default"; then AC_PATH_PROG(ICU_CONFIG, icu-config, NONE) else ICU_CONFIG=${icudir}/bin/icu-config fi AC_MSG_CHECKING([$ICU_CONFIG]) if test -x "$ICU_CONFIG"; then AC_MSG_RESULT([found]) ICU_VERSION=`$ICU_CONFIG --version` ICU_PREFIX=`$ICU_CONFIG --prefix` ICU_CPPFLAGS=`$ICU_CONFIG --cppflags-searchpath`"" if test "$ICU_PREFIX" = "/usr"; then ICU_CPPFLAGS=`echo $ICU_CPPFLAGS|sed 's@-I/usr/include@@'` fi ICU_CFLAGS=`$ICU_CONFIG --cflags` if test "$ICU_PREFIX" = "/usr"; then ICU_LIBS=`$ICU_CONFIG --ldflags-libsonly` else ICU_LIBS=`$ICU_CONFIG --ldflags` fi case $host_os in solaris*) AC_CHECK_LIB([Crun],[_fini],[ICU_LIBS="$ICU_LIBS -lCrun"]) ;; esac else AC_MSG_RESULT([not found]) fi fi if test -n "$ICU_VERSION"; then AC_MSG_CHECKING([for ICU >= $1]) VERSION_CHECK=`expr $ICU_VERSION \>\= $1` if test "$VERSION_CHECK" = "1" ; then AC_MSG_RESULT([$ICU_VERSION]) else AC_MSG_RESULT([can not find ICU >= $1]) ICU_CPPFLAGS="" ICU_CFLAGS="" ICU_LIBS="" ICU_VERSION="" fi AC_SUBST(ICU_CPPFLAGS) AC_SUBST(ICU_CFLAGS) AC_SUBST(ICU_LIBS) fi if test -z "$ICU_VERSION"; then if test "$icudir" != "default"; then AC_MSG_ERROR([libicu development libraries not found.]) fi fi fi if test -n "$ICU_VERSION"; then ifelse([$2], , :, [$2]) else ifelse([$3], , :, [$3]) fi ]) dnl Local Variables: dnl mode:shell-script dnl sh-indentation:4 dnl sh-basic-offset: 4 dnl End: yaz-5.31.1/m4/lt~obsolete.m40000644000175000017500000001377413776413332012506 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 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 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) yaz-5.31.1/m4/yaz.m40000664000175000017500000001140714152153100010707 00000000000000# Use this m4 function for autoconf if you use YAZ in your own # configure script. dnl ----- Setup Docbook documentation for YAZ AC_DEFUN([YAZ_DOC], [ dnl autoconf < 2.60 does not define docdir if test -n "$docdir"; then docdir="${datadir}/doc/${PACKAGE}" AC_SUBST([docdir]) fi AC_SUBST(XSLTPROC_COMPILE) XSLTPROC_COMPILE='xsltproc --xinclude -path ".:$(srcdir)"' AC_SUBST(MAN_COMPILE) MAN_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.man.xsl' AC_SUBST(HTML_COMPILE) HTML_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.htmlhelp.xsl' AC_SUBST(TKL_COMPILE) TKL_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.tkl.xsl' AC_SUBST(PDF_COMPILE) PDF_COMPILE='dblatex -P latex.class.options=a4paper,12pt,twoside,openright' AC_SUBST(DTD_DIR) AC_ARG_WITH(docbook-dtd,[[ --with-docbook-dtd=DIR use docbookx.dtd in DIR]], [ if test -f "$withval/docbookx.dtd"; then DTD_DIR=$withval fi ],[ AC_MSG_CHECKING(for docbookx.dtd) DTD_DIR="" for d in /usr/lib/sgml/dtd/docbook-xml \ /usr/share/sgml/docbook/dtd/4.2 \ /usr/share/sgml/docbook/dtd/xml/4.* \ /usr/share/sgml/docbook/xml-dtd-4.* \ /usr/local/share/xml/docbook/4.* do if test -f $d/docbookx.dtd; then DTD_DIR=$d fi done if test -z "$DTD_DIR"; then AC_MSG_RESULT(Not found) else AC_MSG_RESULT($d) fi ]) AC_SUBST(DSSSL_DIR) AC_ARG_WITH(docbook-dsssl,[[ --with-docbook-dsssl=DIR use Docbook DSSSL in DIR/{html,print}/docbook.dsl]], [ if test -f "$withval/html/docbook.dsl"; then DSSSL_DIR=$withval fi ],[ AC_MSG_CHECKING(for docbook.dsl) DSSSL_DIR="" for d in /usr/share/sgml/docbook/stylesheet/dsssl/modular \ /usr/share/sgml/docbook/dsssl-stylesheets-1.* \ /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \ /usr/local/share/sgml/docbook/dsssl/modular do if test -f $d/html/docbook.dsl; then AC_MSG_RESULT($d) DSSSL_DIR=$d break fi done if test -z "$DSSSL_DIR"; then AC_MSG_RESULT(Not found) fi ]) AC_SUBST(XSL_DIR) AC_ARG_WITH(docbook-xsl,[[ --with-docbook-xsl=DIR use Docbook XSL in DIR/{htmlhelp,xhtml}]], [ if test -f "$withval/htmlhelp/htmlhelp.xsl"; then XSL_DIR=$withval fi ],[ AC_MSG_CHECKING(for htmlhelp.xsl) for d in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh \ /usr/local/share/xsl/docbook \ /usr/share/sgml/docbook/xsl-stylesheets-1.* do if test -f $d/htmlhelp/htmlhelp.xsl; then AC_MSG_RESULT($d) XSL_DIR=$d break fi done if test -z "$XSL_DIR"; then AC_MSG_RESULT(Not found) fi ]) ]) dnl helper get YAZ flasg/libs via yaz-config AC_DEFUN([YAZ_CONFIG], [ if test "x$yazpath" != "xNONE"; then yazconfig=$yazpath/yaz-config else if test "x$srcdir" = "x"; then yazsrcdir=. else yazsrcdir=$srcdir fi for i in ${yazsrcdir}/../../yaz ${yazsrcdir}/../yaz-* ${yazsrcdir}/../yaz; do if test -d $i; then if test -r $i/yaz-config; then yazconfig=$i/yaz-config fi fi done if test "x$yazconfig" = "xNONE"; then AC_PATH_PROG(yazconfig, yaz-config, NONE) fi fi AC_MSG_CHECKING(for YAZ via yaz-config) if $yazconfig --version >/dev/null 2>&1; then YAZLIB=`$yazconfig --libs $1` # if this is empty, it's a simple version YAZ 1.6 script # so we have to source it instead... if test "X$YAZLIB" = "X"; then . $yazconfig else YAZLALIB=`$yazconfig --lalibs $1` YAZINC=`$yazconfig --cflags $1` YAZVERSION=`$yazconfig --version` fi AC_MSG_RESULT([$yazconfig]) else AC_MSG_RESULT(Not found) YAZVERSION=NONE fi if test "X$YAZVERSION" != "XNONE"; then AC_MSG_CHECKING([for YAZ version]) AC_MSG_RESULT([$YAZVERSION]) if test "$2"; then have_yaz_version=`echo "$YAZVERSION" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` req_yaz_version=`echo "$2" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` if test "$have_yaz_version" -lt "$req_yaz_version"; then AC_MSG_ERROR([$YAZVERSION. Requires YAZ $2 or later]) fi fi fi ]) dnl helper get YAZ flags/libs via yaz-config dnl argument 1 is components (server,icu,static) dnl argument 2 is version required (or later) AC_DEFUN([YAZ_INIT], [ AC_SUBST(YAZLIB) AC_SUBST(YAZLALIB) AC_SUBST(YAZINC) AC_SUBST(YAZVERSION) yazconfig=NONE yazpath=NONE AC_ARG_WITH(yaz, [ --with-yaz=DIR use yaz-config in DIR; DIR=pkg to use pkg-config], [yazpath=$withval]) if test "x$yazpath" = "xpkg"; then COMP=yaz for i in $1; do if test "$i" != "static"; then COMP="$COMP yaz-$i" fi done PKG_CHECK_MODULES([YAZ], [$COMP], [ YAZLIB=$YAZ_LIBS YAZLALIB=$YAZLIB YAZINC=$YAZ_CFLAGS AC_MSG_CHECKING([for YAZ version]) YAZVERSION=`$PKG_CONFIG --modversion yaz` AC_MSG_RESULT([$YAZVERSION]) if test "$2"; then if ! $PKG_CONFIG --atleast-version=$2 yaz; then AC_MSG_ERROR([$YAZVERSION. Requires YAZ $2 or later]) fi fi ]) else YAZ_CONFIG($1,$2) fi ]) yaz-5.31.1/m4/libtool.m40000644000175000017500000112677113776413332011603 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # 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. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN ## ------------------------------------- ## ## Accumulate code for creating libtool. ## ## ------------------------------------- ## # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) ## ------------------------ ## ## FIXME: Eliminate VARNAME ## ## ------------------------ ## # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*|11.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cr} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # flang / f18. f95 an alias for gfortran or flang on Debian flang* | f18* | f95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS yaz-5.31.1/m4/mk_version.tcl0000664000175000017500000000242314152153100012520 00000000000000#!/usr/bin/tclsh proc usage {} { puts {mk_version.tcl [-v] IDMETA infile ..} exit 1 } set verbose 0 set l [llength $argv] set i 0 while {$i < $l} { set arg [lindex $argv $i] switch -glob -- $arg { -v { incr verbose } default { if {![info exists conffile]} { set conffile $arg } else { lappend infiles $arg } } } incr i } if {![info exists infiles]} { puts "mk_version.tcl: missing input file(s)" usage } set f [open $conffile r] while {1} { set cnt [gets $f line] if {$cnt < 0} { break } regexp {VERSION=([0-9.]+)} $line s version } close $f set maps(VERSION) $version set c [split $version .] set versionl [expr ([lindex $c 0] * 256 + [lindex $c 1]) * 256 + [lindex $c 2]] set maps(VERSION_HEX) [format %x $versionl] if {[llength $c] == 3} { lappend c 1 } set maps(WIN_FILEVERSION) [join $c ,] set maps(VERSION_SHA1) {} foreach x [array names maps] { puts "$x=$maps($x)" } foreach ifile $infiles { set if [open "${ifile}.in" r] set of [open "${ifile}" w] while {1} { set cnt [gets $if line] if {$cnt < 0} { break } foreach x [array names maps] { regsub -all "@$x@" $line $maps($x) line } puts $of $line } close $if close $of } yaz-5.31.1/m4/common.nsi0000664000175000017500000000343514152153100011647 00000000000000; Common NSIS macro for YAZ, Zebra, etc ; Copyright (C) Index Data ; See the file LICENSE for details. !define VSVER "$%VisualStudioVersion%" !define VS_REDIST_EXE "vc_redist.${VSARCH}.exe" ; VS 2017 defines VCToolsRedistDir env (and hopefully later versions too) !if "${VSVER}" == "14.0" !define VS_REDIST_FULL "$%VSINSTALLDIR%\VC\redist\1033\${VS_REDIST_EXE}" !else !define VS_REDIST_FULL "$%VCToolsRedistDir%${VS_REDIST_EXE}" !endif ; For example can be found with regedit: ; Microsoft Visual C++ 2013 x86 Minimum Runtime !if "${VSARCH}" == "x64" ; 64-bit InstallDir "$PROGRAMFILES64\$(^Name)" !if "${VSVER}" == "14.0" ; Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.23026 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\51E9E3D0A7EDB003691F4BFA219B4688" !else if "${VSVER}" == "15.0" ; Microsoft Visual C++ 2017 x64 Minimum Runtime - 14.13.26020 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\4BD6D1222E64C3330BB9F59453D19008" !else if "${VSVER}" == "16.0" ; Microsoft Visual C++ 2019 x64 Minimum Runtime - 14.28.29334 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\B5D7F3A8D2249D94487FD81C7B879276" !else !error ${VSVER} !endif !else ; 32-bit InstallDir "$PROGRAMFILES\$(^Name)" !if "${VSVER}" == "14.0" ; Microsoft Visual C++ 2015 x86 Minimum Runtime - 14.0.23026 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\55E3652ACEB38283D8765E8E9B8E6B57" !else if "${VSVER}" == "15.0" ; Microsoft Visual C++ 2017 x86 Minimum Runtime - 14.13.26020 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\C6F172F8B7E6A0D359B1E6B796D487DB" !else if "${VSVER}" == "16.0" ; Microsoft Visual C++ 2019 x86 Minimum Runtime - 14.28.29334 !define VS_REDIST_KEY "SOFTWARE\Classes\Installer\Products\218A10D01A28F1845864E8829E678FFD" !else !error ${VSVER} !endif !endif yaz-5.31.1/test/0000775000175000017500000000000014157607106010375 500000000000000yaz-5.31.1/test/marc1.marc0000664000175000017500000000173414157607106012171 0000000000000000988nam0 32003011 45 001002800000004001000028008002800038009001100066021002700077032001500104100002100119245005400140250004100194260004000235300002700275504012300302512006000425520005000485652002400535652001600559666001600575666001900591666001500610666001800625666001900643666000900662666001500671000a9 181 423 4b710100fa000rnae000tmuua2002buslengv0000aagxx000a1-4000-4596-7d$14,00000&DBC2004390000aSlomanhLarry000aOn the road with Bob DylaneLarry "Ratso" Sloman000aRevised editionbThree Rivers Press000aNew YorkbThree Rivers Pressc2002000axv, 464 sider, tavler000aLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"000aPå omslaget: With a new introduction by Kinky Friedman000aTidligere: 1. udgave. New York, Bantam, 19780000m99.4aDylanhBob000p78.9064v5000ffolkemusik000ffolkemusikere000frockmusik000frockmusikere000frockkoncerter000eUSA000i1970-1979yaz-5.31.1/test/marc5.json.marc0000664000175000017500000000075414157607106013146 0000000000000000492nam a22001455a 450000100100000000500170001000800410002710000520006824501040012025000140022426000230023830000160026165000510027765000180032800027748520051026111436.0050413s1894 gr 000 0 gre d1 aΜαÏοÏδης, Κωνσταντίνος Ιω10aΕλληνικόν κÏυπτογÏαφικόν λεξικόν /cΚωνστ. Ι. ΜαÏοÏδης. η εκδ. aΑθήνα,c1894. a248 σελ. 0aGreek language, ModernxDialectsvDictionaries 0aCryptography.yaz-5.31.1/test/marc1.chr0000664000175000017500000000001314157607106012010 00000000000000iso-8859-1 yaz-5.31.1/test/marccol5.u8.marc0000664000175000017500000005140314157607106013224 0000000000000001385cam a2200301Ka 4500001001300000003000600013005001700019008004100036040003000077020001500107020001800122035002000140041001100160092001400171090002200185049000900207245017900216260007900395300002200474500008300496546002500579650004500604650004500649700002300694880022100717880013300938994001201071ocm57665435 OCoLC20080328102918.0050215s2004 ii d 000 0 eng d aACNcACNdOCLCQdIXAdOCL a8176500623 a9788176500623 a(OCoLC)576654350 abeneng a491.44321 aPK1687b.E65 2004 aLNNA006880-01aEnglish-Bengali Bengali-English combined dictionary =bImÌ£raÌ„jiÌ„ - BaÌ„mÌ£laÌ„ BaÌ„mÌ£laÌ„ - ImÌ£raÌ„jiÌ„ samshukuta diksaÌnariÌ„ /ccompiled by Debasis Adhikary. aNew Delhi :bWorld of Learning :bDistributed by Star Publications,c2004. a1518 p. ;c23 cm. a"More than 90,000 total words from English to Bengali and Bengali to English." aBengali and English. 0aEnglish languagevDictionariesxBengali. 0aBengali languagevDictionariesxEnglish.1 aAdhikary, Debasis.006245-01aEnglish-Bengali Bengali-English combined dictionary =bইংরাজী - বাংলা বাংলা - ইংরাজী সংযà§à¦•à§à¦¤ ডিকà§à¦¶à¦¨à¦°à§€ /ccompiled by Debasis Adhikary.316246-00aইংরাজী - বাংলা বাংলা - ইংরাজী সংযà§à¦•à§à¦¤ ডিকà§à¦¶à¦¨à¦°à§€ aC0bLNN02873nam a22005053i 4500001001300000003000600013005001700019008004100036040001300077035002000090041001300110050001600123049000900139100002400148240002500172245020900197246010100406250003100507260016100538300001100699440006000710546003500770500006200805500003300867504004100900650003200941650004900973700005201022700004801074700004401122740003901166740003501205880003201240880004601272880033401318880003801652880026101690880009601951880007302047880007102120880006102191880005302252880005002305994001202355ocm86174229 OCoLC20080328102918.0070326s1977 ii b 000 0 san d aSTFcSTF a(OCoLC)861742290 asanahin04aPK511b1977 aLNNA0 6880-01aPaÌ„nÌ£ini.10aAsÌ£tÌ£aÌ„dhyaÌ„yiÌ„106880-02aAsÌ£tÌ£aÌ„dhyaÌ„yiÌ„suÌ„trapaÌ„tÌ£hahÌ£ :bPaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„-liṅgaÌ„nusÌaÌ„sanasahitasÌca /cMaharsÌ£ipaÌ„nÌ£inipranÌ£iÌ„tahÌ£ ; upoddhaÌ„talekhakahÌ£ SÌriÌ„naÌ„raÌ„yanÌ£a MisÌrahÌ£.15aAsÌ£tÌ£aÌ„dhyaÌ„yiÌ„suÌ„trapaÌ„tÌ£ha :bwith PaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„ and LiṅgaÌ„nusÌaÌ„sana 6880-03a1. samÌ£skaranÌ£a. 6880-04aVaÌ„raÌ„nÌ£asiÌ„ ;aDilliÌ„ :bCaukhambhaÌ„ OriyantÌ£aÌ„liyaÌ„ ;aVaÌ„raÌ„nÌ£asiÌ„ :banya praÌ„ptisthaÌ„na, CaukhambhaÌ„ VisÌvabhaÌ„ratiÌ„,c1977. a100 p. 06880-05aGokuladaÌ„sa SamÌ£skrÌ¥ta granthamaÌ„laÌ„ ;v29 aIn Sanskrit; introd. in Hindi. a"SampaÌ„dakahÌ£ SÌriÌ„naÌ„raÌ„yanÌ£a MisÌrahÌ£"--Cover. aAdded title page in English. aIncludes bibliographical references. 0aSanskrit languagexGrammar. 0aSanskrit languagexAccents and accentuation.026880-06aPaÌ„nÌ£ini.tPaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„.026880-07aPaÌ„nÌ£ini.tLiṅgaÌ„nusÌaÌ„sana.1 6880-08aMisÌra, SÌriÌ„naÌ„raÌ„yanÌ£a.026880-09aPaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„.026880-10aLiṅgaÌ„nusÌaÌ„sana.0 6100-01aपाणिनी.106240-00aअषà¥à¤Ÿà¤¾à¤§à¥à¤¯à¤¾à¤¯à¥€106245-02aअषà¥à¤Ÿà¤¾à¤§à¥à¤¯à¤¾à¤¯à¥€à¤¸à¥‚तà¥à¤°à¤ªà¤¾à¤ à¤ƒ :bपाणिणीयशिकà¥à¤·à¤¾-लिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨à¤¸à¤¹à¤¿à¤¤à¤¶à¥à¤°à¥à¤š /cमहरà¥à¤·à¤¿à¤ªà¤¾à¤£à¤¿à¤¨à¤¿à¤ªà¥à¤°à¤£à¥€à¤¤à¤ƒ ; उपोदà¥à¤˜à¤¾à¤¤à¤²à¥‡à¤–कः शà¥à¤°à¥€à¤¨à¤¾à¤°à¤¾à¤¯à¤£ मिशà¥à¤°à¤ƒ. 6250-03a1. संसà¥à¤•रण. 6260-04aवाराणसी ;aदिलà¥à¤²à¥€ :bचौखमà¥à¤­à¤¾ ओरियनà¥à¤Ÿà¤¾à¤²à¤¿à¤¯à¤¾ ;aवाराणसी :bअनà¥à¤¯ पà¥à¤°à¤¾à¤ªà¥à¤¤à¤¿à¤¸à¥à¤¥à¤¾à¤¨, चौखमà¥à¤­à¤¾ विशà¥à¤µà¤­à¤¾à¤°à¤¤à¥€,c1977. 06440-05aगोकà¥à¤²à¤¦à¤¾à¤¸ संसà¥à¤•ृत गà¥à¤°à¤¨à¥à¤¥à¤®à¤¾à¤²à¤¾ ;v29026700-06aपाणिनी.tपाणिणीयशिकà¥à¤·à¤¾026700-07aपाणिनी.tलिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨.1 6700-08aमिशà¥à¤°, शà¥à¤°à¥€à¤¨à¤¾à¤°à¤¾à¤¯à¤£.026740-09aपाणिणीयशिकà¥à¤·à¤¾.026740-10aलिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨. aC0bLNN02242cam a2200433Ia 4500001001300000003000600013005001700019008004100036040003000077020002500107020001800132035002000150041001600170050002000186082001900206049000900225100002200234240004300256245013700299250001200436260007200448300004200520500004200562500007700604500007700681546003100758500002900789600002200818650004900840650004100889740004400930740002800974880006501002880017001067880031601237880013301553880011001686994001201796ocm44944167 OCoLC20080328102918.0000906s2000 ilua 000 0 tam d aOCOcOCOdOCLdOCLCQdTEF a0967621208 :c$24.95 a9780967621203 a(OCoLC)449441671 atamenghtam 4aPL4758.9.T5bT504a894.811bT597t aLNNA0 aTiruvalÌ£lÌ£uvar.106880-01aThirukku ral.lTamil & English106880-02aThirukkural :bThamizh Marai = Tirukkural : the Holy Scripture /c[by Tiruvalluvar ; English translation by P.S. Sundaram.]. a1st ed. aWoodridge, Ill. :bInternational Tamil Language Foundation,cc2000. a1813 p. :bill. (some col.) ;c20 cm. aTamil text, with English translation. a"An edition of this translation was published by Penguin Books in 1991." aSection 2 and section 3, English translation from Tamil by R. Natarajan. aText in Tamil and English. aNon-Latin script record.00aTiruvalÌ£lÌ£uvar. 0aTamil literaturevTranslations into English. 0aTamil language materialsxBilingual.02aHandbook of Tamil culture and heritage.02aTamils guide to future.106240-01aதிரூகà¯à®•௠றளà¯.lTamil & English106245-02aதிரூகà¯à®•à¯à®±à®³à¯ :bதமிழ௠மறை = Tirukkural : the Holy Scripture /c[by Tiruvalluvar ; English translation by P.S. Sundaram.]0 6505-00aSection 1: திரூகà¯à®•à¯à®±à®³à¯ : Tirukkural -- Section 2: தறிழà¯à®ªà¯ பணà¯à®ªà®¾à®Ÿà¯à®Ÿà¯‚க௠கையேடூ : The handbook of Tamil culture and heritage -- Section 3: தமிழின எதிரà¯à®•ால வழிகாடà¯à®Ÿà®¿ : Tamils guide to future.026740-00aதமிழà¯à®ªà¯ பணà¯à®ªà®¾à®Ÿà¯à®Ÿà¯‚க௠கையேடூ : The handbook of Tamil culture and heritage.026740-00aதமிழின எதிரà¯à®•ால வழிகாடà¯à®Ÿà®¿ : Tamils guide to future. aC0bLNN01025cam a2200301Ia 4500001001300000003000600013005001700019008004100036040002300077020001500100020001800115035002000133090002600153049000900179100002600188245005000214250003300264260006200297300002100359500001100380546001300391655002900404880003800433880008400471880005500555880010100610994001200711ocm62425106 OCoLC20080328102918.0051203s2002 th 000 f thaod aTEFcTEFdLNQdOCL a9749204808 a9789749204801 a(OCoLC)62425106 aPL4209.D837bP57 2002 aLNNA0 6880-01aDuÌ„angtawan.106880-02aPhracÌŒhan sǣnkon /cDuÌ„angtawan. 6880-03aPhim khrang thiÌ„ 3. 6880-04aKrung TheÌ„p :bPhimkham Samnakphim,c2545 [2002] a154 p. ;c21 cm. aNovel. aIn Thai. 7aHumorous fiction.2gsafd0 6100-01aดวงตะวัน.106245-02aพระจันทร์à¹à¸ªà¸™à¸à¸¥ /cดวงตะวัน. 6250-03aพิมพ์ครั้งที่ 3. 6260-04aà¸à¸£à¸¸à¸‡à¹€à¸—พฯ :bพิมพ์คำ สานัà¸à¸žà¸´à¸¡à¸žà¹Œ,c2545. aC0bLNN02684cam a2200409 a 45000010009000000050017000090080041000260350018000679060045000850100017001300400029001470430021001760500021001971000056002182450184002742600039004583000029004974400063005265000203005895040053007926000056008456100047009016500023009486510042009716510038010137000058010518520042011098800079011518800288012308800055015188800094015738800320016678800079019878800101020668800091021679850016022581487678220071121181842.0990326s1997 ai a b 001 0 armo  a(Uk)006855813 apbcbccundeterduencipf20gy-nonroman a 99189840  aDLCbengcDLCdDLC-RdUk aa-ai---aa-tu---00aBX121b.S63 19971 6880-01aSmbatyantsÊ¿, Artak,cEpiskopos,d1876-1937106880-02aArtak Episkopos SmbatyantsÊ¿ (TaushetsÊ¿i) : hogevor, grakan, patma-banasirakan gortsuneutÊ¿yuneÌŒ ev gndakaharutÊ¿yuneÌŒ, 1876-1937 tÊ¿tÊ¿. /ckazmetsÊ¿ Sandro Behbudyan. 6880-03aErevan :b"Anahit",c1997. a691 p. :bill. ;c27 cm. 06880-04aVaveragrer Hay EkeghetsÊ¿u patmutÊ¿yan ;vgirkÊ¿ 3 6880-05aAt head of title: Hayastani HanrapetutÊ¿yan KarÌ£avarutÊ¿yann arÌ£eÌŒntÊ¿er. Arkhivayin Gortsi VarchÊ¿utÊ¿yun. Arvesti, GrakanutÊ¿yan ev Mamuli PÊ¿astatÊ¿ghtÊ¿eri Petakan Kentronakan Arkhiv. aIncludes bibliographical references and indexes.106880-06aSmbatyantsÊ¿, Artak,cEpiskopos,d1876-1937206880-07aArmenian ChurchxHistoryvSources. 0aArmenianszTurkey. 0aArmeniaxHistoryy1801-1900vSources. 0aArmeniaxHistoryy1901-vSources.1 6880-08aBehbudyan, Sandroq(Sandro Artashesi),d1934-41aBritish LibrarybOCjHEC.1994.a.294/31 6100-01 /aÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö, Ô±Ö€Õ¿Õ¡Õ¯,cÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½,d1876-1937.106245-02 /aÔ±Ö€Õ¿Õ¡Õ¯ ÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½ ÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö (ÕÕ¡Õ¸Ö‚Õ·Õ¥ÖÕ«) : Õ°Õ¸Õ£Õ¥Õ¾Õ¸Ö€, Õ£Ö€Õ¡Õ¯Õ¡Õ¶ ÕºÕ¡Õ¿Õ´Õ¡-Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶ Õ£Õ¸Ö€Õ®Õ¸Ö‚Õ¶Õ¥Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨ Õ¥Õ¾ Õ£Õ¶Õ¤Õ¡Õ¯Õ¡Õ°Õ¡Ö€Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨, 1876-1937 Õ©Õ©. /cÕ¯Õ¡Õ¦Õ´Õ¥Ö ÕÕ¡Õ¶Õ¤Ö€Õ¸ Ô²Õ¥Õ°Õ¢Õ¸Ö‚Õ©ÕµÕ¡Õ¶. 6260-03 /aÔµÖ€Õ¥Õ¾Õ¡Õ¶ :b«Անահիտ»,c1997. 06440-04 /aÕŽÕ¡Õ¾Õ¥Ö€Õ¡Õ£Ö€Õ¥Ö€ Õ€Õ¡Õµ ÔµÕ¯Õ¥Õ²Õ¥ÖÕ¸Ö‚ ÕºÕ¡Õ¿Õ´Õ¸Ö‚Õ©ÕµÕ¡Õ¶ ;vÕ£Õ«Ö€Ö„ 3 6500-05 /aÕÕ«Õ¿Õ²Õ¸Õ½Õ« Õ£Õ¬Õ¸Ö‚Õ­: Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ« Õ€Õ¡Õ¶Ö€Õ¡ÕºÕ¥Õ¿Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Ô¿Õ¡Õ¼Õ¡Õ¾Õ¡Ö€Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Õ¡Õ¼Õ¨Õ¶Õ©Õ¥Ö€. Ô±Ö€Õ­Õ«Õ¾Õ¡ÕµÕ«Õ¶ Ô³Õ¸Ö€Õ®Õ« ÕŽÕ¡Ö€Õ¹Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶. Ô±Ö€Õ¾Õ¥Õ½Õ¿Õ«, Ô³Ö€Õ¡Õ¯Õ¡Õ¶Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Õ¥Õ¾ Õ„Õ¡Õ´Õ¸Ö‚Õ¬Õ« Ô²Õ¡Õ½Õ¿Õ¡Õ©Õ²Õ©Õ¥Ö€Õ« ÕŠÕ¥Õ¿Õ¡Õ¯Õ¡Õ¶ Ô¿Õ¥Õ¶Õ¿Ö€Õ¸Õ¶Õ¡Õ¯Õ¡Õ¶ Ô±Ö€Õ­Õ«Õ¾.106600-06 /aÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö, Ô±Ö€Õ¿Õ¡Õ¯,cÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½,d1876-1937.206610-07 /aÕ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ Õ. ÔµÕ¯Õ¥Õ²Õ¥ÖÕ«xÕŠÕ¡Õ¿Õ´Õ¸Ö‚Õ©Õ«Ö‚Õ¶vÔ±Õ²Õ¢Õ«Ö‚Ö€Õ¶Õ¥Ö€.1 6700-08 /aÔ²Õ¥Õ°Õ¢Õ¸Ö‚Õ©ÕµÕ¡Õ¶, ÕÕ¡Õ¶Õ¤Ö€Õ¸,q(ÕÕ¡Õ¶Õ¤Ö€Õ¸ Ô±Ö€Õ¿Õ¡Õ·Õ¥Õ½Õ«),d1934- aarmenian LC01466 am a2200349 a 45000010009000000050017000090080041000260350018000679060045000850100017001300350023001470400029001700430012001990500020002112450037002312600088002683000035003565050031003916100051004226500038004736500031005116500034005426500047005766500049006237100051006728520040007238800054007638800131008178800076009488800076010249850016011001487678320071121181846.0040502m19461951sy ac 000 0 arm  a(Uk)006881105 apbcbccundeterduencipf20gy-nonroman a 2003207810 a(OCoLC)ocm51506679 aDLCbengcDLCdOCoLCdUk aa-sy---00aBV4539.A75bM36006880-01aMananay :btaregrkÊ¿oyk. 6880-02aHaleÌ„p :bHratarakutÊ¿iwn Hogewor EghbarutÊ¿ean EritasardatsÊ¿,c1946-1951 a2 v. :bill., ports. ;c23 cm.0 a[1]. 1946, 5-6. 1950-1951.206880-03aHogewor EghbayrutÊ¿iwn EritasardatsÊ¿. 0aArmeniansxReligious lifezSyria. 0aAlmanacs, ArmenianzSyria. 0aYouthxReligious lifezSyria. 0aArmenianszSyriaxSocial life and customs. 0aArmenianszLebanonxSocial life and customs.2 6880-04aHogewor EghbayrutÊ¿iwn EritasardatsÊ¿.41aBritish LibrarybOCjHEC.2002.a.492006245-01 /aÕ„Õ¡Õ¶Õ¡Õ¶Õ¡Õµ :bÕ¿Õ¡Ö€Õ¥Õ£Ö€Ö„Õ¸ÕµÕ¯. 6260-02 /aÕ€Õ¡Õ¬Õ§Õº :bÕ€Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ¸Ö‚Õ©Õ«Ö‚Õ¶ Õ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ¥Õ¡Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö,c1946-1951.206610-03 /aÕ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ«Ö‚Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö.2 6710-04 /aÕ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ«Ö‚Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö. aarmenian LC01818cab a2200385 a 45000010009000000050017000090080041000260350018000679060045000850100017001300190015001470400016001622450074001782460009002522600085002613000017003465000047003635000086004105050147004966100060006436500026007036500040007296510038007696510033008076550037008407100060008777400022009378520035009598800102009948800119010968800089012158800089013048800026013939850013014191487741020071121185010.0040502m18971900enkmr|p 0 z0arm  a(Uk)002848266 apbcbccundeterduencipf20gy-nonroman a 2007970004x a2532250240 aUkbengcUk006880-01aMart :b[amsatÊ¿ertÊ¿, oÌ„rgan HnchÊ¿akean KusaktsÊ¿utÊ¿ean].3 aMard 6880-02aLondon :b[SotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn],c1897-1900. av. ;c44 cm. a"Battle": an Armenian political newspaper. a"Mart" published after 1897, as "HnchÊ¿ak" could not be due to legal proceedings.0 aI year, no. 1 (15 Apr., 1897)-10 (10 Apr., 1898); II year, no. 11 (7 May, 1898)-16 (Mar., 1899); III year, no. 17 (Aug., 1899)-27 (Oct., 1900)206880-03aSotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn 0aArmenian periodicals. 0aArmeniansxPolitics and government. 0aArmeniaxPolitics and government. 0aArmeniaxHistoryy1801-1900. 4aPeriodical publications.- London2 6880-04aSotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn0 6880-05aHnchÊ¿ak.41aBritish LibrarybHMNTSjOP.411006245-01 /aÕ„Õ¡Ö€Õ¿ :b[Õ¡Õ´Õ½Õ¡Õ©Õ¥Ö€Õ©, Ö…Ö€Õ£Õ¡Õ¶ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ¥Õ¡Õ¶]. 6260-02 /aÔ¼Õ¸Õ¶Õ¤Õ¸Õ¶ :b[ÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶],c1897-1900.206610-03 /aÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶.2 6710-04 /aÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶.0 6740-05 /aÕ€Õ¶Õ¹Õ¡Õ¯. aarmenian03105cab a2200601 a 45000010009000000050017000090080041000260350018000679060045000850100017001300190015001470350020001620400016001820410023001980430021002212450093002422460022003352460028003572460055003852460073004402460052005132460037005652600110006023000033007123100031007453210026007763620044008023620020008465000127008665000070009935050072010635150027011355460028011626500028011906500047012186500039012656510026013046510039013306550036013697000049014058520036014548800133014908800082016238800102017058800071018078800056018788800139019348800061020738800202021348800093023368800061024299850013024901487741320071121185021.0000316d18551865fr er p 0 z0armod a(Uk)002863571 apbcbccundeterduencipf20gy-nonroman a 2007970007x a2541830122 a(OCoLC)43646516 aUkbengcUk1 aarmafrearusharm aa-ai---ae------006880-01aMaseatsÊ¿ aghawni :bawetaber HayastaneaytsÊ¿ /c[khmb. GabrieÌ„l AyvazeantsÊ¿].15aColombe du Massis15aMessager de l'ArmeÌnie136880-02aMaseatsÊ¿ aghawni awetaber HayastaneaytsÊ¿146880-03aMaseatsÊ¿ aghawni ew Tsiatsan HayastaneaytsÊ¿f306880-04aTsiatsan HayastaneaytsÊ¿f306880-05aAwetaber HayastaneaytsÊ¿ 6880-06aPÊ¿ariz :b[Khmbagir ew hratarakichÊ¿ GabrieÌ„l AyvazeantsÊ¿],c1855-e(Paris :fImp. W. Remquet) av. :bill., ports. ;c32 cm. aBiweekly,b<1 Sept. 1861-> aMonthly,bJan. 1855->0 6880-07a1. tari, tÊ¿iw 1 (Hunuar 1855)-1 aCeased in 1865. 6880-08aImprint varies: Paris : i GranotsÊ¿i Chaniki Aramean, Jan. 1856-> ; Theodosia : Khalipean Usumnaran,  6880-09aLatest issue consulted: 6. tari, tÊ¿iw 17 (15 Sept. 1861)0 aVol. I (1855); vol. II (1856); vol. III (1857); vol. VI, 1-8 (1861) aNot published in 1859. aIn Armenian and French. 0aArmeniansvPeriodicals. 0aArmenianszForeign countriesvPeriodicals. 0aArmeniansvBiographyvPeriodicals. 0aArmeniavPeriodicals. 0aEuropev19th centuryvPeriodicals. 4aPeriodical publications.- Paris1 6880-10aAyvazovskÊ¿i, GabrieÌ„l,d1812-1880.41aBritish LibrarybOCj17070.g.5.006245-01 /aÕ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« :bÕ¡Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ /c[Õ­Õ´Õ¢. Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬ Ô±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö].136246-02 /aÕ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« Õ¡Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ146246-03 /aÕ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« Õ¥Ö‚ Ô¾Õ«Õ¡Õ®Õ¡Õ¶ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖf<ÕÕ¥ÕºÕ¿. 1861->306246-04 /aÔ¾Õ«Õ¡Õ®Õ¡Õ¶ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖf<ÕÕ¥ÕºÕ¿. 1861->306246-05 /aÔ±Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ 6260-06 /aÕ“Õ¡Ö€Õ«Õ¦ :b[Ô½Õ´Õ¢Õ¡Õ£Õ«Ö€ Ö‡ Õ°Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ«Õ¹ Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬ Ô±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö],c1855-e(Paris :fImp. W. Remquet)0 6362-07 /a1. Õ¿Õ¡Ö€Õ«, Õ©Õ«Ö‚ 1 (Õ…Õ¸Ö‚Õ¶Õ¸Ö‚Õ¡Ö€ 1855)- 6500-08 /aÕÕ¡Ö€Õ¢Õ¥Ö€ Õ°Ö€Õ¡Õ¿.: Õ“Õ¡Ö€Õ«Õ¦ : Õ« Ô³Ö€Õ¡Õ¶Õ¸ÖÕ« ÕƒÕ¡Õ¶Õ«Õ¯Õ« Ô±Ö€Õ¡Õ´Õ¥Õ¡Õ¶, Õ…Õ¸Ö‚Õ¶Õ¸Ö‚Õ¡Ö€ 1856-> ; Ô¹Õ¥Õ¸Õ¤Õ¸Õ½Õ«Õ¡ : Ô½Õ¡Õ¬Õ«ÕºÕ¥Õ¡Õ¶ ÕˆÖ‚Õ½Õ¸Ö‚Õ´Õ¶Õ¡Ö€Õ¡Õ¶, <ÕÕ¥ÕºÕ¿. 1861-> 6500-09 /aÕ”Õ¶Õ¶Õ¸Ö‚Õ¡Õ® Õ¾Õ¥Ö€Õ»Õ«Õ¶ Õ©Õ«Ö‚: 6. Õ¿Õ¡Ö€Õ«, Õ©Õ«Ö‚ 17 (15 ÕÕ¥ÕºÕ¿. 1861)1 6700-10 /aÔ±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö, Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬d1812-1880. aarmenian01794 ab a2200349 a 45000010009000000050017000090080041000260350018000679060045000850100017001300190015001470400016001622450208001782460021003862600060004073000017004675000029004846500028005136510045005416510061005866510073006477000044007207000030007647000035007948520036008298800319008658800088011848800067012728800042013398800050013819850013014311487741720071121185036.0040502m18121816it wu|p 0 a0arm  a(Uk)002870975 apbcbccundeterduencipf20gy-nonroman a 2007970012x a2543960295 aUkbengcUk006880-01aDitak Biwzandean :bshabatÊ¿atÊ¿ertÊ¿ apa erkshapatÊ¿atÊ¿ertÊ¿, patmutÊ¿iwn kÊ¿aghakÊ¿agan u paterazmakan, banasirakan, ekeghetsakan /ckhmb. Grigor Gaparachean, M. PÊ¿iwskiwlean, M. Jakhjakhean.3 aTidag Piwzantean 6880-02ai Venetik :bi Vans Srboyn Ghazaru,c1812-1816. av. ;c23 cm. aBegan 1808; ceased 1816. 0aArmeniansvPeriodicals. 0aEuropexHistoryy1789-1815vPeriodicals. 0aEuropexPolitics and governmenty1789-1915vPeriodicals. 0aFrancexHistoryyConsulate and First Empire, 1799-1815vPeriodicals.1 6880-03aKarapetean, Grigor KhaparÌ£achi1 6880-04aPÊ¿iwskiwlean, M.1 6880-05aJakhjakhean, ManueÌ„l.41aBritish LibrarybOCj17070.d.3.006245-01 /aÔ´Õ«Õ¿Õ¡Õ¯ Ô²Õ«Ö‚Õ¦Õ¡Õ¶Õ¤Õ¥Õ¡Õ¶ :bÕ·Õ¡Õ¢Õ¡Õ©Õ¡Õ©Õ¥Ö€Õ© Õ¡ÕºÕ¡ Õ¥Ö€Õ¯Õ·Õ¡Õ¢Õ¡Õ©Õ¡Õ©Õ¥Ö€Õ©, ÕºÕ¡Õ¿Õ´Õ¸Ö‚Õ©Õ«Ö‚Õ¶ Ö„Õ¡Õ²Õ¡Ö„Õ¡Õ¯Õ¡Õ¶ Õ¸Ö‚ ÕºÕ¡Õ¿Õ¥Ö€Õ¡Õ¦Õ´Õ¡Õ¯Õ¡Õ¶, Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶, Õ¥Õ¯Õ¥Õ²Õ¥ÖÕ¡Õ¯Õ¡Õ¶ /cÕ­Õ´Õ¢. Ô³Ö€Õ«Õ£Õ¸Ö€ Ô³Õ¡ÕºÕ¡Ö€Õ¡Õ³Õ¥Õ¡Õ¶, Õ„. Õ“Õ«Ö‚Õ½Õ¯Õ«Ö‚Õ¬Õ¥Õ¡Õ¶, Õ„. Õ‹Õ¡Õ­Õ»Õ¡Õ­Õ¥Õ¡Õ¶. 6260-02 /aÕ« ÕŽÕ¥Õ¶Õ¥Õ¿Õ«Õ¯ :bÕ« ÕŽÕ¡Õ¶Õ½ ÕÖ€Õ¢Õ¸ÕµÕ¶ Õ‚Õ¡Õ¦Õ¡Ö€Õ¸Ö‚,c1812-1816.1 6700-03 /aÔ¿Õ¡Ö€Õ¡ÕºÕ¥Õ¿Õ¥Õ¡Õ¶, Ô³Ö€Õ«Õ£Õ¸Ö€ Ô½Õ¡ÕºÕ¡Õ¼Õ¡Õ³Õ«.1 6700-04 /aÕ“Õ«Ö‚Õ½Õ¯Õ«Ö‚Õ¬Õ¥Õ¡Õ¶, Õ„.1 6700-05 /aÕ‹Õ¡Õ­Õ»Õ¡Õ­Õ¥Õ¡Õ¶, Õ„Õ¡Õ¶Õ¸Ö‚Õ§Õ¬. aarmenian01672cam a2200325 a 45000010009000000050017000090080041000260350018000679060045000850100017001300400016001471000045001632400017002082450115002252460058003402600087003983000046004855000028005316500025005597000044005847100055006288520035006838800060007188800181007788800090009598800133010498800060011828800091012429850013013331487741820071121185039.0040502m19481961ai acf b 000 0darm  a(Uk)006842308 apbcbccundeterduencipf20gy-nonroman a 2007970013 aUkbengcUk1 6880-01aAbovyan, KhachÊ¿atur,d1805-184810aWorks.f1948106880-02aErkeri liakatar zhoghovatsu utÊ¿ hatorov /cKh. Abovyan ; [khmb. kolegia, Av. Isahakyan ... [et al.]].156880-03aPolnoe sobranie sochineniiÌŒ v vosʹmi tomakh 6880-04aErevan :bHSSRÌ£ GitutÊ¿yunneri Akademiai HratarakchÊ¿utÊ¿yun,c1948-1961. a8 v. in 10 books :bill., port. ;c26 cm. aIllustrated end-papers. 0aArmenian literature.1 6880-05aIsahakyan, AvetikÊ¿,d1875-19572 6880-06aM. Abeghyani Anvan GrakanutÊ»yan Institut.41aBritish LibrarybOCj17046.h.11 6100-01 /aÔ±Õ¢Õ¸Õ¾ÕµÕ¡Õ¶, Ô½Õ¡Õ¹Õ¡Õ¿Õ¸Ö‚Ö€,d1805-1848.106245-02 /aÔµÖ€Õ¯Õ¥Ö€Õ« Õ¬Õ«Õ¡Õ¯Õ¡Õ¿Õ¡Ö€ ÕªÕ¸Õ²Õ¸Õ¾Õ¡Õ®Õ¸Ö‚ Õ¸Ö‚Õ© Õ°Õ¡Õ¿Õ¸Ö€Õ¸Õ¾ /cÔ½. Ô±Õ¢Õ¸Õ¾ÕµÕ¡Õ¶ ; [Õ­Õ´Õ¢. Õ¯Õ¸Õ¬Õ¥Õ£Õ«Õ¡ Ô±Õ¾. Ô»Õ½Õ¡Õ°Õ¡Õ¯ÕµÕ¡Õ¶ ... [Ö‡ Õ¸Ö‚Ö€Õ·Õ¶.]].156246-03 /aПолное Ñобрание Ñочинений в воÑьми томах 6260-04 /aÔµÖ€Õ¥Õ¾Õ¡Õ¶ :bÕ€ÕÕÕŒ Ô³Õ«Õ¿Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¶Õ¥Ö€Õ« Ô±Õ¯Õ¡Õ¤Õ¥Õ´Õ«Õ¡Õ« Õ€Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ¹Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶,c1948-1961.1 6700-05 /aÔ»Õ½Õ¡Õ°Õ¡Õ¯ÕµÕ¡Õ¶, Ô±Õ¾Õ¥Õ¿Õ«Ö„,d1875-1957.2 6710-06 /aÕ„. Ô±Õ¢Õ¥Õ²ÕµÕ¡Õ¶Õ« Ô±Õ¶Õ¾Õ¡Õ¶ Ô³Ö€Õ¡Õ¯Õ¡Õ¶Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Ô»Õ¶Õ½Õ¿Õ«Õ¿Õ¸Ö‚Õ¿. aarmenian01187cab a2200301 a 45000010009000000050017000090080041000260350018000679060045000850100017001300190015001470400016001622450065001782460009002432460009002522600052002613000017003135000147003305050052004776500038005296500036005676500031006036550037006348520036006718800099007078800065008069850014008711487901520071203081856.0040502m18641877tu mr|p 0 z0arm  a(Uk)002824493 apbcbccundeterduencipf20gy-nonroman a 2007970001x a2520240032 aUkbengcUk006880-01aHoys :b[droÌ„shak hayreneats, amsagir banasirakan].3 aHuys3 aYuys 6880-02aArmash :b[Armashi VankÊ¿],c1864-1877. av. ;c23 cm. aHoys. “Hope,†a monthly magazine of literature in modern Armenian, Western dialect, printed at the Convent of the Mother of God at Armash.0 aVol. I, 1-12 (1864-1865), II, 13-24 (1865-1866) 0aArmenian literaturevPeriodicals. 0aArmenian languagevPeriodicals. 0aArmeniansxReligious life. 4aPeriodical publications.- Armash41aBritish LibrarybOCj17070.g.3.006245-01 /aÕ…Õ¸ÕµÕ½ :bÕ¤Ö€Ö…Õ·Õ¡Õ¯ Õ°Õ¡ÕµÖ€Õ¥Õ¶Õ¥Õ¡Ö, Õ¡Õ´Õ½Õ¡Õ£Õ«Ö€ Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶]. 6260-02 /aÔ±Ö€Õ´Õ¡Õ· :b[Ô±Ö€Õ´Õ¡Õ·Õ« ÕŽÕ¡Õ¶Ö„],c1864-1877. aarmenian2yaz-5.31.1/test/test_timing.c0000664000175000017500000000241314152153071012777 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #ifdef WIN32 #include #endif static void tst(void) { yaz_timing_t t = yaz_timing_create(); double real, user, sys; int i = 0; double x = 0; YAZ_CHECK(t); if (!t) return; #ifdef WIN32 Sleep(10); #endif for (i = 0; i<5000000; i++) x += i; YAZ_CHECK_EQ(i, 5000000); yaz_log(YLOG_LOG, "i=%d x=%f", i, x); yaz_timing_stop(t); real = yaz_timing_get_real(t); YAZ_CHECK(real == -1.0 || real >= 0.0); user = yaz_timing_get_user(t); YAZ_CHECK(user == -1.0 || user >= 0.0); sys = yaz_timing_get_sys(t); YAZ_CHECK(sys == -1.0 || sys >= 0.0); yaz_log(YLOG_LOG, "real=%f user=%f sys=%f", real, user, sys); yaz_timing_destroy(&t); YAZ_CHECK(!t); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/test_icu.2.xml0000664000175000017500000000025014157607106013013 00000000000000 $back = \` ; $back $back > “ ; # generate right d.q.m. (double quotation mark) $back > ‘ ; yaz-5.31.1/test/xml2tmarc1.xml0000664000175000017500000000351714157607106013037 00000000000000 00988nam0a32003011 450 9 181 423 4710100anemu2002useng0axx1-4000-4596-7$14,00DBC200439SlomanLarryOn the road with Bob DylanLarry "Ratso" SlomanRevised editionThree Rivers PressNew YorkThree Rivers Press2002xv, 464 sider, tavlerLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"På omslaget: With a new introduction by Kinky FriedmanTidligere: 1. udgave. New York, Bantam, 197899.4DylanBob78.90645folkemusikfolkemusikererockmusikrockmusikererockkoncerterUSA1970-1979 yaz-5.31.1/test/xml2tmarc6.xml.marc0000664000175000017500000000055614157607106013765 0000000000000000366nam a22001698a 4500001001300000003000400013005001700017008004100034010001700075040001300092050001200105100001700117245003000134260001200164263000900176300001100185 11224466 DLC00000000000000.0910710c19910701nju 00010 eng  a 11224466  aDLCcDLC00a123-xyz10aJack Collins10aHow to program a computer1 aPenguin a8710 ap. cm.yaz-5.31.1/test/tmarc1.xml.marc0000664000175000017500000000173514157607106013155 0000000000000000989nam0a32003011 450 001002800000004001000028008002800038009001100066021002700077032001500104100002100119245005400140250004100194260004000235300002700275504012300302512006100425520005000486652002400536652001600560666001600576666001900592666001500611666001800626666001900644666000900663666001500672000a9 181 423 4b710100fa000rnae000tmuua2002buslengv0000aagxx000a1-4000-4596-7d$14,00000&DBC2004390000aSlomanhLarry000aOn the road with Bob DylaneLarry "Ratso" Sloman000aRevised editionbThree Rivers Press000aNew YorkbThree Rivers Pressc2002000axv, 464 sider, tavler000aLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"000aPÃ¥ omslaget: With a new introduction by Kinky Friedman000aTidligere: 1. udgave. New York, Bantam, 19780000m99.4aDylanhBob000p78.9064v5000ffolkemusik000ffolkemusikere000frockmusik000frockmusikere000frockkoncerter000eUSA000i1970-1979yaz-5.31.1/test/marc2.chr0000664000175000017500000000001314157607106012011 00000000000000iso-8859-1 yaz-5.31.1/test/marc0.json0000664000175000017500000000033514157607106012213 00000000000000{ "leader":"00062cgm a2200037Ia 4500", "fields": [ { "092": { "subfields": [ { "a":"DVD CHI 791.43" }, { "b":"QI" } ], "ind1":" ", "ind2":"á" } } ] } yaz-5.31.1/test/marc4.marc0000664000175000017500000000163014157607106012167 000000000000000091400914naa 2200337 45 001001700000004000900017008002400026009001000050041000800060041000800068097000700076245003300083300002600116557003300142630001600175630001300191633001000204633000900214648006100223648001600284648005400300J01000600354BAS000500360LKR004200365CAT003000407CAT003000437CAT003000467CAT003900497CAT002600536UID001400562 aa00001508fa airn a1991bxxlnortav9 aagxx anor deng00a06 aByfornyelse ved Ibsen-Ringen bfarvefotobplanbsnit aByggekunstj1991v1/2k41-45 fbyfornyelse fsanering fNorge fOslo aTelje Torp Aasen ArkitektkontorcKristian Augustsgate 7B aEng, Dagfin Granlund, TomcKristian AugustsgatecPilestredet 19 aa 20 aITMlARK50b0000145y1991i1/2k41-45 abc20020111lARK01h2002 abc20020111lARK01h2116 abc20021002lARK01h1000 aICLLOADb00c20021122lARK01h1948 c20030618lARK01h1330 aa00001508 yaz-5.31.1/test/marc11.xml0000664000175000017500000000337014157607106012126 00000000000000 00689nam a22002054 450 20285389 20180924145927.0 000000s1992 dk |||| 00| | dan d tegnsæt test, diakritiske tegn. [S.n.]. :;̲;Ì€;Ì;Ì‚~;;Ì„;̆;̇;̈;ÌŒ;ÌŠ;︠;︡;Ì•;Ì‹;̧;̨;Ì£;̳;̦;̈ aigu: á;Ã;é;É;í;IÌ;ó;Ó;ú;Ú;ý;Ã;nÌ; grave: à;À;è;È;ì;ÃŒ;ò;Ã’;ù;Ù;nÌ€; circonflex: â;Â;ê;Ê;î;ÃŽ;ô;Ô;û;Û;nÌ‚; tilde: ã;Ã;ñ;Ñ;õ;Õ;~m; trema: ë;Ë;ı̈;Ï;ÿ;n̈; cedille: ç;Ç;ņ; omlyd: ä;ë;n̈; snabel a: @ snabel @ snabel. yaz-5.31.1/test/marc3.json0000664000175000017500000001072014157607106012215 00000000000000{ "leader":"00914naa 2200337 450 ", "fields": [ { "001": { "subfields": [ { "a":"a00001508" }, { "f":"a" } ], "ind1":" ", "ind2":" " } }, { "004": { "subfields": [ { "a":"i" }, { "r":"n" } ], "ind1":" ", "ind2":" " } }, { "008": { "subfields": [ { "a":"1991" }, { "b":"xx" }, { "l":"nor" }, { "t":"a" }, { "v":"9" } ], "ind1":" ", "ind2":" " } }, { "009": { "subfields": [ { "a":"a" }, { "g":"xx" } ], "ind1":" ", "ind2":" " } }, { "041": { "subfields": [ { "a":"nor" } ], "ind1":" ", "ind2":" " } }, { "041": { "subfields": [ { "d":"eng" } ], "ind1":" ", "ind2":" " } }, { "097": { "subfields": [ { "a":"06" } ], "ind1":"0", "ind2":"0" } }, { "245": { "subfields": [ { "a":"Byfornyelse ved Ibsen-Ringen" } ], "ind1":" ", "ind2":" " } }, { "300": { "subfields": [ { "b":"farvefoto" }, { "b":"plan" }, { "b":"snit" } ], "ind1":" ", "ind2":" " } }, { "557": { "subfields": [ { "a":"Byggekunst" }, { "j":"1991" }, { "v":"1/2" }, { "k":"41-45" } ], "ind1":" ", "ind2":" " } }, { "630": { "subfields": [ { "f":"byfornyelse" } ], "ind1":" ", "ind2":" " } }, { "630": { "subfields": [ { "f":"sanering" } ], "ind1":" ", "ind2":" " } }, { "633": { "subfields": [ { "f":"Norge" } ], "ind1":" ", "ind2":" " } }, { "633": { "subfields": [ { "f":"Oslo" } ], "ind1":" ", "ind2":" " } }, { "648": { "subfields": [ { "a":"Telje Torp Aasen Arkitektkontor" }, { "c":"Kristian Augustsgate 7B" } ], "ind1":" ", "ind2":" " } }, { "648": { "subfields": [ { "a":"Eng, Dagfin" } ], "ind1":" ", "ind2":" " } }, { "648": { "subfields": [ { "r":"anlund, Tom" }, { "c":"Kristian Augustsgate" }, { "c":"Pilestredet 19" } ], "ind1":" ", "ind2":" " } }, { "J01": { "subfields": [ { "a":"a" } ], "ind1":" ", "ind2":" " } }, { "BAS": { "subfields": [ { "0":"" } ], "ind1":" ", "ind2":" " } }, { "LKR": { "subfields": [ { "a":"ITM" }, { "l":"ARK50" }, { "b":"0000145" }, { "y":"1991" }, { "i":"1/2" }, { "k":"41-45" } ], "ind1":" ", "ind2":" " } }, { "CAT": { "subfields": [ { "a":"" }, { "b":"" }, { "c":"20020111" }, { "l":"ARK01" }, { "h":"2002" } ], "ind1":" ", "ind2":" " } }, { "CAT": { "subfields": [ { "a":"" }, { "b":"" }, { "c":"20020111" }, { "l":"ARK01" }, { "h":"2116" } ], "ind1":" ", "ind2":" " } }, { "CAT": { "subfields": [ { "a":"" }, { "b":"" }, { "c":"20021002" }, { "l":"ARK01" }, { "h":"1000" } ], "ind1":" ", "ind2":" " } }, { "CAT": { "subfields": [ { "a":"ICLLOAD" }, { "b":"00" }, { "c":"20021122" }, { "l":"ARK01" }, { "h":"1948" } ], "ind1":" ", "ind2":" " } }, { "CAT": { "subfields": [ { "c":"20030618" }, { "l":"ARK01" }, { "h":"1330" } ], "ind1":" ", "ind2":" " } }, { "UID": { "subfields": [ { "a":"a00001508" } ], "ind1":" ", "ind2":" " } } ] } yaz-5.31.1/test/xml2marc1.xml0000664000175000017500000000646514157607106012660 00000000000000 00988nam0a32003011 450 9 181 423 4710100anemu2002useng0axx1-4000-4596-7$14,00DBC200439SlomanLarryOn the road with Bob DylanLarry "Ratso" SlomanRevised editionThree Rivers PressNew YorkThree Rivers Press2002xv, 464 sider, tavlerLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"På omslaget: With a new introduction by Kinky FriedmanTidligere: 1. udgave. New York, Bantam, 197899.4DylanBob78.90645folkemusikfolkemusikererockmusikrockmusikererockkoncerterUSA1970-1979 yaz-5.31.1/test/xml2tmarc5.xml0000664000175000017500000000215014157607106013033 00000000000000 00492nam a22001455a 450000027748520051026111436.0050413s1894 gr 000 0 gre dΜαρούδης, Κωνσταντίνος ΙωΕλληνικόν κρυπτογραφικόν λεξικόν /Κωνστ. Ι. Μαρούδης. εκδ.Αθήνα,1894.248 σελ.Greek language, ModernDialectsDictionariesCryptography. yaz-5.31.1/test/test_icu.0.input0000664000175000017500000000004414152153071013341 00000000000000Børn Le Carré Le Carre Le CarreÌ yaz-5.31.1/test/marccol5.u8.1.lst0000664000175000017500000004705114152153071013237 0000000000000001385cam a2200301Ka 4500 001 ocm57665435 003 OCoLC 005 20080328102918.0 008 050215s2004 ii d 000 0 eng d 040 $a ACN $c ACN $d OCLCQ $d IXA $d OCL 020 $a 8176500623 020 $a 9788176500623 035 $a (OCoLC)57665435 041 0 $a beneng 092 $a 491.44321 090 $a PK1687 $b .E65 2004 049 $a LNNA 245 00 $6 880-01 $a English-Bengali Bengali-English combined dictionary = $b ImÌ£raÌ„jiÌ„ - BaÌ„mÌ£laÌ„ BaÌ„mÌ£laÌ„ - ImÌ£raÌ„jiÌ„ samshukuta diksaÌnariÌ„ / $c compiled by Debasis Adhikary. 260 $a New Delhi : $b World of Learning : $b Distributed by Star Publications, $c 2004. 300 $a 1518 p. ; $c 23 cm. 500 $a "More than 90,000 total words from English to Bengali and Bengali to English." 546 $a Bengali and English. 650 0 $a English language $v Dictionaries $x Bengali. 650 0 $a Bengali language $v Dictionaries $x English. 700 1 $a Adhikary, Debasis. 880 00 $6 245-01 $a English-Bengali Bengali-English combined dictionary = $b ইংরাজী - বাংলা বাংলা - ইংরাজী সংযà§à¦•à§à¦¤ ডিকà§à¦¶à¦¨à¦°à§€ / $c compiled by Debasis Adhikary. 880 31 $6 246-00 $a ইংরাজী - বাংলা বাংলা - ইংরাজী সংযà§à¦•à§à¦¤ ডিকà§à¦¶à¦¨à¦°à§€ 994 $a C0 $b LNN 02873nam a22005053i 4500 001 ocm86174229 003 OCoLC 005 20080328102918.0 008 070326s1977 ii b 000 0 san d 040 $a STF $c STF 035 $a (OCoLC)86174229 041 0 $a san $a hin 050 04 $a PK511 $b 1977 049 $a LNNA 100 0 $6 880-01 $a PaÌ„nÌ£ini. 240 10 $a AsÌ£tÌ£aÌ„dhyaÌ„yiÌ„ 245 10 $6 880-02 $a AsÌ£tÌ£aÌ„dhyaÌ„yiÌ„suÌ„trapaÌ„tÌ£hahÌ£ : $b PaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„-liṅgaÌ„nusÌaÌ„sanasahitasÌca / $c MaharsÌ£ipaÌ„nÌ£inipranÌ£iÌ„tahÌ£ ; upoddhaÌ„talekhakahÌ£ SÌriÌ„naÌ„raÌ„yanÌ£a MisÌrahÌ£. 246 15 $a AsÌ£tÌ£aÌ„dhyaÌ„yiÌ„suÌ„trapaÌ„tÌ£ha : $b with PaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„ and LiṅgaÌ„nusÌaÌ„sana 250 $6 880-03 $a 1. samÌ£skaranÌ£a. 260 $6 880-04 $a VaÌ„raÌ„nÌ£asiÌ„ ; $a DilliÌ„ : $b CaukhambhaÌ„ OriyantÌ£aÌ„liyaÌ„ ; $a VaÌ„raÌ„nÌ£asiÌ„ : $b anya praÌ„ptisthaÌ„na, CaukhambhaÌ„ VisÌvabhaÌ„ratiÌ„, $c 1977. 300 $a 100 p. 440 0 $6 880-05 $a GokuladaÌ„sa SamÌ£skrÌ¥ta granthamaÌ„laÌ„ ; $v 29 546 $a In Sanskrit; introd. in Hindi. 500 $a "SampaÌ„dakahÌ£ SÌriÌ„naÌ„raÌ„yanÌ£a MisÌrahÌ£"--Cover. 500 $a Added title page in English. 504 $a Includes bibliographical references. 650 0 $a Sanskrit language $x Grammar. 650 0 $a Sanskrit language $x Accents and accentuation. 700 02 $6 880-06 $a PaÌ„nÌ£ini. $t PaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„. 700 02 $6 880-07 $a PaÌ„nÌ£ini. $t LiṅgaÌ„nusÌaÌ„sana. 700 1 $6 880-08 $a MisÌra, SÌriÌ„naÌ„raÌ„yanÌ£a. 740 02 $6 880-09 $a PaÌ„nÌ£iniÌ„yasÌiksÌ£aÌ„. 740 02 $6 880-10 $a LiṅgaÌ„nusÌaÌ„sana. 880 0 $6 100-01 $a पाणिनी. 880 10 $6 240-00 $a अषà¥à¤Ÿà¤¾à¤§à¥à¤¯à¤¾à¤¯à¥€ 880 10 $6 245-02 $a अषà¥à¤Ÿà¤¾à¤§à¥à¤¯à¤¾à¤¯à¥€à¤¸à¥‚तà¥à¤°à¤ªà¤¾à¤ à¤ƒ : $b पाणिणीयशिकà¥à¤·à¤¾-लिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨à¤¸à¤¹à¤¿à¤¤à¤¶à¥à¤°à¥à¤š / $c महरà¥à¤·à¤¿à¤ªà¤¾à¤£à¤¿à¤¨à¤¿à¤ªà¥à¤°à¤£à¥€à¤¤à¤ƒ ; उपोदà¥à¤˜à¤¾à¤¤à¤²à¥‡à¤–कः शà¥à¤°à¥€à¤¨à¤¾à¤°à¤¾à¤¯à¤£ मिशà¥à¤°à¤ƒ. 880 $6 250-03 $a 1. संसà¥à¤•रण. 880 $6 260-04 $a वाराणसी ; $a दिलà¥à¤²à¥€ : $b चौखमà¥à¤­à¤¾ ओरियनà¥à¤Ÿà¤¾à¤²à¤¿à¤¯à¤¾ ; $a वाराणसी : $b अनà¥à¤¯ पà¥à¤°à¤¾à¤ªà¥à¤¤à¤¿à¤¸à¥à¤¥à¤¾à¤¨, चौखमà¥à¤­à¤¾ विशà¥à¤µà¤­à¤¾à¤°à¤¤à¥€, $c 1977. 880 0 $6 440-05 $a गोकà¥à¤²à¤¦à¤¾à¤¸ संसà¥à¤•ृत गà¥à¤°à¤¨à¥à¤¥à¤®à¤¾à¤²à¤¾ ; $v 29 880 02 $6 700-06 $a पाणिनी. $t पाणिणीयशिकà¥à¤·à¤¾ 880 02 $6 700-07 $a पाणिनी. $t लिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨. 880 1 $6 700-08 $a मिशà¥à¤°, शà¥à¤°à¥€à¤¨à¤¾à¤°à¤¾à¤¯à¤£. 880 02 $6 740-09 $a पाणिणीयशिकà¥à¤·à¤¾. 880 02 $6 740-10 $a लिङà¥à¤—ानà¥à¤¶à¤¾à¤¸à¤¨. 994 $a C0 $b LNN 02242cam a2200433Ia 4500 001 ocm44944167 003 OCoLC 005 20080328102918.0 008 000906s2000 ilua 000 0 tam d 040 $a OCO $c OCO $d OCL $d OCLCQ $d TEF 020 $a 0967621208 : $c $24.95 020 $a 9780967621203 035 $a (OCoLC)44944167 041 1 $a tameng $h tam 050 4 $a PL4758.9.T5 $b T5 082 04 $a 894.811 $b T597t 049 $a LNNA 100 0 $a TiruvalÌ£lÌ£uvar. 240 10 $6 880-01 $a Thirukku ral. $l Tamil & English 245 10 $6 880-02 $a Thirukkural : $b Thamizh Marai = Tirukkural : the Holy Scripture / $c [by Tiruvalluvar ; English translation by P.S. Sundaram.]. 250 $a 1st ed. 260 $a Woodridge, Ill. : $b International Tamil Language Foundation, $c c2000. 300 $a 1813 p. : $b ill. (some col.) ; $c 20 cm. 500 $a Tamil text, with English translation. 500 $a "An edition of this translation was published by Penguin Books in 1991." 500 $a Section 2 and section 3, English translation from Tamil by R. Natarajan. 546 $a Text in Tamil and English. 500 $a Non-Latin script record. 600 00 $a TiruvalÌ£lÌ£uvar. 650 0 $a Tamil literature $v Translations into English. 650 0 $a Tamil language materials $x Bilingual. 740 02 $a Handbook of Tamil culture and heritage. 740 02 $a Tamils guide to future. 880 10 $6 240-01 $a திரூகà¯à®•௠றளà¯. $l Tamil & English 880 10 $6 245-02 $a திரூகà¯à®•à¯à®±à®³à¯ : $b தமிழ௠மறை = Tirukkural : the Holy Scripture / $c [by Tiruvalluvar ; English translation by P.S. Sundaram.] 880 0 $6 505-00 $a Section 1: திரூகà¯à®•à¯à®±à®³à¯ : Tirukkural -- Section 2: தறிழà¯à®ªà¯ பணà¯à®ªà®¾à®Ÿà¯à®Ÿà¯‚க௠கையேடூ : The handbook of Tamil culture and heritage -- Section 3: தமிழின எதிரà¯à®•ால வழிகாடà¯à®Ÿà®¿ : Tamils guide to future. 880 02 $6 740-00 $a தமிழà¯à®ªà¯ பணà¯à®ªà®¾à®Ÿà¯à®Ÿà¯‚க௠கையேடூ : The handbook of Tamil culture and heritage. 880 02 $6 740-00 $a தமிழின எதிரà¯à®•ால வழிகாடà¯à®Ÿà®¿ : Tamils guide to future. 994 $a C0 $b LNN 01025cam a2200301Ia 4500 001 ocm62425106 003 OCoLC 005 20080328102918.0 008 051203s2002 th 000 f thaod 040 $a TEF $c TEF $d LNQ $d OCL 020 $a 9749204808 020 $a 9789749204801 035 $a (OCoLC)62425106 090 $a PL4209.D837 $b P57 2002 049 $a LNNA 100 0 $6 880-01 $a DuÌ„angtawan. 245 10 $6 880-02 $a PhracÌŒhan sǣnkon / $c DuÌ„angtawan. 250 $6 880-03 $a Phim khrang thiÌ„ 3. 260 $6 880-04 $a Krung TheÌ„p : $b Phimkham Samnakphim, $c 2545 [2002] 300 $a 154 p. ; $c 21 cm. 500 $a Novel. 546 $a In Thai. 655 7 $a Humorous fiction. $2 gsafd 880 0 $6 100-01 $a ดวงตะวัน. 880 10 $6 245-02 $a พระจันทร์à¹à¸ªà¸™à¸à¸¥ / $c ดวงตะวัน. 880 $6 250-03 $a พิมพ์ครั้งที่ 3. 880 $6 260-04 $a à¸à¸£à¸¸à¸‡à¹€à¸—พฯ : $b พิมพ์คำ สานัà¸à¸žà¸´à¸¡à¸žà¹Œ, $c 2545. 994 $a C0 $b LNN 02684cam a2200409 a 4500 001 14876782 005 20071121181842.0 008 990326s1997 ai a b 001 0 armo 035 $a (Uk)006855813 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 99189840 040 $a DLC $b eng $c DLC $d DLC-R $d Uk 043 $a a-ai--- $a a-tu--- 050 00 $a BX121 $b .S63 1997 100 1 $6 880-01 $a SmbatyantsÊ¿, Artak, $c Episkopos, $d 1876-1937 245 10 $6 880-02 $a Artak Episkopos SmbatyantsÊ¿ (TaushetsÊ¿i) : hogevor, grakan, patma-banasirakan gortsuneutÊ¿yuneÌŒ ev gndakaharutÊ¿yuneÌŒ, 1876-1937 tÊ¿tÊ¿. / $c kazmetsÊ¿ Sandro Behbudyan. 260 $6 880-03 $a Erevan : $b "Anahit", $c 1997. 300 $a 691 p. : $b ill. ; $c 27 cm. 440 0 $6 880-04 $a Vaveragrer Hay EkeghetsÊ¿u patmutÊ¿yan ; $v girkÊ¿ 3 500 $6 880-05 $a At head of title: Hayastani HanrapetutÊ¿yan KarÌ£avarutÊ¿yann arÌ£eÌŒntÊ¿er. Arkhivayin Gortsi VarchÊ¿utÊ¿yun. Arvesti, GrakanutÊ¿yan ev Mamuli PÊ¿astatÊ¿ghtÊ¿eri Petakan Kentronakan Arkhiv. 504 $a Includes bibliographical references and indexes. 600 10 $6 880-06 $a SmbatyantsÊ¿, Artak, $c Episkopos, $d 1876-1937 610 20 $6 880-07 $a Armenian Church $x History $v Sources. 650 0 $a Armenians $z Turkey. 651 0 $a Armenia $x History $y 1801-1900 $v Sources. 651 0 $a Armenia $x History $y 1901- $v Sources. 700 1 $6 880-08 $a Behbudyan, Sandro $q (Sandro Artashesi), $d 1934- 852 41 $a British Library $b OC $j HEC.1994.a.294/3 880 1 $6 100-01 / $a ÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö, Ô±Ö€Õ¿Õ¡Õ¯, $c ÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½, $d 1876-1937. 880 10 $6 245-02 / $a Ô±Ö€Õ¿Õ¡Õ¯ ÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½ ÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö (ÕÕ¡Õ¸Ö‚Õ·Õ¥ÖÕ«) : Õ°Õ¸Õ£Õ¥Õ¾Õ¸Ö€, Õ£Ö€Õ¡Õ¯Õ¡Õ¶ ÕºÕ¡Õ¿Õ´Õ¡-Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶ Õ£Õ¸Ö€Õ®Õ¸Ö‚Õ¶Õ¥Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨ Õ¥Õ¾ Õ£Õ¶Õ¤Õ¡Õ¯Õ¡Õ°Õ¡Ö€Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¨, 1876-1937 Õ©Õ©. / $c Õ¯Õ¡Õ¦Õ´Õ¥Ö ÕÕ¡Õ¶Õ¤Ö€Õ¸ Ô²Õ¥Õ°Õ¢Õ¸Ö‚Õ©ÕµÕ¡Õ¶. 880 $6 260-03 / $a ÔµÖ€Õ¥Õ¾Õ¡Õ¶ : $b «Անահիտ», $c 1997. 880 0 $6 440-04 / $a ÕŽÕ¡Õ¾Õ¥Ö€Õ¡Õ£Ö€Õ¥Ö€ Õ€Õ¡Õµ ÔµÕ¯Õ¥Õ²Õ¥ÖÕ¸Ö‚ ÕºÕ¡Õ¿Õ´Õ¸Ö‚Õ©ÕµÕ¡Õ¶ ; $v Õ£Õ«Ö€Ö„ 3 880 $6 500-05 / $a ÕÕ«Õ¿Õ²Õ¸Õ½Õ« Õ£Õ¬Õ¸Ö‚Õ­: Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ« Õ€Õ¡Õ¶Ö€Õ¡ÕºÕ¥Õ¿Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Ô¿Õ¡Õ¼Õ¡Õ¾Õ¡Ö€Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Õ¡Õ¼Õ¨Õ¶Õ©Õ¥Ö€. Ô±Ö€Õ­Õ«Õ¾Õ¡ÕµÕ«Õ¶ Ô³Õ¸Ö€Õ®Õ« ÕŽÕ¡Ö€Õ¹Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶. Ô±Ö€Õ¾Õ¥Õ½Õ¿Õ«, Ô³Ö€Õ¡Õ¯Õ¡Õ¶Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Õ¥Õ¾ Õ„Õ¡Õ´Õ¸Ö‚Õ¬Õ« Ô²Õ¡Õ½Õ¿Õ¡Õ©Õ²Õ©Õ¥Ö€Õ« ÕŠÕ¥Õ¿Õ¡Õ¯Õ¡Õ¶ Ô¿Õ¥Õ¶Õ¿Ö€Õ¸Õ¶Õ¡Õ¯Õ¡Õ¶ Ô±Ö€Õ­Õ«Õ¾. 880 10 $6 600-06 / $a ÕÕ´Õ¢Õ¡Õ¿ÕµÕ¡Õ¶Ö, Ô±Ö€Õ¿Õ¡Õ¯, $c ÔµÕ¢Õ«Õ½Õ¯Õ¸ÕºÕ¸Õ½, $d 1876-1937. 880 20 $6 610-07 / $a Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ Õ. ÔµÕ¯Õ¥Õ²Õ¥ÖÕ« $x ÕŠÕ¡Õ¿Õ´Õ¸Ö‚Õ©Õ«Ö‚Õ¶ $v Ô±Õ²Õ¢Õ«Ö‚Ö€Õ¶Õ¥Ö€. 880 1 $6 700-08 / $a Ô²Õ¥Õ°Õ¢Õ¸Ö‚Õ©ÕµÕ¡Õ¶, ÕÕ¡Õ¶Õ¤Ö€Õ¸, $q (ÕÕ¡Õ¶Õ¤Ö€Õ¸ Ô±Ö€Õ¿Õ¡Õ·Õ¥Õ½Õ«), $d 1934- 985 $a armenian LC 01466 am a2200349 a 4500 001 14876783 005 20071121181846.0 008 040502m19461951sy ac 000 0 arm 035 $a (Uk)006881105 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2003207810 035 $a (OCoLC)ocm51506679 040 $a DLC $b eng $c DLC $d OCoLC $d Uk 043 $a a-sy--- 050 00 $a BV4539.A75 $b M36 245 00 $6 880-01 $a Mananay : $b taregrkÊ¿oyk. 260 $6 880-02 $a HaleÌ„p : $b HratarakutÊ¿iwn Hogewor EghbarutÊ¿ean EritasardatsÊ¿, $c 1946-1951 300 $a 2 v. : $b ill., ports. ; $c 23 cm. 505 0 $a [1]. 1946, 5-6. 1950-1951. 610 20 $6 880-03 $a Hogewor EghbayrutÊ¿iwn EritasardatsÊ¿. 650 0 $a Armenians $x Religious life $z Syria. 650 0 $a Almanacs, Armenian $z Syria. 650 0 $a Youth $x Religious life $z Syria. 650 0 $a Armenians $z Syria $x Social life and customs. 650 0 $a Armenians $z Lebanon $x Social life and customs. 710 2 $6 880-04 $a Hogewor EghbayrutÊ¿iwn EritasardatsÊ¿. 852 41 $a British Library $b OC $j HEC.2002.a.492 880 00 $6 245-01 / $a Õ„Õ¡Õ¶Õ¡Õ¶Õ¡Õµ : $b Õ¿Õ¡Ö€Õ¥Õ£Ö€Ö„Õ¸ÕµÕ¯. 880 $6 260-02 / $a Õ€Õ¡Õ¬Õ§Õº : $b Õ€Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ¸Ö‚Õ©Õ«Ö‚Õ¶ Õ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ¥Õ¡Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö, $c 1946-1951. 880 20 $6 610-03 / $a Õ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ«Ö‚Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö. 880 2 $6 710-04 / $a Õ€Õ¸Õ£Õ¥Ö‚Õ¸Ö€ ÔµÕ²Õ¢Õ¡ÕµÖ€Õ¸Ö‚Õ©Õ«Ö‚Õ¶ ÔµÖ€Õ«Õ¿Õ¡Õ½Ö€Õ¤Õ¡Ö. 985 $a armenian LC 01818cab a2200385 a 4500 001 14877410 005 20071121185010.0 008 040502m18971900enkmr|p 0 z0arm 035 $a (Uk)002848266 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2007970004 019 x $a 2532250240 040 $a Uk $b eng $c Uk 245 00 $6 880-01 $a Mart : $b [amsatÊ¿ertÊ¿, oÌ„rgan HnchÊ¿akean KusaktsÊ¿utÊ¿ean]. 246 3 $a Mard 260 $6 880-02 $a London : $b [SotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn], $c 1897-1900. 300 $a v. ; $c 44 cm. 500 $a "Battle": an Armenian political newspaper. 500 $a "Mart" published after 1897, as "HnchÊ¿ak" could not be due to legal proceedings. 505 0 $a I year, no. 1 (15 Apr., 1897)-10 (10 Apr., 1898); II year, no. 11 (7 May, 1898)-16 (Mar., 1899); III year, no. 17 (Aug., 1899)-27 (Oct., 1900) 610 20 $6 880-03 $a SotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn 650 0 $a Armenian periodicals. 650 0 $a Armenians $x Politics and government. 651 0 $a Armenia $x Politics and government. 651 0 $a Armenia $x History $y 1801-1900. 655 4 $a Periodical publications.- London 710 2 $6 880-04 $a SotsÊ¿ial Demokrat HnchÊ¿akean KusaktsÊ¿utÊ¿iwn 740 0 $6 880-05 $a HnchÊ¿ak. 852 41 $a British Library $b HMNTS $j OP.411 880 00 $6 245-01 / $a Õ„Õ¡Ö€Õ¿ : $b [Õ¡Õ´Õ½Õ¡Õ©Õ¥Ö€Õ©, Ö…Ö€Õ£Õ¡Õ¶ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ¥Õ¡Õ¶]. 880 $6 260-02 / $a Ô¼Õ¸Õ¶Õ¤Õ¸Õ¶ : $b [ÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶], $c 1897-1900. 880 20 $6 610-03 / $a ÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶. 880 2 $6 710-04 / $a ÕÕ¸ÖÕ«Õ¡Õ¬ Ô´Õ¥Õ´Õ¸Õ¯Ö€Õ¡Õ¿ Õ€Õ¶Õ¹Õ¡Õ¯Õ¥Õ¡Õ¶ Ô¿Õ¸Ö‚Õ½Õ¡Õ¯ÖÕ¸Ö‚Õ©Õ«Ö‚Õ¶. 880 0 $6 740-05 / $a Õ€Õ¶Õ¹Õ¡Õ¯. 985 $a armenian 03105cab a2200601 a 4500 001 14877413 005 20071121185021.0 008 000316d18551865fr er p 0 z0armod 035 $a (Uk)002863571 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2007970007 019 x $a 2541830122 035 $a (OCoLC)43646516 040 $a Uk $b eng $c Uk 041 1 $a arm $a fre $a rus $h arm 043 $a a-ai--- $a e------ 245 00 $6 880-01 $a MaseatsÊ¿ aghawni : $b awetaber HayastaneaytsÊ¿ / $c [khmb. GabrieÌ„l AyvazeantsÊ¿]. 246 15 $a Colombe du Massis 246 15 $a Messager de l'ArmeÌnie 246 13 $6 880-02 $a MaseatsÊ¿ aghawni awetaber HayastaneaytsÊ¿ 246 14 $6 880-03 $a MaseatsÊ¿ aghawni ew Tsiatsan HayastaneaytsÊ¿ $f 246 30 $6 880-04 $a Tsiatsan HayastaneaytsÊ¿ $f 246 30 $6 880-05 $a Awetaber HayastaneaytsÊ¿ 260 $6 880-06 $a PÊ¿ariz : $b [Khmbagir ew hratarakichÊ¿ GabrieÌ„l AyvazeantsÊ¿], $c 1855- $e (Paris : $f Imp. W. Remquet) 300 $a v. : $b ill., ports. ; $c 32 cm. 310 $a Biweekly, $b <1 Sept. 1861-> 321 $a Monthly, $b Jan. 1855-> 362 0 $6 880-07 $a 1. tari, tÊ¿iw 1 (Hunuar 1855)- 362 1 $a Ceased in 1865. 500 $6 880-08 $a Imprint varies: Paris : i GranotsÊ¿i Chaniki Aramean, Jan. 1856-> ; Theodosia : Khalipean Usumnaran, 500 $6 880-09 $a Latest issue consulted: 6. tari, tÊ¿iw 17 (15 Sept. 1861) 505 0 $a Vol. I (1855); vol. II (1856); vol. III (1857); vol. VI, 1-8 (1861) 515 $a Not published in 1859. 546 $a In Armenian and French. 650 0 $a Armenians $v Periodicals. 650 0 $a Armenians $z Foreign countries $v Periodicals. 650 0 $a Armenians $v Biography $v Periodicals. 651 0 $a Armenia $v Periodicals. 651 0 $a Europe $v 19th century $v Periodicals. 655 4 $a Periodical publications.- Paris 700 1 $6 880-10 $a AyvazovskÊ¿i, GabrieÌ„l, $d 1812-1880. 852 41 $a British Library $b OC $j 17070.g.5. 880 00 $6 245-01 / $a Õ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« : $b Õ¡Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ / $c [Õ­Õ´Õ¢. Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬ Ô±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö]. 880 13 $6 246-02 / $a Õ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« Õ¡Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ 880 14 $6 246-03 / $a Õ„Õ¡Õ½Õ¥Õ¡Ö Õ¡Õ²Õ¡Ö‚Õ¶Õ« Õ¥Ö‚ Ô¾Õ«Õ¡Õ®Õ¡Õ¶ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ $f <ÕÕ¥ÕºÕ¿. 1861-> 880 30 $6 246-04 / $a Ô¾Õ«Õ¡Õ®Õ¡Õ¶ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ $f <ÕÕ¥ÕºÕ¿. 1861-> 880 30 $6 246-05 / $a Ô±Ö‚Õ¥Õ¿Õ¡Õ¢Õ¥Ö€ Õ€Õ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶Õ¥Õ¡ÕµÖ 880 $6 260-06 / $a Õ“Õ¡Ö€Õ«Õ¦ : $b [Ô½Õ´Õ¢Õ¡Õ£Õ«Ö€ Ö‡ Õ°Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ«Õ¹ Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬ Ô±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö], $c 1855- $e (Paris : $f Imp. W. Remquet) 880 0 $6 362-07 / $a 1. Õ¿Õ¡Ö€Õ«, Õ©Õ«Ö‚ 1 (Õ…Õ¸Ö‚Õ¶Õ¸Ö‚Õ¡Ö€ 1855)- 880 $6 500-08 / $a ÕÕ¡Ö€Õ¢Õ¥Ö€ Õ°Ö€Õ¡Õ¿.: Õ“Õ¡Ö€Õ«Õ¦ : Õ« Ô³Ö€Õ¡Õ¶Õ¸ÖÕ« ÕƒÕ¡Õ¶Õ«Õ¯Õ« Ô±Ö€Õ¡Õ´Õ¥Õ¡Õ¶, Õ…Õ¸Ö‚Õ¶Õ¸Ö‚Õ¡Ö€ 1856-> ; Ô¹Õ¥Õ¸Õ¤Õ¸Õ½Õ«Õ¡ : Ô½Õ¡Õ¬Õ«ÕºÕ¥Õ¡Õ¶ ÕˆÖ‚Õ½Õ¸Ö‚Õ´Õ¶Õ¡Ö€Õ¡Õ¶, <ÕÕ¥ÕºÕ¿. 1861-> 880 $6 500-09 / $a Õ”Õ¶Õ¶Õ¸Ö‚Õ¡Õ® Õ¾Õ¥Ö€Õ»Õ«Õ¶ Õ©Õ«Ö‚: 6. Õ¿Õ¡Ö€Õ«, Õ©Õ«Ö‚ 17 (15 ÕÕ¥ÕºÕ¿. 1861) 880 1 $6 700-10 / $a Ô±ÕµÕ¾Õ¡Õ¦Õ¥Õ¡Õ¶Ö, Ô³Õ¡Õ¢Ö€Õ«Õ§Õ¬ $d 1812-1880. 985 $a armenian 01794 ab a2200349 a 4500 001 14877417 005 20071121185036.0 008 040502m18121816it wu|p 0 a0arm 035 $a (Uk)002870975 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2007970012 019 x $a 2543960295 040 $a Uk $b eng $c Uk 245 00 $6 880-01 $a Ditak Biwzandean : $b shabatÊ¿atÊ¿ertÊ¿ apa erkshapatÊ¿atÊ¿ertÊ¿, patmutÊ¿iwn kÊ¿aghakÊ¿agan u paterazmakan, banasirakan, ekeghetsakan / $c khmb. Grigor Gaparachean, M. PÊ¿iwskiwlean, M. Jakhjakhean. 246 3 $a Tidag Piwzantean 260 $6 880-02 $a i Venetik : $b i Vans Srboyn Ghazaru, $c 1812-1816. 300 $a v. ; $c 23 cm. 500 $a Began 1808; ceased 1816. 650 0 $a Armenians $v Periodicals. 651 0 $a Europe $x History $y 1789-1815 $v Periodicals. 651 0 $a Europe $x Politics and government $y 1789-1915 $v Periodicals. 651 0 $a France $x History $y Consulate and First Empire, 1799-1815 $v Periodicals. 700 1 $6 880-03 $a Karapetean, Grigor KhaparÌ£achi 700 1 $6 880-04 $a PÊ¿iwskiwlean, M. 700 1 $6 880-05 $a Jakhjakhean, ManueÌ„l. 852 41 $a British Library $b OC $j 17070.d.3. 880 00 $6 245-01 / $a Ô´Õ«Õ¿Õ¡Õ¯ Ô²Õ«Ö‚Õ¦Õ¡Õ¶Õ¤Õ¥Õ¡Õ¶ : $b Õ·Õ¡Õ¢Õ¡Õ©Õ¡Õ©Õ¥Ö€Õ© Õ¡ÕºÕ¡ Õ¥Ö€Õ¯Õ·Õ¡Õ¢Õ¡Õ©Õ¡Õ©Õ¥Ö€Õ©, ÕºÕ¡Õ¿Õ´Õ¸Ö‚Õ©Õ«Ö‚Õ¶ Ö„Õ¡Õ²Õ¡Ö„Õ¡Õ¯Õ¡Õ¶ Õ¸Ö‚ ÕºÕ¡Õ¿Õ¥Ö€Õ¡Õ¦Õ´Õ¡Õ¯Õ¡Õ¶, Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶, Õ¥Õ¯Õ¥Õ²Õ¥ÖÕ¡Õ¯Õ¡Õ¶ / $c Õ­Õ´Õ¢. Ô³Ö€Õ«Õ£Õ¸Ö€ Ô³Õ¡ÕºÕ¡Ö€Õ¡Õ³Õ¥Õ¡Õ¶, Õ„. Õ“Õ«Ö‚Õ½Õ¯Õ«Ö‚Õ¬Õ¥Õ¡Õ¶, Õ„. Õ‹Õ¡Õ­Õ»Õ¡Õ­Õ¥Õ¡Õ¶. 880 $6 260-02 / $a Õ« ÕŽÕ¥Õ¶Õ¥Õ¿Õ«Õ¯ : $b Õ« ÕŽÕ¡Õ¶Õ½ ÕÖ€Õ¢Õ¸ÕµÕ¶ Õ‚Õ¡Õ¦Õ¡Ö€Õ¸Ö‚, $c 1812-1816. 880 1 $6 700-03 / $a Ô¿Õ¡Ö€Õ¡ÕºÕ¥Õ¿Õ¥Õ¡Õ¶, Ô³Ö€Õ«Õ£Õ¸Ö€ Ô½Õ¡ÕºÕ¡Õ¼Õ¡Õ³Õ«. 880 1 $6 700-04 / $a Õ“Õ«Ö‚Õ½Õ¯Õ«Ö‚Õ¬Õ¥Õ¡Õ¶, Õ„. 880 1 $6 700-05 / $a Õ‹Õ¡Õ­Õ»Õ¡Õ­Õ¥Õ¡Õ¶, Õ„Õ¡Õ¶Õ¸Ö‚Õ§Õ¬. 985 $a armenian 01672cam a2200325 a 4500 001 14877418 005 20071121185039.0 008 040502m19481961ai acf b 000 0darm 035 $a (Uk)006842308 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2007970013 040 $a Uk $b eng $c Uk 100 1 $6 880-01 $a Abovyan, KhachÊ¿atur, $d 1805-1848 240 10 $a Works. $f 1948 245 10 $6 880-02 $a Erkeri liakatar zhoghovatsu utÊ¿ hatorov / $c Kh. Abovyan ; [khmb. kolegia, Av. Isahakyan ... [et al.]]. 246 15 $6 880-03 $a Polnoe sobranie sochineniiÌŒ v vosʹmi tomakh 260 $6 880-04 $a Erevan : $b HSSRÌ£ GitutÊ¿yunneri Akademiai HratarakchÊ¿utÊ¿yun, $c 1948-1961. 300 $a 8 v. in 10 books : $b ill., port. ; $c 26 cm. 500 $a Illustrated end-papers. 650 0 $a Armenian literature. 700 1 $6 880-05 $a Isahakyan, AvetikÊ¿, $d 1875-1957 710 2 $6 880-06 $a M. Abeghyani Anvan GrakanutÊ»yan Institut. 852 41 $a British Library $b OC $j 17046.h.1 880 1 $6 100-01 / $a Ô±Õ¢Õ¸Õ¾ÕµÕ¡Õ¶, Ô½Õ¡Õ¹Õ¡Õ¿Õ¸Ö‚Ö€, $d 1805-1848. 880 10 $6 245-02 / $a ÔµÖ€Õ¯Õ¥Ö€Õ« Õ¬Õ«Õ¡Õ¯Õ¡Õ¿Õ¡Ö€ ÕªÕ¸Õ²Õ¸Õ¾Õ¡Õ®Õ¸Ö‚ Õ¸Ö‚Õ© Õ°Õ¡Õ¿Õ¸Ö€Õ¸Õ¾ / $c Ô½. Ô±Õ¢Õ¸Õ¾ÕµÕ¡Õ¶ ; [Õ­Õ´Õ¢. Õ¯Õ¸Õ¬Õ¥Õ£Õ«Õ¡ Ô±Õ¾. Ô»Õ½Õ¡Õ°Õ¡Õ¯ÕµÕ¡Õ¶ ... [Ö‡ Õ¸Ö‚Ö€Õ·Õ¶.]]. 880 15 $6 246-03 / $a Полное Ñобрание Ñочинений в воÑьми томах 880 $6 260-04 / $a ÔµÖ€Õ¥Õ¾Õ¡Õ¶ : $b Õ€ÕÕÕŒ Ô³Õ«Õ¿Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶Õ¶Õ¥Ö€Õ« Ô±Õ¯Õ¡Õ¤Õ¥Õ´Õ«Õ¡Õ« Õ€Ö€Õ¡Õ¿Õ¡Ö€Õ¡Õ¯Õ¹Õ¸Ö‚Õ©ÕµÕ¸Ö‚Õ¶, $c 1948-1961. 880 1 $6 700-05 / $a Ô»Õ½Õ¡Õ°Õ¡Õ¯ÕµÕ¡Õ¶, Ô±Õ¾Õ¥Õ¿Õ«Ö„, $d 1875-1957. 880 2 $6 710-06 / $a Õ„. Ô±Õ¢Õ¥Õ²ÕµÕ¡Õ¶Õ« Ô±Õ¶Õ¾Õ¡Õ¶ Ô³Ö€Õ¡Õ¯Õ¡Õ¶Õ¸Ö‚Õ©ÕµÕ¡Õ¶ Ô»Õ¶Õ½Õ¿Õ«Õ¿Õ¸Ö‚Õ¿. 985 $a armenian 01187cab a2200301 a 4500 001 14879015 005 20071203081856.0 008 040502m18641877tu mr|p 0 z0arm 035 $a (Uk)002824493 906 $a p $b cbc $c undeter $d u $e ncip $f 20 $g y-nonroman 010 $a 2007970001 019 x $a 2520240032 040 $a Uk $b eng $c Uk 245 00 $6 880-01 $a Hoys : $b [droÌ„shak hayreneats, amsagir banasirakan]. 246 3 $a Huys 246 3 $a Yuys 260 $6 880-02 $a Armash : $b [Armashi VankÊ¿], $c 1864-1877. 300 $a v. ; $c 23 cm. 500 $a Hoys. “Hope,†a monthly magazine of literature in modern Armenian, Western dialect, printed at the Convent of the Mother of God at Armash. 505 0 $a Vol. I, 1-12 (1864-1865), II, 13-24 (1865-1866) 650 0 $a Armenian literature $v Periodicals. 650 0 $a Armenian language $v Periodicals. 650 0 $a Armenians $x Religious life. 655 4 $a Periodical publications.- Armash 852 41 $a British Library $b OC $j 17070.g.3. 880 00 $6 245-01 / $a Õ…Õ¸ÕµÕ½ : $b Õ¤Ö€Ö…Õ·Õ¡Õ¯ Õ°Õ¡ÕµÖ€Õ¥Õ¶Õ¥Õ¡Ö, Õ¡Õ´Õ½Õ¡Õ£Õ«Ö€ Õ¢Õ¡Õ¶Õ¡Õ½Õ«Ö€Õ¡Õ¯Õ¡Õ¶]. 880 $6 260-02 / $a Ô±Ö€Õ´Õ¡Õ· : $b [Ô±Ö€Õ´Õ¡Õ·Õ« ÕŽÕ¡Õ¶Ö„], $c 1864-1877. 985 $a armenian2 yaz-5.31.1/test/test_odrcodec.h0000664000175000017500000000121714157602633013310 00000000000000/** \file test_odrcodec.h \brief ASN.1 Module test_odrcodec Generated automatically by YAZ ASN.1 Compiler 0.4 */ #ifndef test_odrcodec_H #define test_odrcodec_H #include #ifdef __cplusplus extern "C" { #endif typedef struct Yc_MySequence Yc_MySequence; YAZ_EXPORT int yc_MySequence(ODR o, Yc_MySequence **p, int opt, const char *name); #ifdef __cplusplus } #endif #ifdef __cplusplus extern "C" { #endif struct Yc_MySequence { Odr_int *first; Odr_oct *second; Odr_bool *third; Odr_null *fourth; #define YC_MySequence_enum1 0 #define YC_MySequence_enum2 1 Odr_int *fifth; Odr_oid *myoid; }; #ifdef __cplusplus } #endif #endif yaz-5.31.1/test/xml2tmarc9.xml0000664000175000017500000001057114157607106013045 00000000000000 02075cas a22005055a 4500 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara 2005336282-3-7-0709110002-p----- (OCoLC)1704901647undserialsuncip19n-oclcsercDLCDLCDLCarafrelcf-mr---IN PROCESS(3880-01Qaḍāʼ al-usrah :majallah mutakhaṣṣiṣah /Wizārat al-ʻAdl.Justice de la famille880-02Majallat Qaḍāʼ al-usrah<2006>880-03al-Rabāṭ :Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-Qaḍāʼīyah,2005-v. :ill. ;24 cm.Irregular (semiannual)880-04al-ʻAdad 1. (Yūlyūz 2005)-880-05Manshūrāt Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-QaḍāʼīyahSome issues have also a distinctive title.Latest issue consulted: al-ʻAdad 3. (Dujanbir 2006).Chiefly in Arabic; some French.Domestic relations (Islamic law)Morocco.Divorce (Islamic law)Marriage lawMorocco.Law reports, digests, etc.Morocco.880-06Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-Qaḍāʼīyah.880-07Morocco.Wizārat al-ʻAdl.DLC245-01/(3/rقضاء الأسرة :مجلة متخصصة /وزارة العدل.246-02/(3/rمجلة قضاء الأسرة<2006>260-03/(3/rالرباط :جمعية نشر المعلومة القانونية والقضائية،2005-362-04/(3/rالعدد 1. (يوليوز 2005)-490-05/(3/rمنشورات جمعية نشر المعلومة القانونية والقضائية710-06/(3/rجمعية نشر المعلومة القانونية والقضائية.710-07/(3/rMorocco.وزارة العدل.LC Cairo Office [we 45] yaz-5.31.1/test/xml2tmarc3.xml0000664000175000017500000000344214157607106013036 00000000000000 00914naa a2200337 450 a00001508ain1991xxnora9axxnoreng06Byfornyelse ved Ibsen-RingenfarvefotoplansnitByggekunst19911/241-45byfornyelsesaneringNorgeOsloTelje Torp Aasen ArkitektkontorKristian Augustsgate 7BEng, Dagfinanlund, TomKristian AugustsgatePilestredet 19aITMARK50000014519911/241-4520020111ARK01200220020111ARK01211620021002ARK011000ICLLOAD0020021122ARK01194820030618ARK011330a00001508 yaz-5.31.1/test/marc11.xml.marc0000664000175000017500000000126614157607106013051 0000000000000000694nam a22002054 450 0010009000000050017000090080041000262450037000672600012001045050070001165050052001865050046002385050051002845050033003355050037003685050024004055050022004295050016004517400021004672028538920180924145927.0000000s1992 dk |||| 00| | dan d00ategnsæt test, diakritiske tegn. b[S.n.].0 a:;̲;Ì€;Ì;Ì‚~;;Ì„;̆;̇;̈;ÌŒ;ÌŠ;︠;︡;Ì•;Ì‹;̧;̨;Ì£;̳;̦;̈0 aaigu: á;Ã;é;É;í;IÌ;ó;Ó;ú;Ú;ý;Ã;nÌ;0 agrave: à;À;è;È;ì;ÃŒ;ò;Ã’;ù;Ù;nÌ€;0 acirconflex: â;Â;ê;Ê;î;ÃŽ;ô;Ô;û;Û;nÌ‚;0 atilde: ã;Ã;ñ;Ñ;õ;Õ;~m;0 atrema: ë;Ë;ı̈;Ï;ÿ;n̈;0 acedille: ç;Ç;ņ;0 aomlyd: ä;ë;n̈;0 asnabel a: @0 asnabel @ snabel.yaz-5.31.1/test/tmarc5.xml.marc0000664000175000017500000000075414157607106013161 0000000000000000492nam a22001455a 450000100100000000500170001000800410002710000520006824501040012025000140022426000230023830000160026165000510027765000180032800027748520051026111436.0050413s1894 gr 000 0 gre d1 aΜαÏοÏδης, Κωνσταντίνος Ιω10aΕλληνικόν κÏυπτογÏαφικόν λεξικόν /cΚωνστ. Ι. ΜαÏοÏδης. η εκδ. aΑθήνα,c1894. a248 σελ. 0aGreek language, ModernxDialectsvDictionaries 0aCryptography.yaz-5.31.1/test/marccol1.u8.2.lst0000664000175000017500000004714614152153071013241 0000000000000001127cam a2200277 a 4500 001 70813420 /AJ/r86 003 DLC 005 19871006084439.0 008 860826m19689999ja ab l00000 jpn 010 $a 70813420 /AJ/r86 035 $a (CStRLIN)DCLP86-B14482 040 $c NNC $d NNC $d DLC 043 $a a-ja--- 050 0 $a DS897.H325 $b H36 1968 066 $c $1 245 00 $6 880-01 $a Handa shishi. 260 0 $6 880-02 $a [Handa-shi] : $b Handa-shi, $c ShoÌ„wa 43-<59> [1968-<1984> 300 $a v. <1-5, 7-8> : $b ill. ; $c 22 cm. 500 $a Vol. 3 accompanied by Handa-shi chiiki chishitsuzu; v. 8, Handa-shi Otsukawa Asaiyama dashi kumiage zumen (1 folded) leaf). 505 1 $a [1]-[4] ShiryoÌ„ hen -- [5] Honbun hen -- [7] Bunkazai hen -- [8] Sairei minzoku hen 651 0 $6 880-03 $a Handa-shi (Japan) 651 0 $6 880-04 $a Handa-shi (Japan) $x History $x Sources. 880 00 $6 245-01/$1 $a åŠç”° 市誌. 880 0 $6 260-02/$1 $a [åŠç”°å¸‚] : $b åŠç”°å¸‚, $c 昭和 43-<59> [1968-<1984> 880 4 $6 651-03/$1 $a åŠç”°å¸‚ (Japan) 880 4 $6 651-04/$1 $a åŠç”°å¸‚ (Japan) $x History $x Sources. 00885nam a2200229 a 4500 001 75840215 /ACN/r86 003 DLC 005 19870219000000.0 008 860606m19009999ch 00001 chi 010 $a 75840215 /ACN/r86 035 $a (CStRLIN)DCLP86-B9742 050 0 $a PL3031.T32 $b L5 066 $c $1 245 00 $6 880-01 $a Li tsÊ»ung. 260 0 $6 880-02 $a [Kao-hsiung shih] : $b Wen hua yüan : $b Fa hsing so Sheng su chÊ»u pan she, $c 300 $a v. <4, pts 1-2; v. 5> in <3 > ; $c 22 cm. 500 $a Cover title. 650 0 $a Didactic fiction, Chinese $z Taiwan. 710 20 $6 880-03 $a Kao-hsiung shih wen hua yüan. 880 00 $6 245-01/$1 $a æ­·å¢. 880 0 $6 260-02/$1 $a [高雄市] : $b 文化院 : $b ç™¼è¡Œæ‰€ã€€è–æ›¸ã€€å‡ºç‰ˆç¤¾, $c <民國63-66 [1974-1977 > 880 20 $6 710-03/$1 $a 高雄市 文化院. 01054nam a2200277 a 4500 001 84226659 /ACN 003 DLC 005 19870219000000.0 008 860227s1983 cc ac b 00000dchi 010 $a 84226659 /ACN 035 $a (CStRLIN)DCLP86-B3400 050 0 $a NX90 $b .I18 1983 066 $c $1 082 0 $a 174/.97 $2 19 245 00 $6 880-01 $a I shu chia yü te yü. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a ChÊ»eng-tu : $b Ssu-chÊ»uan jen min chÊ»u pan she : $b Ssu-chÊ»uan sheng hsin hua shu tien fa hsing, $c 1983. 300 $a 2, 3, 4, 244 p. : $b ill., ports. ; $c 19 cm. 440 0 $6 880-04 $a Te yü tsÊ»ung shu 504 $a Bibliography: p. 239-240. 650 0 $a Artists $x Anecdotes, facetiae, satire, etc. 650 0 $a Ethics $x Anecdotes, facetiae, satire, etc. 880 00 $6 245-01/$1 $a 艺术家 与 德育. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a æˆéƒ½ : $b å››å·ã€€äººæ°‘ 出版社 : $b å››å·çœã€€æ–°åŽã€€ä¹¦åº— å‘行, $c 1983. 880 0 $6 440-04/$1 $a 德育 丛书 01390cam a2200349 a 4500 001 84231405 003 DLC 005 20001214140017.0 008 841203m19849999cc b 000 0 chi 010 $a 84231405 020 $c RMBY0.38 (v. 1) 035 $a (CStRLIN)DCLP84-B5184 040 $a DLC-R $c DLC-R $d DLC-R $d CStRLIN $d DLC 043 $a a-cc--- 050 00 $a JQ1519.A5 $b C47529 1984 066 $c $1 082 00 $a 324.251/075 $2 19 245 00 $6 880-01 $a Zheng dang xue xi cai liao / $c ben she bian. 250 $6 880-02 $a Di 1 ban. 260 $6 880-03 $a Shenyang : $b Liaoning ren min chu ban she : $b Liaoning sheng xin hua shu dian fa xing, $c 1984- 300 $a v. <1, 3-5, > ; $c 19 cm. 500 $a Colophon title also in pinyin: Zhengdang xuexi cailiao. 504 $a Includes bibliographical references. 610 20 $6 880-04 $a Zhongguo gong chan dang $x Party work. 710 2 $6 880-05 $a Liaoning ren min chu ban she. 740 0 $a Zhengdang xuexi cailiao. 880 00 $6 245-01/$1 $a æ•´å…šã€€å­¦ä¹ ã€€ææ–™ / $c 本社 编. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 沈阳 : $b è¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ : $b è¾½å®çœã€€æ–°åŽã€€ä¹¦åº— å±è¡Œ, $c 1984- 880 24 $6 610-04/$1 $a 中国 共产党 $x Party work. 880 2 $6 710-05/$1 $a è¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾. 987 $a PINYIN $b CStRLIN $c 20001212 $d c $e 1.0 00953nam a2200241 a 4500 001 85174785 /ACN 003 DLC 005 19870219000000.0 008 860312s1983 cc a 00000 chi 010 $a 85174785 /ACN 035 $a (CStRLIN)DCLP86-B4377 043 $a a-cc-hp 050 0 $a GR336.H67 $b H6 1983 066 $c $1 082 0 $a 398.2/32/5115 $2 19 245 00 $6 880-01 $a Ho-pei min chien ku shih hsüan / $c [chÊ»a tÊ»u Chang Wen-hsüeh]. 250 $6 880-02 $a Hsin 1 pan. 260 0 $6 880-03 $a Shih-chia-chuang : $b Hua shan wen i chÊ»u pan she : $b Ho-pei sheng hsin hua shu tien fa hsing, $c 1983. 300 $a 2, 255 p. : $b ill. ; $c 19 cm. 650 0 $a Tales $z China $z Hopeh Province. 880 00 $6 245-01/$1 $a 河北 氱间 故事 选 / $c [æ’图 张 文学]. 880 $6 250-02/$1 $a æ–°1版. 880 0 $6 260-03/$1 $a 石家庄 : $b 花山 文艺 出版社 : $b 河北çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1983. 01219nam a2200325 a 4500 001 86116930 /ACN 003 DLC 005 19870219000000.0 008 860430s1984 cc b 00010 chi 010 $a 86116930 /ACN 020 $c RMBY1.00 035 $a (CStRLIN)DCLP86-B7190 050 0 $a PN45 $b .C436 1984 066 $c $1 082 0 $a 809 $2 19 100 10 $6 880-01 $a Chang, Hsin-chien. 245 10 $6 880-02 $a Wen hsüeh chi chÊ»u chih shih / $c Chang Hsin-chien. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Ho-fei shih : $b An-hui wen i chÊ»u pan she : $b An-hui sheng hsin hua shu tien fa hsing, $c 1984. 300 $a 196 p. ; $c 19 cm. 440 0 $6 880-05 $a ChÊ»ing nien wen hsüeh tsÊ»ung shu 500 $a Cover title also in pinyin: Wenxuejichuzhishi. 504 $a Includes bibliographies. 650 0 $a Literature. 740 01 $a Wenxuejichuzhishi. 880 10 $6 100-01/$1 $a 章 新建. 880 10 $6 245-02/$1 $a 文学 基础 知识 / $c 章 新建. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a åˆè‚¥å¸‚ : $b 安徽 文艺 出版社 : $b 安徽çœã€€æ–°è¯ã€€æ›¸åº— å‘行, $c 1984. 880 0 $6 440-05/$1 $a é’年 文学 丛书 01516nam a2200301 a 4500 001 86117080 /ACN 003 DLC 005 19870219000000.0 008 860502s1985 cc ab b 00000 chi 010 $a 86117080 /ACN 020 $c RMBY2.30 035 $a (CStRLIN)DCLP86-B7475 043 $a a-cc--- 050 0 $a QE537.2.C6 $b S5 1985 066 $c $1 082 0 $a 551.2/2/09514 $2 19 245 00 $6 880-01 $a Shan Kan Ning ChÊ»ing ssu sheng (chÊ»ü) chÊ»iang ti chen mu lu : $b kung yüan [chÊ»ien] 1177 nien-kung yüan 1982 nien / $c Kuo chia ti chen chü Lan-chou ti chen yen chiu so. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a Hsi-an : $b Shan-hsi kÊ»o hsüeh chi shu chÊ»u pan she : $b Shan-hsi sheng hsin hua shu tien fa hsing, $c 1985. 300 $a 2, 170 p. : $b ill., maps ; $c 26 cm. 504 $a Bibliography: p. 170. 650 0 $a Earthquakes $z China, Northwest $x Chronology. 710 20 $6 880-04 $a Kuo chia ti chen chü Lan-chou ti chen yen chiu so. 740 01 $a Shan Kan Ning ChÊ»ing 4 sheng (chÊ»ü) chÊ»iang ti chen mu lu. 880 00 $6 245-01/$1 $a 陕甘å®é’ 四çœ(区) 强 地震 目录 : $b 公元[å‰] 1177å¹´ï¼å…¬å…ƒ 1982å¹´ / $c 国家 地震局 兰州 地震 研究所. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a 西安 : $b 陕西 秱学 技术 出版社 : $b 陕西çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1985. 880 20 $6 710-04/$1 $a 国家 地震局 兰州 地震 研究所. 01333cam a2200337 a 4500 001 86118651 /ACN/r88 003 DLC 005 19880830123434.0 008 860218s1985 ch d 00110 chi 010 $a 86118651 /ACN/r88 020 $c NT$260.00 035 $a (CStRLIN)DCLP86-B2669 041 0 $a chieng 050 0 $a SD126 $b .C473 1985 066 $c $1 082 0 $a 634.9/03/21 $2 19 100 10 $6 880-01 $a ChÊ»en, Ming-tsÊ»un. 245 10 $6 880-02 $a Sen lin hsüeh ming tzÊ»u tzÊ»u tien = $b English Chinese dictionary of forestry / $c ChÊ»en Ming-tsÊ»un, Huang Chin-hsien ho pien. 250 $6 880-03 $a ChÊ»u pan. 260 0 $6 880-04 $a TÊ»ai-pei shih : $b Ming shan chÊ»u pan she, $c min kuo 74 [1985] 300 $a 274 p. ; $c 20 cm. 500 $a Includes index. 650 0 $a Forests and forestry $x Dictionaries. 650 0 $a English language $x Dictionaries $x Chinese. 700 10 $6 880-05 $a Huang, Chin-hsien. 740 01 $a English Chinese dictionary of forestry. 880 10 $6 100-01/$1 $a 陳 銘æ±. 880 10 $6 245-02/$1 $a 森林學 å詞 辭典 = $b English Chinese dictionary of forestry / $c 陳 銘æ±, 黃 釱仙 åˆç·¨. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 0 $6 260-04/$1 $a å°åŒ—市 : $b å山 出版社, $c 氱國74 [1985] 880 10 $6 700-05/$1 $a 黃 釱仙. 01051nam a2200289 a 4500 001 86118679 /ACN 003 DLC 005 19870219000000.0 008 860218s1985 ch 00011 chi 010 $a 86118679 /ACN 035 $a (CStRLIN)DCLP86-B2674 050 0 $a PL2865.H3 $b H84 1985 066 $c $1 082 0 $a 895.1/35 $2 19 100 10 $6 880-01 $a Huang, Hai, $d 1943- 245 10 $6 880-02 $a Hsing hsing ti hsiang lien / $c Huang Hai chu. 250 $6 880-03 $a ChÊ»u pan. 260 0 $6 880-04 $a TÊ»ai-pei shih : $b Huang kuan chÊ»u pan she, $c min kuo 74 [1985] 300 $a 297 p. ; $c 19 cm. 440 0 $6 880-05 $a Huang kuan tsÊ»ung shu ; $v ti 1143 chung 500 $a Short stories. 650 0 $a Science fiction, Chinese. 880 10 $6 100-01/$1 $a 黃 海, $d 1943- 880 10 $6 245-02/$1 $a 星星 的 項練 / $c 黃 海 著. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 0 $6 260-04/$1 $a å°åŒ—市 : $b 皇冠 出版社, $c 民國74 [1985] 880 0 $6 440-05/$1 $a çš‡å† ã€€å¢æ›¸ ; $v 第1143種 01437cam a2200361 a 4500 001 86119726 003 DLC 005 20010412140706.0 008 860403s1985 cc af b 00000 chi 010 $a 86119726 020 $c RMBY3.90 035 $a (CStRLIN)DCLP86-B5782 040 $a DLC-R $c DLC-R $d DLC-R $d CStRLIN $d DLC-R 043 $a a-cc--- 050 00 $a DS751 $b .C4945 1985 066 $c $1 082 00 $a 951/.024 $2 19 245 00 $6 880-01 $a Jian ming Song shi / $c Zhou Baozhu, Chen Zhen zhu bian ; Zhou Baozhu ... [et al.] bian xie. 250 $6 880-02 $a Di 1 ban. 260 $6 880-03 $a Beijing : $b Ren min chu ban she : $b Xin hua shu dian fa xing, $c 1985. 300 $a 4, 5, 603 p., [12] p. of plates : $b ill. ; $c 21 cm. 500 $a Colophon title also in pinyin : Jianming Songshi. 504 $a Includes bibliographical references. 651 0 $a China $x History $y Song dynasty, 960-1279. 700 1 $6 880-04 $a Zhou, Baozhu. 700 1 $6 880-05 $a Chen, Zhen. 740 0 $a Jianming Songshi. 880 00 $6 245-01/$1 $a ç°¡æ˜Žã€€å®‹ã€€å² / $c 周 å®ç , 陈 振 主编 ; 周 å®ç  ... [et al.] 编写. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 北京 : $b 人民 出版社 : $b æ–°è¯ã€€æ›¸åº— å‘行, $c 1985. 880 1 $6 700-04/$1 $a 周 å®ç . 880 1 $6 700-05/$1 $a 陈 振. 987 $a PINYIN $b CStRLIN $c 20001214 $d c $e 1.0 01114nam a2200289 a 4500 001 86122256 /ACN 003 DLC 005 19870219000000.0 008 860303s1984 cc b 00010 chi 010 $a 86122256 /ACN 020 $c RMBY2.80 035 $a (CStRLIN)DCLP86-B3622 043 $a a-cc--- 050 0 $a PL2333 $b .L63 1984 066 $c $1 082 0 $a 895.1/15/09 $2 19 100 10 $6 880-01 $a Lo, Han-chÊ»ao. 245 10 $6 880-02 $a Chung-kuo hsien tai shih ko lun / $c [Lo Han-chÊ»ao]. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a [Nan-ching shih] : $b Chiang-su jen min chÊ»u pan she : $b Chiang-su sheng hsin hua shu tien fa hsing, $c 1984. 300 $a 11, 411 p. ; $c 20 cm. 504 $a Includes bibliographical references. 650 0 $a Chinese poetry $y 20th century $x History and criticism. 880 10 $6 100-01/$1 $a 骆 寒超. 880 10 $6 245-02/$1 $a 中国 现代 诗歌 论 / $c [骆 寒超]. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a [å—京市] : $b 江è‹ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ : $b 江è‹çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1984. 01244nam a2200325 a 4500 001 86124008 /ACN 003 DLC 005 19870219000000.0 008 860417s1985 cc j 00010 chi 010 $a 86124008 /ACN 020 $c RMBY0.61 035 $a (CStRLIN)DCLP86-B6501 043 $a a-cc--- 050 0 $a DS731.U4 $b H75 1985 066 $c $1 082 0 $a 951/.6 $2 19 100 10 $6 880-01 $a Hsin, She. 245 10 $6 880-02 $a Tsai Wei-wu-erh chih hsiang / $c Hsin She. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Wu-lu-mu-chÊ»i shih : $b Hsin-chiang jen min chÊ»u pan she : $b Hsin-chiang hsin hua shu tien fa hsing, $c 1985. 300 $a 2, 178 p. ; $c 19 cm. 440 0 $6 880-05 $a Tsu kuo ta chia tÊ»ing tsÊ»ung shu 650 0 $a Uigurs $x Juvenile literature. 650 0 $a Ethnology $z China $x Juvenile literatture. 651 0 $a China $x Ethnic relations $x Juvenile literature. 880 10 $6 100-01/$1 $a 辛 涉. 880 10 $6 245-02/$1 $a 在 维å¾å°” 之 乡 / $c 辛 涉. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a ä¹Œé²æœ¨é½å¸‚ : $b 新疆 人民 出版社 : $b 新疆 新è¯ã€€æ›¸åº— å‘行, $c 1985. 880 0 $6 440-05/$1 $a 祖国 大家庭 丛书 01252cam a2200313 a 4500 001 86124229 003 DLC 005 20001214140017.0 008 860703s1985 cc 000 1 chi 010 $a 86124229 020 $c RMBY1.05 035 $a (CStRLIN)DCLP86-B11515 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC 050 00 $a PL2724.H37 $b H7 1985 066 $c $1 082 00 $a 895.1/34 $2 19 100 1 $6 880-01 $a Shen, Qifeng, $d b. 1741. 245 10 $6 880-02 $a Xie duo / $c Shen Qifeng zhu ; Qiao Yuzhou jiao dian. 250 $6 880-03 $a Beijing di 1 ban. 260 $6 880-04 $a Beijing : $b Ren min wen xue chu ban she : $b Xin hua shu dian Beijing fa xing suo fa xing, $c 1985. 300 $a 7, 198 p. ; $c 19 cm. 440 0 $6 880-05 $a Zhongguo xiao shuo shi liao cong shu 500 $a Short stories. 880 1 $6 100-01/$1 $a 沈 起凤, $d b. 1741. 880 10 $6 245-02/$1 $a è°é“Ž / $c 沈 起凤 著 ; 乔 雨舟 校点. 880 $6 250-03/$1 $a 北京 第1版. 880 $6 260-04/$1 $a 北京 : $b 人民 文学 出版社 : $b æ–°åŽã€€ä¹¦åº— 北京 å‘行所 å‘行, $c 1985. 880 0 $6 440-05/$1 $a 中国 å°è¯´ã€€å²æ–™ã€€ä¸›ä¹¦ 987 $a PINYIN $b CStRLIN $c 20001214 $d c $e 1.0 01516cam a2200349 a 4500 001 86124531 /ACN/r93 003 DLC 005 19930723073715.0 008 860319s1985 cc 00000 chi 010 $a 86124531 /ACN/r93 020 $c RMBY1.80 035 $a (CStRLIN)DCLP86-B4826 043 $a a-cc--- 050 0 $a HX418.5 $b .C482 1985 066 $c $1 082 0 $a 322/.2/0951 $2 19 245 00 $6 880-01 $a ChÊ»ing kung cheng chih lun hsün chiao tsÊ»ai / $c Chung kung Shang-hai shih wei hsüan chÊ»uan pu tsu chih pien hsieh. 250 $6 880-02 $a Ti 1 pan. 260 $6 880-03 $a Shang-hai : $b Shang-hai jen min chÊ»u pan she : $b Hsin hua shu tien Shang-hai fa hsing so fa hsing, $c 1985. 300 $a 8, 479 p. ; $c 19 cm. 500 $a Cover title also in pinyin: Qinggong zhengzhi lunxun jiaocai. 650 0 $a Communism $z China. 650 0 $a Working class $z China. 651 0 $a China $x History $y 19th century. 651 0 $a China $x History $y 20th century. 651 0 $a China $x Description and travel. 710 20 $6 880-04 $a Chung kung Shang-hai shih wei. $b Hsüan chÊ»uan pu. 740 01 $a Qinggong zhengzhi lunxun jiaocai. 880 00 $6 245-01/$1 $a é’工 政治 轮训 教æ / $c 中共 上海 市委 宣传部 组织 编写. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 上海 : $b 上海 人氱 出版社 : $b æ–°è¯ã€€æ›¸åº— 上海 å±è¡Œæ‰€ã€€å±è¡Œ, $c 1985. 880 20 $6 710-04/$1 $a 中共 上海 市委. $b 宣传部. 01121nam a2200301 a 4500 001 86125160 /ACN 003 DLC 005 19870219000000.0 008 860327s1985 cc cfh 00010 chi 010 $a 86125160 /ACN 020 $c RMBY1.05 035 $a (CStRLIN)DCLP86-B5292 050 0 $a PL2862.I276 $b W8 1985 066 $c $1 082 0 $a 895.1/15 $2 19 100 10 $6 880-01 $a Hsiao, ChÊ»ing. 245 10 $6 880-02 $a Wu shu hua / $c Hsiao ChÊ»ing. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Pei-ching : $b Pei-ching shih yüeh wen i chÊ»u pan she : $b Hsin hua shu tien Pei-ching fa hsing so fa hsing, $c 1985. 300 $a 4, 3, 199 p., [2] p. of plates : $b facsim., port. ; $c 19 cm. 440 0 $6 880-05 $a Hung yeh shih tsÊ»ung 500 $a Poems. 740 01 $a 5 shu hua. 880 10 $6 100-01/$1 $a 晓 晴. 880 10 $6 245-02/$1 $a 五æŸã€€èб/ $c 晓 晴. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a 北京 : $b åŒ—äº¬ã€€åæœˆã€€æ–‡è‰ºã€€å‡ºç‰ˆç¤¾ : $b æ–°åŽã€€ä¹¦åº— 北京 å±è¡Œæ‰€ã€€å±è¡Œ, $c 1985. 880 0 $6 440-05/$1 $a 红å¶ã€€è¯—丛 01301nam a2200301 a 4500 001 86125348 /ACN 003 DLC 005 19870219000000.0 008 860304r19851917ch 00010 chi 010 $a 86125348 /ACN 035 $a (CStRLIN)DCLP86-B3824 043 $a a-cc--- 050 0 $a DS754.18 $b .C446 1985 066 $c $1 082 0 $a 327.51 $2 19 100 10 $6 880-01 $a Chuang, Ping-hai. 245 10 $6 880-02 $a Wai chiao ssu tÊ»ung lu / $c Chuang Ping-hai pien [tsuan]. 260 0 $6 880-03 $a [TÊ»ai-pei hsien Yung-ho shih] : $b Wen hai chÊ»u pan she, $c min kuo 74 [1985] 300 $a 2, 2, 2, 272 p. ; $c 22 cm. 490 1 $6 880-04 $a Chin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien : ti 2 chi ; $v 20 500 $a Reprint. Originally published: 1917? 651 0 $a China $x Foreign relations $y 1644-1912. 830 0 $6 880-05 $a Chin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien ; $v 20. 880 10 $6 100-01/$1 $a 莊 病骸. 880 10 $6 245-02/$1 $a 外交 æ€ç—›ã€€éŒ„ / $c 莊 病骸 編[纂]. 880 0 $6 260-03/$1 $a [臺北縣 永和市] : $b 文海 出版社, $c 民國74 [1985] 880 1 $6 490-04/$1 $a è¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ : 第二輯 ; $v 20 880 0 $6 830-05/$1 $a è¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ ; $v 20. 01158cam a2200325 a 4500 001 86125443 003 DLC 005 20020326070412.0 008 860304s1985 ch a 00010 chi 010 $a 86125443 020 $c $9.00 (U.S.) 035 $a (CStRLIN)DCLP86-B3795 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC-R 043 $a a-cc--- 050 00 $a B5231 $b .L59 1985 066 $c $1 082 00 $a 181/.11 $2 19 100 1 $6 880-01 $a Liu, Shaoji. 245 10 $6 880-02 $a Zhongguo zhe xue xin lun = $b A new view of the Chinese philosophy / $c Liu Shaoji zhu. 250 $6 880-03 $a Chu ban. 260 $6 880-04 $a Taibei Shi : $b Shi jie shu ju, $c min guo 74 [1985] 300 $a 6, 12, 424 p. : $b ill. ; $c 27 cm. 546 $a In Chinese. 650 0 $a Philosophy, Chinese. 740 0 $a New view of the Chinese philosophy. 880 1 $6 100-01/$1 $a 劉 紹基. 880 10 $6 245-02/$1 $a 中國 哲學 新論 = $b A new view of the Chinese philosophy / $c 劉 紹基 豗. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 $6 260-04/$1 $a å°åŒ—市 : $b 世界 書局, $c 氱國74 [1985] 987 $a PINYIN $b DLC $c 20020326 $d c 01247nam a2200301 a 4500 001 86154542 /ACN/r86 003 DLC 005 19870219000000.0 008 860528s1985 cc 00000 chi 010 $a 86154542 /ACN/r86 020 $c RMBY3.60 (v. 1) 035 $a (CStRLIN)DCLP86-B9002 043 $a a-cc--- 050 0 $a HB126.C4 $b C533 1985 066 $c $1 082 0 $a 330/.0951 $2 19 245 00 $6 880-01 $a Chung-kuo ku tai ching chi chu shu hsüan tu / $c Yü Tsu-yao ... [et al.] pien chu. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a [ChÊ»ang-chÊ»un shih] : $b Chi-lin jen min chÊ»u pan she : $b Chi-lin sheng hsin hua shu tien fa hsing, $c 1985. 300 $a 2 v. ; $c 20 cm. 500 $a Colophon title also in pinyin: Zhongguo gudai jingji zhushu xuandu. 650 0 $a Economics $z China $x History. 700 10 $6 880-04 $a Yü, Tsu-yao. 740 01 $a Zhongguo gudai jingji zhushu xuandu. 880 00 $6 245-01/$1 $a 中國 å¤ä»£ã€€ç¶“濟 著述 é¸è®€ / $c 虞 祖尧 ... [et al.] ç¼–è‘—. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a [长春市] : $b 剿ž— 人民 出版社 : $b 剿ž—çœã€€æ–°åŽã€€ä¹¦åº— å‘行, $c 1985. 880 10 $6 700-04/$1 $a 虞 祖尧. 00951nam a2200253 a 4500 001 86159478 /AK 003 DLC 005 19870219000000.0 008 860602s1984 ko 00010 kor 010 $a 86159478 /AK 020 $c W2800 035 $a (CStRLIN)DCLP86-B9357 040 $a CLASIA $c CLASIA $d DLC 050 0 $a AC148 $b .K589256 1985 066 $c $1 100 10 $6 880-01 $a Kim, Tong-gil, $d 1928- 245 10 $6 880-02 $a Tŭrŏra, ttaltŭl a : $b Kim Tong-gil taepÊ»yo esei. 260 0 $6 880-03 $a Sŏul : $b ChÊ»ŏngnyŏnsa, $c 1984 $g (1985 printing) 300 $a 271 p. ; $c 23 cm. 440 0 $6 880-04 $a Uri sidae ŭi taepÊ»yo sanmunsŏn ; $v 1 880 10 $6 100-01/$1 $a 김 ë™ê¸¸, $d 1928- 880 10 $6 245-02/$1 $a 들어ë¼, 딸들 아 : $b 김 ë™ê¸¸ã€€ëŒ€í‘œã€€ì—세ì´. 880 0 $6 260-03/$1 $a 서울 : $b 청년사, $c 1984 $g (1985 printing) 880 0 $6 440-04/$1 $a 우리 시대 ì˜ã€€ëŒ€í‘œã€€ì‚°ë¬¸ì„  ; $v 1 yaz-5.31.1/test/test_icu.0.output0000664000175000017500000000035414152153071013546 000000000000001 1 'børn' 'Børn' 0+5 *Børn* 2 2 'le' 'Le' 0+3 *Le *Carré 3 2 'carré' 'Carré' 3+6 Le *Carré* 4 3 'le' 'Le' 0+3 *Le *Carre 5 3 'carre' 'Carre' 3+5 Le *Carre* 6 4 'le' 'Le' 0+3 *Le *CarreÌ 7 4 'carreÌ' 'CarreÌ' 3+7 Le *CarreÌ* yaz-5.31.1/test/xml2marc4.xml0000664000175000017500000000106314157607106012650 00000000000000 009140091a22a 22003370 yaz-5.31.1/test/tmarc7.xml0000664000175000017500000000770614157607106012246 00000000000000 03114cam a2200349 i 4500 77123332 DLC 20051218154744.0 981008b2001 ilu 000 0 eng 57779 90490 93202 DLC DLC 0 und orignew u ncip 19 y-gencatlg 77123332 Voyager Diacritic test -- New input 001 (SBIE). ny : ny, 2001. 100 p. ; 12 cm. New copy imported from file (8/12/99). VOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (â„—); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡). VOYAGER COLUMN 1: Script L (â„“); Polish L (Å); Scandanavian O (Ø); D with Crossbar (Ä); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Å’); Miagkii Znak (ʹ); Dot at Midline (·). VOYAGER COLUMN 2: Musical Flat (â™­); Patent Mark (®); Plus or Minus (±); O Hook (Æ ); U Hook (Ư); Alif (ʼ); alpha α; Ayn (Ê»); Polish l (Å‚). VOYAGER COLUMN 3: Scandanavian o (ø); d with crossbar (Ä‘); Icelandic Thorn (þ); ae Digraph (æ); oe Digraph (Å“); Tverdii Znak (ʺ); Turkish i (ı); British Pound (£); eth (ð). VOYAGER COLUMN 4: Dagger (DO NOT USE); o Hook (Æ¡); u Hook (ư); Beta β; Gamma γ; Superscript 0 (â°); Superscript 1 (¹); Superscript 2 (²); Superscript 3 (³). VOYAGER COLUMN 5: Superscript 4 (â´); Superscript 5 (âµ); Superscript 6 (â¶); Superscript 7 (â·); Superscript 8 (â¸); Superscript 9 (â¹); Superscript + (âº); Superscript - (â»); Superscript ( (â½). VOYAGER COLUMN 6: Superscript ) (â¾); Subscript 0 (â‚€); Subscript 1 (â‚); Subscript 2 (â‚‚); Subscript 3 (₃); Subscript 4 (â‚„); Subscript 5 (â‚…); Subscript 6 (₆); Subscript 7 (₇). VOYAGER COLUMN 7: Subscript 8 (₈); Subscript 9 (₉); Subscript + (₊); Subscript - (â‚‹); Subscript ( (â‚); Subscript ) (₎); Pseudo Question Mark (ỏ); Grave (oÌ€); Acute (oÌ). VOYAGER COLUMN 8: Circumflex (oÌ‚); Tilde (õ); Macron (oÌ„); Breve (ŏ); Superior Dot (ȯ); Umlaut (ö); Hacek (oÌŒ); Circle Above (oÌŠ); Ligature left (oÍ¡). VOYAGER COLUMN 9: Ligature right (o) ; High Comma off center (oÌ•); Double Acute (oÌ‹); Candrabindu (oÌ); Cedilla (o̧); Right Hook (ǫ); Dot Below (oÌ£); Double Dot Below (o̤); Circle Below (oÌ¥). VOYAGER COLUMN 10: Double Underscore (o̳); Underscore (o̲); Left Hook (o̦); Right Cedilla (oÌœ); Upadhmaniya (oÌ®); Double Tilde 1st half (oÍ ); Double Tilde 2nd half (o) ; High Comma centered (oÌ“). VOYAGER PC Keyboard: Spacing Circumflex (^); Spacing Underscore (_); Spacing Grave (`); Open Curly Bracket ({); Close Curly Bracket (}); Spacing Tilde (~). Standard PC Keyboard: 1234567890-= !@#$%^&*()_+ qwertyuiop[]\ QWERTYUIOP{}| asdfghjkl;' ASDFGHJKL:" zxcvbnm,./ ZXCVBNM<>? yaz-5.31.1/test/xml2marc8.xml0000664000175000017500000001352014157607106012655 00000000000000 02647nam^a2200469^^^4500UCD-00259230120061209034435.0m d cr bn |||a|bb|920330s1583 enk s 000 0 eng d99851339eoCL0036000039ProQuest Information and Learning. 300 N. Zeeb Rd., Ann Arbor, MI 48106Cu-RivESCu-RivESCStRLINdcrbWaOLNClinton, Atkinson.Clinton, Purser & Arnold, to their countreymen wheresoeuer[electronic resource] :Wherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent MaiestieClinton, Purser & Arnold, to their countreymen wheresoeverClinton, Purser & Arnold, to their countreymen wheresoeverLondon :Imprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church,[1583?][12] pIn verseThe first poem is signed: Thomas Walton alias PurserClinton's full name and bookseller's name from, and publication date conjectured by, STCSignatures: A⁴ B²Reproduction of the original in the Bodleian LibrarySTC (2nd ed.)5431Also issued in print and on microformElectronic reproduction.Mode of access: World Wide Web.Restricted to UC campusesElectronic texts.localPiratesEnglandEarly works to 1800.Walton, Thomas,fl. 1583.autArnold,fl. 1583.autEarly English books onlineMERkmainSCBnnetRestricted to UC campusesSCP UCSDhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610Restricted to UC campusesSCP UCSDhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610DVXLELECT-GENInternetLAGEinOnline accessRestricted to UC campusesSCP UCSDhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610Restricted to UC campuseshttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610CDLEarly English books, 1475-1640 ;1406:13.DVXL002592301 yaz-5.31.1/test/xml2tmarc3.xml.marc0000664000175000017500000000162214157607106013755 0000000000000000914naa a2200337 450 001001700000004000900017008002400026009001000050041000800060041000800068097000700076245003300083300002600116557003300142630001600175630001300191633001000204633000900214648006100223648001600284648005400300J01000600354BAS000500360LKR004200365CAT003000407CAT003000437CAT003000467CAT003900497CAT002600536UID001400562 aa00001508fa airn a1991bxxlnortav9 aagxx anor deng00a06 aByfornyelse ved Ibsen-Ringen bfarvefotobplanbsnit aByggekunstj1991v1/2k41-45 fbyfornyelse fsanering fNorge fOslo aTelje Torp Aasen ArkitektkontorcKristian Augustsgate 7B aEng, Dagfin ranlund, TomcKristian AugustsgatecPilestredet 19 aa 0 aITMlARK50b0000145y1991i1/2k41-45 abc20020111lARK01h2002 abc20020111lARK01h2116 abc20021002lARK01h1000 aICLLOADb00c20021122lARK01h1948 c20030618lARK01h1330 aa00001508yaz-5.31.1/test/tmarc2.xml0000664000175000017500000000467214157607106012240 00000000000000 01116nam0a32002171 450 9 182 502 3 710100 a c e s f 1995 gb eng 0 s xc bef Mimms Garnet Cry baby Warm and soulful Garnet Mimms ... [et al.] Bury St. Edmunds BGO 1995 1 cd Indspilninger publiceret 1963 (Cry baby) og 1965 (Warm and soulful) Indhold: BGO BGOCD268 78.794 4 soul rhythm & blues vokal 1960-1969 USA 11 Cry baby Nobody but you Until you were gone Anytime you want me So close For your precious love Baby don't you weep A ¤quiet place Cry to me Don't change your heart Wanting you The ¤truth hurts I'll take good care of you Looking for you It won't hurt (half as much) It was easier to hurt her Thinkin' Prove it to me More than a miracle As long as I have you One girl There goes my baby It's just a matter of time A ¤little bit of soap Look away I'll make it up to you 40 0 1 girl yaz-5.31.1/test/xml2marc2.xml.marc0000664000175000017500000000214114157607106013565 0000000000000001121nam0a32002171 450 001002800000004001000028008002800038009001100066039000900077100001900086245005900105260003300164300001000197512007300207531001400280538001900294652001500313666004900328795050600377795002000883000a9 182 502 3b710100fa000rcae000tsufa1995bgblengv0000asgxc000abef000aMimmshGarnet000aCry babyaWarm and soulfuleGarnet Mimms ... [et al.]000aBury St. EdmundsbBGOc1995000n1 cd000aIndspilninger publiceret 1963 (Cry baby) og 1965 (Warm and soulful)000aIndhold:000fBGOgBGOCD268000m78.794v4000msoulmrhythm & bluesnvokalp1960-1969lUSA000Ã¥11aCry babyaNobody but youaUntil you were goneaAnytime you want meaSo closeaFor your precious loveaBaby don't you weepaA ¤quiet placeaCry to meaDon't change your heartaWanting youaThe ¤truth hurtsaI'll take good care of youaLooking for youaIt won't hurt (half as much)aIt was easier to hurt heraThinkin'aProve it to meaMore than a miracleaAs long as I have youaOne girlaThere goes my babyaIt's just a matter of timeaA ¤little bit of soapaLook awayaI'll make it up to you000Ã¥40y0a1 girlyaz-5.31.1/test/marccol1.u8.1.lst0000664000175000017500000004714114152153071013233 0000000000000001087cam a2200277 a 4500 001 70813420 /AJ/r86 003 DLC 005 19871006084439.0 008 860826m19689999ja ab l00000 jpn 010 $a 70813420 /AJ/r86 035 $a (CStRLIN)DCLP86-B14482 040 $c NNC $d NNC $d DLC 043 $a a-ja--- 050 0 $a DS897.H325 $b H36 1968 066 $c $1 245 00 $6 880-01 $a Handa shishi. 260 0 $6 880-02 $a [Handa-shi] : $b Handa-shi, $c ShoÌ„wa 43-<59> [1968-<1984> 300 $a v. <1-5, 7-8> : $b ill. ; $c 22 cm. 500 $a Vol. 3 accompanied by Handa-shi chiiki chishitsuzu; v. 8, Handa-shi Otsukawa Asaiyama dashi kumiage zumen (1 folded) leaf). 505 1 $a [1]-[4] ShiryoÌ„ hen -- [5] Honbun hen -- [7] Bunkazai hen -- [8] Sairei minzoku hen 651 0 $6 880-03 $a Handa-shi (Japan) 651 0 $6 880-04 $a Handa-shi (Japan) $x History $x Sources. 880 00 $6 245-01/$1 $a åŠç”° 市誌. 880 0 $6 260-02/$1 $a [åŠç”°å¸‚] : $b åŠç”°å¸‚, $c 昭和 43-<59> [1968-<1984> 880 4 $6 651-03/$1 $a åŠç”°å¸‚ (Japan) 880 4 $6 651-04/$1 $a åŠç”°å¸‚ (Japan) $x History $x Sources. 00847nam a2200229 a 4500 001 75840215 /ACN/r86 003 DLC 005 19870219000000.0 008 860606m19009999ch 00001 chi 010 $a 75840215 /ACN/r86 035 $a (CStRLIN)DCLP86-B9742 050 0 $a PL3031.T32 $b L5 066 $c $1 245 00 $6 880-01 $a Li tsÊ»ung. 260 0 $6 880-02 $a [Kao-hsiung shih] : $b Wen hua yüan : $b Fa hsing so Sheng su chÊ»u pan she, $c 300 $a v. <4, pts 1-2; v. 5> in <3 > ; $c 22 cm. 500 $a Cover title. 650 0 $a Didactic fiction, Chinese $z Taiwan. 710 20 $6 880-03 $a Kao-hsiung shih wen hua yüan. 880 00 $6 245-01/$1 $a æ­·å¢. 880 0 $6 260-02/$1 $a [高雄市] : $b 文化院 : $b ç™¼è¡Œæ‰€ã€€è–æ›¸ã€€å‡ºç‰ˆç¤¾, $c <民國63-66 [1974-1977 > 880 20 $6 710-03/$1 $a 高雄市 文化院. 01020nam a2200277 a 4500 001 84226659 /ACN 003 DLC 005 19870219000000.0 008 860227s1983 cc ac b 00000dchi 010 $a 84226659 /ACN 035 $a (CStRLIN)DCLP86-B3400 050 0 $a NX90 $b .I18 1983 066 $c $1 082 0 $a 174/.97 $2 19 245 00 $6 880-01 $a I shu chia yü te yü. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a ChÊ»eng-tu : $b Ssu-chÊ»uan jen min chÊ»u pan she : $b Ssu-chÊ»uan sheng hsin hua shu tien fa hsing, $c 1983. 300 $a 2, 3, 4, 244 p. : $b ill., ports. ; $c 19 cm. 440 0 $6 880-04 $a Te yü tsÊ»ung shu 504 $a Bibliography: p. 239-240. 650 0 $a Artists $x Anecdotes, facetiae, satire, etc. 650 0 $a Ethics $x Anecdotes, facetiae, satire, etc. 880 00 $6 245-01/$1 $a 艺术家 与 德育. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a æˆéƒ½ : $b å››å·ã€€äººæ°‘ 出版社 : $b å››å·çœã€€æ–°åŽã€€ä¹¦åº— å‘行, $c 1983. 880 0 $6 440-04/$1 $a 德育 丛书 01336cam a2200349 a 4500 001 84231405 003 DLC 005 20001214140017.0 008 841203m19849999cc b 000 0 chi 010 $a 84231405 020 $c RMBY0.38 (v. 1) 035 $a (CStRLIN)DCLP84-B5184 040 $a DLC-R $c DLC-R $d DLC-R $d CStRLIN $d DLC 043 $a a-cc--- 050 00 $a JQ1519.A5 $b C47529 1984 066 $c $1 082 00 $a 324.251/075 $2 19 245 00 $6 880-01 $a Zheng dang xue xi cai liao / $c ben she bian. 250 $6 880-02 $a Di 1 ban. 260 $6 880-03 $a Shenyang : $b Liaoning ren min chu ban she : $b Liaoning sheng xin hua shu dian fa xing, $c 1984- 300 $a v. <1, 3-5, > ; $c 19 cm. 500 $a Colophon title also in pinyin: Zhengdang xuexi cailiao. 504 $a Includes bibliographical references. 610 20 $6 880-04 $a Zhongguo gong chan dang $x Party work. 710 2 $6 880-05 $a Liaoning ren min chu ban she. 740 0 $a Zhengdang xuexi cailiao. 880 00 $6 245-01/$1 $a æ•´å…šã€€å­¦ä¹ ã€€ææ–™ / $c 本社 编. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 沈阳 : $b è¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ : $b è¾½å®çœã€€æ–°åŽã€€ä¹¦åº— å±è¡Œ, $c 1984- 880 24 $6 610-04/$1 $a 中国 共产党 $x Party work. 880 2 $6 710-05/$1 $a è¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾. 987 $a PINYIN $b CStRLIN $c 20001212 $d c $e 1.0 00916nam a2200241 a 4500 001 85174785 /ACN 003 DLC 005 19870219000000.0 008 860312s1983 cc a 00000 chi 010 $a 85174785 /ACN 035 $a (CStRLIN)DCLP86-B4377 043 $a a-cc-hp 050 0 $a GR336.H67 $b H6 1983 066 $c $1 082 0 $a 398.2/32/5115 $2 19 245 00 $6 880-01 $a Ho-pei min chien ku shih hsüan / $c [chÊ»a tÊ»u Chang Wen-hsüeh]. 250 $6 880-02 $a Hsin 1 pan. 260 0 $6 880-03 $a Shih-chia-chuang : $b Hua shan wen i chÊ»u pan she : $b Ho-pei sheng hsin hua shu tien fa hsing, $c 1983. 300 $a 2, 255 p. : $b ill. ; $c 19 cm. 650 0 $a Tales $z China $z Hopeh Province. 880 00 $6 245-01/$1 $a 河北 氱间 故事 选 / $c [æ’图 张 文学]. 880 $6 250-02/$1 $a æ–°1版. 880 0 $6 260-03/$1 $a 石家庄 : $b 花山 文艺 出版社 : $b 河北çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1983. 01171nam a2200325 a 4500 001 86116930 /ACN 003 DLC 005 19870219000000.0 008 860430s1984 cc b 00010 chi 010 $a 86116930 /ACN 020 $c RMBY1.00 035 $a (CStRLIN)DCLP86-B7190 050 0 $a PN45 $b .C436 1984 066 $c $1 082 0 $a 809 $2 19 100 10 $6 880-01 $a Chang, Hsin-chien. 245 10 $6 880-02 $a Wen hsüeh chi chÊ»u chih shih / $c Chang Hsin-chien. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Ho-fei shih : $b An-hui wen i chÊ»u pan she : $b An-hui sheng hsin hua shu tien fa hsing, $c 1984. 300 $a 196 p. ; $c 19 cm. 440 0 $6 880-05 $a ChÊ»ing nien wen hsüeh tsÊ»ung shu 500 $a Cover title also in pinyin: Wenxuejichuzhishi. 504 $a Includes bibliographies. 650 0 $a Literature. 740 01 $a Wenxuejichuzhishi. 880 10 $6 100-01/$1 $a 章 新建. 880 10 $6 245-02/$1 $a 文学 基础 知识 / $c 章 新建. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a åˆè‚¥å¸‚ : $b 安徽 文艺 出版社 : $b 安徽çœã€€æ–°è¯ã€€æ›¸åº— å‘行, $c 1984. 880 0 $6 440-05/$1 $a é’年 文学 丛书 01437nam a2200301 a 4500 001 86117080 /ACN 003 DLC 005 19870219000000.0 008 860502s1985 cc ab b 00000 chi 010 $a 86117080 /ACN 020 $c RMBY2.30 035 $a (CStRLIN)DCLP86-B7475 043 $a a-cc--- 050 0 $a QE537.2.C6 $b S5 1985 066 $c $1 082 0 $a 551.2/2/09514 $2 19 245 00 $6 880-01 $a Shan Kan Ning ChÊ»ing ssu sheng (chÊ»ü) chÊ»iang ti chen mu lu : $b kung yüan [chÊ»ien] 1177 nien-kung yüan 1982 nien / $c Kuo chia ti chen chü Lan-chou ti chen yen chiu so. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a Hsi-an : $b Shan-hsi kÊ»o hsüeh chi shu chÊ»u pan she : $b Shan-hsi sheng hsin hua shu tien fa hsing, $c 1985. 300 $a 2, 170 p. : $b ill., maps ; $c 26 cm. 504 $a Bibliography: p. 170. 650 0 $a Earthquakes $z China, Northwest $x Chronology. 710 20 $6 880-04 $a Kuo chia ti chen chü Lan-chou ti chen yen chiu so. 740 01 $a Shan Kan Ning ChÊ»ing 4 sheng (chÊ»ü) chÊ»iang ti chen mu lu. 880 00 $6 245-01/$1 $a 陕甘å®é’ 四çœ(区) 强 地震 目录 : $b 公元[å‰] 1177å¹´ï¼å…¬å…ƒ 1982å¹´ / $c 国家 地震局 兰州 地震 研究所. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a 西安 : $b 陕西 秱学 技术 出版社 : $b 陕西çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1985. 880 20 $6 710-04/$1 $a 国家 地震局 兰州 地震 研究所. 01289cam a2200337 a 4500 001 86118651 /ACN/r88 003 DLC 005 19880830123434.0 008 860218s1985 ch d 00110 chi 010 $a 86118651 /ACN/r88 020 $c NT$260.00 035 $a (CStRLIN)DCLP86-B2669 041 0 $a chieng 050 0 $a SD126 $b .C473 1985 066 $c $1 082 0 $a 634.9/03/21 $2 19 100 10 $6 880-01 $a ChÊ»en, Ming-tsÊ»un. 245 10 $6 880-02 $a Sen lin hsüeh ming tzÊ»u tzÊ»u tien = $b English Chinese dictionary of forestry / $c ChÊ»en Ming-tsÊ»un, Huang Chin-hsien ho pien. 250 $6 880-03 $a ChÊ»u pan. 260 0 $6 880-04 $a TÊ»ai-pei shih : $b Ming shan chÊ»u pan she, $c min kuo 74 [1985] 300 $a 274 p. ; $c 20 cm. 500 $a Includes index. 650 0 $a Forests and forestry $x Dictionaries. 650 0 $a English language $x Dictionaries $x Chinese. 700 10 $6 880-05 $a Huang, Chin-hsien. 740 01 $a English Chinese dictionary of forestry. 880 10 $6 100-01/$1 $a 陳 銘æ±. 880 10 $6 245-02/$1 $a 森林學 å詞 辭典 = $b English Chinese dictionary of forestry / $c 陳 銘æ±, 黃 釱仙 åˆç·¨. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 0 $6 260-04/$1 $a å°åŒ—市 : $b å山 出版社, $c 氱國74 [1985] 880 10 $6 700-05/$1 $a 黃 釱仙. 00995nam a2200289 a 4500 001 86118679 /ACN 003 DLC 005 19870219000000.0 008 860218s1985 ch 00011 chi 010 $a 86118679 /ACN 035 $a (CStRLIN)DCLP86-B2674 050 0 $a PL2865.H3 $b H84 1985 066 $c $1 082 0 $a 895.1/35 $2 19 100 10 $6 880-01 $a Huang, Hai, $d 1943- 245 10 $6 880-02 $a Hsing hsing ti hsiang lien / $c Huang Hai chu. 250 $6 880-03 $a ChÊ»u pan. 260 0 $6 880-04 $a TÊ»ai-pei shih : $b Huang kuan chÊ»u pan she, $c min kuo 74 [1985] 300 $a 297 p. ; $c 19 cm. 440 0 $6 880-05 $a Huang kuan tsÊ»ung shu ; $v ti 1143 chung 500 $a Short stories. 650 0 $a Science fiction, Chinese. 880 10 $6 100-01/$1 $a 黃 海, $d 1943- 880 10 $6 245-02/$1 $a 星星 的 項練 / $c 黃 海 著. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 0 $6 260-04/$1 $a å°åŒ—市 : $b 皇冠 出版社, $c 民國74 [1985] 880 0 $6 440-05/$1 $a çš‡å† ã€€å¢æ›¸ ; $v 第1143種 01365cam a2200361 a 4500 001 86119726 003 DLC 005 20010412140706.0 008 860403s1985 cc af b 00000 chi 010 $a 86119726 020 $c RMBY3.90 035 $a (CStRLIN)DCLP86-B5782 040 $a DLC-R $c DLC-R $d DLC-R $d CStRLIN $d DLC-R 043 $a a-cc--- 050 00 $a DS751 $b .C4945 1985 066 $c $1 082 00 $a 951/.024 $2 19 245 00 $6 880-01 $a Jian ming Song shi / $c Zhou Baozhu, Chen Zhen zhu bian ; Zhou Baozhu ... [et al.] bian xie. 250 $6 880-02 $a Di 1 ban. 260 $6 880-03 $a Beijing : $b Ren min chu ban she : $b Xin hua shu dian fa xing, $c 1985. 300 $a 4, 5, 603 p., [12] p. of plates : $b ill. ; $c 21 cm. 500 $a Colophon title also in pinyin : Jianming Songshi. 504 $a Includes bibliographical references. 651 0 $a China $x History $y Song dynasty, 960-1279. 700 1 $6 880-04 $a Zhou, Baozhu. 700 1 $6 880-05 $a Chen, Zhen. 740 0 $a Jianming Songshi. 880 00 $6 245-01/$1 $a ç°¡æ˜Žã€€å®‹ã€€å² / $c 周 å®ç , 陈 振 主编 ; 周 å®ç  ... [et al.] 编写. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 北京 : $b 人民 出版社 : $b æ–°è¯ã€€æ›¸åº— å‘行, $c 1985. 880 1 $6 700-04/$1 $a 周 å®ç . 880 1 $6 700-05/$1 $a 陈 振. 987 $a PINYIN $b CStRLIN $c 20001214 $d c $e 1.0 01069nam a2200289 a 4500 001 86122256 /ACN 003 DLC 005 19870219000000.0 008 860303s1984 cc b 00010 chi 010 $a 86122256 /ACN 020 $c RMBY2.80 035 $a (CStRLIN)DCLP86-B3622 043 $a a-cc--- 050 0 $a PL2333 $b .L63 1984 066 $c $1 082 0 $a 895.1/15/09 $2 19 100 10 $6 880-01 $a Lo, Han-chÊ»ao. 245 10 $6 880-02 $a Chung-kuo hsien tai shih ko lun / $c [Lo Han-chÊ»ao]. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a [Nan-ching shih] : $b Chiang-su jen min chÊ»u pan she : $b Chiang-su sheng hsin hua shu tien fa hsing, $c 1984. 300 $a 11, 411 p. ; $c 20 cm. 504 $a Includes bibliographical references. 650 0 $a Chinese poetry $y 20th century $x History and criticism. 880 10 $6 100-01/$1 $a 骆 寒超. 880 10 $6 245-02/$1 $a 中国 现代 诗歌 论 / $c [骆 寒超]. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a [å—京市] : $b 江è‹ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ : $b 江è‹çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ, $c 1984. 01194nam a2200325 a 4500 001 86124008 /ACN 003 DLC 005 19870219000000.0 008 860417s1985 cc j 00010 chi 010 $a 86124008 /ACN 020 $c RMBY0.61 035 $a (CStRLIN)DCLP86-B6501 043 $a a-cc--- 050 0 $a DS731.U4 $b H75 1985 066 $c $1 082 0 $a 951/.6 $2 19 100 10 $6 880-01 $a Hsin, She. 245 10 $6 880-02 $a Tsai Wei-wu-erh chih hsiang / $c Hsin She. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Wu-lu-mu-chÊ»i shih : $b Hsin-chiang jen min chÊ»u pan she : $b Hsin-chiang hsin hua shu tien fa hsing, $c 1985. 300 $a 2, 178 p. ; $c 19 cm. 440 0 $6 880-05 $a Tsu kuo ta chia tÊ»ing tsÊ»ung shu 650 0 $a Uigurs $x Juvenile literature. 650 0 $a Ethnology $z China $x Juvenile literatture. 651 0 $a China $x Ethnic relations $x Juvenile literature. 880 10 $6 100-01/$1 $a 辛 涉. 880 10 $6 245-02/$1 $a 在 维å¾å°” 之 乡 / $c 辛 涉. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a ä¹Œé²æœ¨é½å¸‚ : $b 新疆 人民 出版社 : $b 新疆 新è¯ã€€æ›¸åº— å‘行, $c 1985. 880 0 $6 440-05/$1 $a 祖国 大家庭 丛书 01192cam a2200313 a 4500 001 86124229 003 DLC 005 20001214140017.0 008 860703s1985 cc 000 1 chi 010 $a 86124229 020 $c RMBY1.05 035 $a (CStRLIN)DCLP86-B11515 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC 050 00 $a PL2724.H37 $b H7 1985 066 $c $1 082 00 $a 895.1/34 $2 19 100 1 $6 880-01 $a Shen, Qifeng, $d b. 1741. 245 10 $6 880-02 $a Xie duo / $c Shen Qifeng zhu ; Qiao Yuzhou jiao dian. 250 $6 880-03 $a Beijing di 1 ban. 260 $6 880-04 $a Beijing : $b Ren min wen xue chu ban she : $b Xin hua shu dian Beijing fa xing suo fa xing, $c 1985. 300 $a 7, 198 p. ; $c 19 cm. 440 0 $6 880-05 $a Zhongguo xiao shuo shi liao cong shu 500 $a Short stories. 880 1 $6 100-01/$1 $a 沈 起凤, $d b. 1741. 880 10 $6 245-02/$1 $a è°é“Ž / $c 沈 起凤 著 ; 乔 雨舟 校点. 880 $6 250-03/$1 $a 北京 第1版. 880 $6 260-04/$1 $a 北京 : $b 人民 文学 出版社 : $b æ–°åŽã€€ä¹¦åº— 北京 å‘行所 å‘行, $c 1985. 880 0 $6 440-05/$1 $a 中国 å°è¯´ã€€å²æ–™ã€€ä¸›ä¹¦ 987 $a PINYIN $b CStRLIN $c 20001214 $d c $e 1.0 01470cam a2200349 a 4500 001 86124531 /ACN/r93 003 DLC 005 19930723073715.0 008 860319s1985 cc 00000 chi 010 $a 86124531 /ACN/r93 020 $c RMBY1.80 035 $a (CStRLIN)DCLP86-B4826 043 $a a-cc--- 050 0 $a HX418.5 $b .C482 1985 066 $c $1 082 0 $a 322/.2/0951 $2 19 245 00 $6 880-01 $a ChÊ»ing kung cheng chih lun hsün chiao tsÊ»ai / $c Chung kung Shang-hai shih wei hsüan chÊ»uan pu tsu chih pien hsieh. 250 $6 880-02 $a Ti 1 pan. 260 $6 880-03 $a Shang-hai : $b Shang-hai jen min chÊ»u pan she : $b Hsin hua shu tien Shang-hai fa hsing so fa hsing, $c 1985. 300 $a 8, 479 p. ; $c 19 cm. 500 $a Cover title also in pinyin: Qinggong zhengzhi lunxun jiaocai. 650 0 $a Communism $z China. 650 0 $a Working class $z China. 651 0 $a China $x History $y 19th century. 651 0 $a China $x History $y 20th century. 651 0 $a China $x Description and travel. 710 20 $6 880-04 $a Chung kung Shang-hai shih wei. $b Hsüan chÊ»uan pu. 740 01 $a Qinggong zhengzhi lunxun jiaocai. 880 00 $6 245-01/$1 $a é’工 政治 轮训 教æ / $c 中共 上海 市委 宣传部 组织 编写. 880 $6 250-02/$1 $a 第1版. 880 $6 260-03/$1 $a 上海 : $b 上海 人氱 出版社 : $b æ–°è¯ã€€æ›¸åº— 上海 å±è¡Œæ‰€ã€€å±è¡Œ, $c 1985. 880 20 $6 710-04/$1 $a 中共 上海 市委. $b 宣传部. 01072nam a2200301 a 4500 001 86125160 /ACN 003 DLC 005 19870219000000.0 008 860327s1985 cc cfh 00010 chi 010 $a 86125160 /ACN 020 $c RMBY1.05 035 $a (CStRLIN)DCLP86-B5292 050 0 $a PL2862.I276 $b W8 1985 066 $c $1 082 0 $a 895.1/15 $2 19 100 10 $6 880-01 $a Hsiao, ChÊ»ing. 245 10 $6 880-02 $a Wu shu hua / $c Hsiao ChÊ»ing. 250 $6 880-03 $a Ti 1 pan. 260 0 $6 880-04 $a Pei-ching : $b Pei-ching shih yüeh wen i chÊ»u pan she : $b Hsin hua shu tien Pei-ching fa hsing so fa hsing, $c 1985. 300 $a 4, 3, 199 p., [2] p. of plates : $b facsim., port. ; $c 19 cm. 440 0 $6 880-05 $a Hung yeh shih tsÊ»ung 500 $a Poems. 740 01 $a 5 shu hua. 880 10 $6 100-01/$1 $a 晓 晴. 880 10 $6 245-02/$1 $a 五æŸã€€èб/ $c 晓 晴. 880 $6 250-03/$1 $a 第1版. 880 0 $6 260-04/$1 $a 北京 : $b åŒ—äº¬ã€€åæœˆã€€æ–‡è‰ºã€€å‡ºç‰ˆç¤¾ : $b æ–°åŽã€€ä¹¦åº— 北京 å±è¡Œæ‰€ã€€å±è¡Œ, $c 1985. 880 0 $6 440-05/$1 $a 红å¶ã€€è¯—丛 01248nam a2200301 a 4500 001 86125348 /ACN 003 DLC 005 19870219000000.0 008 860304r19851917ch 00010 chi 010 $a 86125348 /ACN 035 $a (CStRLIN)DCLP86-B3824 043 $a a-cc--- 050 0 $a DS754.18 $b .C446 1985 066 $c $1 082 0 $a 327.51 $2 19 100 10 $6 880-01 $a Chuang, Ping-hai. 245 10 $6 880-02 $a Wai chiao ssu tÊ»ung lu / $c Chuang Ping-hai pien [tsuan]. 260 0 $6 880-03 $a [TÊ»ai-pei hsien Yung-ho shih] : $b Wen hai chÊ»u pan she, $c min kuo 74 [1985] 300 $a 2, 2, 2, 272 p. ; $c 22 cm. 490 1 $6 880-04 $a Chin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien : ti 2 chi ; $v 20 500 $a Reprint. Originally published: 1917? 651 0 $a China $x Foreign relations $y 1644-1912. 830 0 $6 880-05 $a Chin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien ; $v 20. 880 10 $6 100-01/$1 $a 莊 病骸. 880 10 $6 245-02/$1 $a 外交 æ€ç—›ã€€éŒ„ / $c 莊 病骸 編[纂]. 880 0 $6 260-03/$1 $a [臺北縣 永和市] : $b 文海 出版社, $c 民國74 [1985] 880 1 $6 490-04/$1 $a è¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ : 第二輯 ; $v 20 880 0 $6 830-05/$1 $a è¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ ; $v 20. 01116cam a2200325 a 4500 001 86125443 003 DLC 005 20020326070412.0 008 860304s1985 ch a 00010 chi 010 $a 86125443 020 $c $9.00 (U.S.) 035 $a (CStRLIN)DCLP86-B3795 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC-R 043 $a a-cc--- 050 00 $a B5231 $b .L59 1985 066 $c $1 082 00 $a 181/.11 $2 19 100 1 $6 880-01 $a Liu, Shaoji. 245 10 $6 880-02 $a Zhongguo zhe xue xin lun = $b A new view of the Chinese philosophy / $c Liu Shaoji zhu. 250 $6 880-03 $a Chu ban. 260 $6 880-04 $a Taibei Shi : $b Shi jie shu ju, $c min guo 74 [1985] 300 $a 6, 12, 424 p. : $b ill. ; $c 27 cm. 546 $a In Chinese. 650 0 $a Philosophy, Chinese. 740 0 $a New view of the Chinese philosophy. 880 1 $6 100-01/$1 $a 劉 紹基. 880 10 $6 245-02/$1 $a 中國 哲學 新論 = $b A new view of the Chinese philosophy / $c 劉 紹基 豗. 880 $6 250-03/$1 $a åˆç‰ˆ. 880 $6 260-04/$1 $a å°åŒ—市 : $b 世界 書局, $c 氱國74 [1985] 987 $a PINYIN $b DLC $c 20020326 $d c 01199nam a2200301 a 4500 001 86154542 /ACN/r86 003 DLC 005 19870219000000.0 008 860528s1985 cc 00000 chi 010 $a 86154542 /ACN/r86 020 $c RMBY3.60 (v. 1) 035 $a (CStRLIN)DCLP86-B9002 043 $a a-cc--- 050 0 $a HB126.C4 $b C533 1985 066 $c $1 082 0 $a 330/.0951 $2 19 245 00 $6 880-01 $a Chung-kuo ku tai ching chi chu shu hsüan tu / $c Yü Tsu-yao ... [et al.] pien chu. 250 $6 880-02 $a Ti 1 pan. 260 0 $6 880-03 $a [ChÊ»ang-chÊ»un shih] : $b Chi-lin jen min chÊ»u pan she : $b Chi-lin sheng hsin hua shu tien fa hsing, $c 1985. 300 $a 2 v. ; $c 20 cm. 500 $a Colophon title also in pinyin: Zhongguo gudai jingji zhushu xuandu. 650 0 $a Economics $z China $x History. 700 10 $6 880-04 $a Yü, Tsu-yao. 740 01 $a Zhongguo gudai jingji zhushu xuandu. 880 00 $6 245-01/$1 $a 中國 å¤ä»£ã€€ç¶“濟 著述 é¸è®€ / $c 虞 祖尧 ... [et al.] ç¼–è‘—. 880 $6 250-02/$1 $a 第1版. 880 0 $6 260-03/$1 $a [长春市] : $b 剿ž— 人民 出版社 : $b 剿ž—çœã€€æ–°åŽã€€ä¹¦åº— å‘行, $c 1985. 880 10 $6 700-04/$1 $a 虞 祖尧. 00920nam a2200253 a 4500 001 86159478 /AK 003 DLC 005 19870219000000.0 008 860602s1984 ko 00010 kor 010 $a 86159478 /AK 020 $c W2800 035 $a (CStRLIN)DCLP86-B9357 040 $a CLASIA $c CLASIA $d DLC 050 0 $a AC148 $b .K589256 1985 066 $c $1 100 10 $6 880-01 $a Kim, Tong-gil, $d 1928- 245 10 $6 880-02 $a Tŭrŏra, ttaltŭl a : $b Kim Tong-gil taepÊ»yo esei. 260 0 $6 880-03 $a Sŏul : $b ChÊ»ŏngnyŏnsa, $c 1984 $g (1985 printing) 300 $a 271 p. ; $c 23 cm. 440 0 $6 880-04 $a Uri sidae ŭi taepÊ»yo sanmunsŏn ; $v 1 880 10 $6 100-01/$1 $a 김 ë™ê¸¸, $d 1928- 880 10 $6 245-02/$1 $a 들어ë¼, 딸들 아 : $b 김 ë™ê¸¸ã€€ëŒ€í‘œã€€ì—세ì´. 880 0 $6 260-03/$1 $a 서울 : $b 청년사, $c 1984 $g (1985 printing) 880 0 $6 440-04/$1 $a 우리 시대 ì˜ã€€ëŒ€í‘œã€€ì‚°ë¬¸ì„  ; $v 1 yaz-5.31.1/test/test_marccol.sh0000775000175000017500000000264514152153071013332 00000000000000#!/bin/sh # Tests reading of a bunch of non-roman UTF-8 ISO2709 and see if # we can encode it in MARC-8 # # Reads marccol?.u8.marc files , Generates marccol?.u8.{1,2}.lst srcdir=${srcdir:-.} ecode=0 for f in ${srcdir}/marccol?.u8.marc; do fb=`basename ${f} .marc` DIFF=${fb}.1.lst.diff NEW=${fb}.1.lst.new OLD=${srcdir}/${fb}.1.lst ../util/yaz-marcdump -f utf-8 -t utf-8 $f >$NEW if test $? != "0"; then echo "$f: yaz-marcdump returned error" ecode=1 break elif test -f $OLD; then if diff $OLD $NEW >$DIFF; then rm $DIFF rm $NEW else echo "$f: $NEW and $OLD differ" ecode=1 fi else echo "$f: Making test result $OLD for the first time" mv $NEW $OLD fi filem=`echo $fb | sed 's/u8/m8/'`.marc ../util/yaz-marcdump -l 9=32 -o marc -f utf8 -t marc8lossless $f >$filem DIFF=${fb}.2.lst.diff NEW=${fb}.2.lst.new OLD=${srcdir}/${fb}.2.lst ../util/yaz-marcdump -l 9=97 -f marc8 -t utf-8 $filem >$NEW if test $? != "0"; then echo "$f: yaz-marcdump returned error" ecode=1 break elif test -f $OLD; then if diff $OLD $NEW >$DIFF; then rm $DIFF rm $NEW rm $filem else echo "$f: $NEW and $OLD differ" ecode=1 fi else echo "$f: Making test result $OLD for the first time" mv $NEW $OLD rm $filem fi done exit $ecode # Local Variables: # mode:shell-script # sh-indentation: 2 # sh-basic-offset: 4 # End: yaz-5.31.1/test/test_cql2xcql.sh0000775000175000017500000000202414152153071013432 00000000000000#!/bin/sh srcdir=${srcdir:-.} oIFS="$IFS" IFS=' ' secno=0 testno=0 comment=0 ecode=0 test -f ${srcdir}/cql2xcqlsample || exit 1 test -d cql || mkdir cql for f in `cat ${srcdir}/cql2xcqlsample`; do if echo $f | grep '^#' >/dev/null; then comment=1 else if test "$comment" = "1"; then secno=`expr $secno + 1` testno=0 fi comment=0 testno=`expr $testno + 1` OUT1=${srcdir}/cql/$secno.$testno.out ERR1=${srcdir}/cql/$secno.$testno.err OUT2=cql/$secno.$testno.out.tmp ERR2=cql/$secno.$testno.err.tmp DIFF=cql/$secno.$testno.diff ../util/cql2xcql "$f" >$OUT2 2>$ERR2 if test -f $OUT1 -a -f $ERR1; then if diff $OUT1 $OUT2 >$DIFF; then rm $DIFF rm $OUT2 else echo "diff out $secno $testno $f" cat $DIFF ecode=1 fi if diff $ERR1 $ERR2 >$DIFF; then rm $DIFF rm $ERR2 else echo "diff err $secno $testno $f" cat $DIFF ecode=1 fi else echo "making test $secno $testno $f" mv $OUT2 $OUT1 mv $ERR2 $ERR1 ecode=1 fi fi done IFS="$oIFS" exit $ecode yaz-5.31.1/test/xml2marc7.xml.marc0000664000175000017500000000604514157607106013601 0000000000000003109cam a2200349 i 4500001001300000003000400013005001700017008004100034035001000075035001000085035001000095040001300105906004500118010001700163245005200180260002100232300002100253500004300274500017600317500020000493500016100693500019500854500017801049500022001227500020501447500019901652500017701851500021402028500021502242500016102457500014102618 77123332 DLC20051218154744.0981008b2001 ilu 000 0 eng  a57779 a90490 a93202 aDLCcDLC a0bundcorignewduencipf19gy-gencatlg a 77123332 00aVoyager Diacritic test -- New input 001 (SBIE). any :bny,c2001. a100 p. ;c12 cm. aNew copy imported from file (8/12/99). aVOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (â„—); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡). aVOYAGER COLUMN 1: Script L (â„“); Polish L (Å); Scandanavian O (Ø); D with Crossbar (Ä); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Å’); Miagkii Znak (ʹ); Dot at Midline (·). aVOYAGER COLUMN 2: Musical Flat (â™­); Patent Mark (®); Plus or Minus (±); O Hook (Æ ); U Hook (Ư); Alif (ʼ); alpha α; Ayn (Ê»); Polish l (Å‚). aVOYAGER COLUMN 3: Scandanavian o (ø); d with crossbar (Ä‘); Icelandic Thorn (þ); ae Digraph (æ); oe Digraph (Å“); Tverdii Znak (ʺ); Turkish i (ı); British Pound (£); eth (ð). aVOYAGER COLUMN 4: Dagger (DO NOT USE); o Hook (Æ¡); u Hook (ư); Beta β; Gamma γ; Superscript 0 (â°); Superscript 1 (¹); Superscript 2 (²); Superscript 3 (³). aVOYAGER COLUMN 5: Superscript 4 (â´); Superscript 5 (âµ); Superscript 6 (â¶); Superscript 7 (â·); Superscript 8 (â¸); Superscript 9 (â¹); Superscript + (âº); Superscript - (â»); Superscript ( (â½). aVOYAGER COLUMN 6: Superscript ) (â¾); Subscript 0 (â‚€); Subscript 1 (â‚); Subscript 2 (â‚‚); Subscript 3 (₃); Subscript 4 (â‚„); Subscript 5 (â‚…); Subscript 6 (₆); Subscript 7 (₇). aVOYAGER COLUMN 7: Subscript 8 (₈); Subscript 9 (₉); Subscript + (₊); Subscript - (â‚‹); Subscript ( (â‚); Subscript ) (₎); Pseudo Question Mark (ỏ); Grave (oÌ€); Acute (oÌ). aVOYAGER COLUMN 8: Circumflex (oÌ‚); Tilde (õ); Macron (oÌ„); Breve (ŏ); Superior Dot (ȯ); Umlaut (ö); Hacek (oÌŒ); Circle Above (oÌŠ); Ligature left (oÍ¡). aVOYAGER COLUMN 9: Ligature right (o) ; High Comma off center (oÌ•); Double Acute (oÌ‹); Candrabindu (oÌ); Cedilla (o̧); Right Hook (ǫ); Dot Below (oÌ£); Double Dot Below (o̤); Circle Below (oÌ¥). aVOYAGER COLUMN 10: Double Underscore (o̳); Underscore (o̲); Left Hook (o̦); Right Cedilla (oÌœ); Upadhmaniya (oÌ®); Double Tilde 1st half (oÍ ); Double Tilde 2nd half (o) ; High Comma centered (oÌ“). aVOYAGER PC Keyboard: Spacing Circumflex (^); Spacing Underscore (_); Spacing Grave (`); Open Curly Bracket ({); Close Curly Bracket (}); Spacing Tilde (~). aStandard PC Keyboard: 1234567890-= !@#$%^&*()_+ qwertyuiop[]\ QWERTYUIOP{}| asdfghjkl;' ASDFGHJKL:" zxcvbnm,./ ZXCVBNM<>?yaz-5.31.1/test/marc1.xml0000664000175000017500000000727414157607106012054 00000000000000 00988nam0a32003011 450 9 181 423 4 710100 a n e m u 2002 us eng 0 a xx 1-4000-4596-7 $14,00 DBC200439 Sloman Larry On the road with Bob Dylan Larry "Ratso" Sloman Revised edition Three Rivers Press New York Three Rivers Press 2002 xv, 464 sider, tavler Larry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue" PÃ¥ omslaget: With a new introduction by Kinky Friedman Tidligere: 1. udgave. New York, Bantam, 1978 99.4 Dylan Bob 78.9064 5 folkemusik folkemusikere rockmusik rockmusikere rockkoncerter USA 1970-1979 yaz-5.31.1/test/test_icu.2.input0000664000175000017500000000001214152153071013336 00000000000000`a' ``a'' yaz-5.31.1/test/test_icu.0.xml0000664000175000017500000000031114157607106013007 00000000000000 yaz-5.31.1/test/tmarc3.xml0000664000175000017500000000441214157607106012231 00000000000000 00914naa a2200337 450 a00001508 a i n 1991 xx nor a 9 a xx nor eng 06 Byfornyelse ved Ibsen-Ringen farvefoto plan snit Byggekunst 1991 1/2 41-45 byfornyelse sanering Norge Oslo Telje Torp Aasen Arkitektkontor Kristian Augustsgate 7B Eng, Dagfin anlund, Tom Kristian Augustsgate Pilestredet 19 a ITM ARK50 0000145 1991 1/2 41-45 20020111 ARK01 2002 20020111 ARK01 2116 20021002 ARK01 1000 ICLLOAD 00 20021122 ARK01 1948 20030618 ARK01 1330 a00001508 yaz-5.31.1/test/xml2tmarc1.xml.marc0000664000175000017500000000173514157607106013760 0000000000000000989nam0a32003011 450 001002800000004001000028008002800038009001100066021002700077032001500104100002100119245005400140250004100194260004000235300002700275504012300302512006100425520005000486652002400536652001600560666001600576666001900592666001500611666001800626666001900644666000900663666001500672000a9 181 423 4b710100fa000rnae000tmuua2002buslengv0000aagxx000a1-4000-4596-7d$14,00000&DBC2004390000aSlomanhLarry000aOn the road with Bob DylaneLarry "Ratso" Sloman000aRevised editionbThree Rivers Press000aNew YorkbThree Rivers Pressc2002000axv, 464 sider, tavler000aLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"000aPÃ¥ omslaget: With a new introduction by Kinky Friedman000aTidligere: 1. udgave. New York, Bantam, 19780000m99.4aDylanhBob000p78.9064v5000ffolkemusik000ffolkemusikere000frockmusik000frockmusikere000frockkoncerter000eUSA000i1970-1979yaz-5.31.1/test/xml2tmarc0.xml.marc0000664000175000017500000000007614157607106013754 0000000000000000062cgm a2200037Ia 4500092002400000 áaDVD CHI 791.43bQIyaz-5.31.1/test/marccol3.u8.2.lst0000664000175000017500000000227314152153071013233 0000000000000001373cam a2200349ua 4500 001 82129893 003 DLC 005 20070808062021.0 008 841102s1980 cc a 000 0 chi 035 $a (DLC)5011703 010 $a 82129893 035 $a (CStRLIN)DCLP84-B3561 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC 050 00 $a TL546.7 $b .S48 1980 066 $c $1 082 00 $a 629.4 $2 19 100 1 $6 880-01 $a Shen, Guoliang. 245 10 $6 880-02 $a Yu zhou hang xing he shu li hua / $c Shen Guoliang wen ; Chen Genxiang tu. 250 $6 880-03 $a Di 1 ban. 260 $6 880-04 $a [Canton] : $b Guangdong ren min chu ban she : $b Guangdong sheng xin hua shu dian fa xing, $c 1980. 300 $a 199 p. : $b ill. ; $c 19 cm. 440 0 $6 880-05 $a Ke xue zhi shi pu ji cong shu 650 0 $a Astronautics $x Popular works. 700 1 $6 880-06 $a Chen, Genxiang. 880 1 $6 100-01/1 $a 沈 国良. 880 10 $6 245-02/1 $a 宇宙 航行 和 数ç†åŒ– / $c 沈 国良 文 ; 陈 根祥 图. 880 $6 250-03/1 $a 第1版. 880 $6 260-04/1 $a [Canton] : $b 广东 人民 出版社 : $b 广东çœã€€æ–°è¯ã€€æ›¸åº— å‘行, $c 1980. 880 0 $6 440-05/1 $a 科学 知识 普åŠã€€ä¸›ä¹¦ 880 1 $6 700-06/1 $a 陈 根祥. 906 $a 0 $b cbc $c orignew $d u $e ncip $f 19 $g y-rlinjack 985 $a spacingreload yaz-5.31.1/test/test_odr.c0000664000175000017500000002261014152153071012275 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include "test_odrcodec.h" #include #define MYOID "1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19" void tst_MySequence1(ODR encode, ODR decode) { int ret; char *ber_buf; int ber_len; Yc_MySequence *s = (Yc_MySequence *) odr_malloc(encode, sizeof(*s)); Yc_MySequence *t; YAZ_CHECK(s); s->first = odr_intdup(encode, 12345); s->second = (Odr_oct *) odr_malloc(encode, sizeof(*s->second)); s->second->buf = (char *) "hello"; s->second->len = 5; s->third = odr_booldup(encode, 1); s->fourth = odr_nullval(); s->fifth = odr_intdup(encode, YC_MySequence_enum1); s->myoid = odr_getoidbystr(decode, MYOID); ret = yc_MySequence(encode, &s, 0, 0); YAZ_CHECK(ret); if (!ret) return; ber_buf = odr_getbuf(encode, &ber_len, 0); odr_setbuf(decode, ber_buf, ber_len, 0); ret = yc_MySequence(decode, &t, 0, 0); YAZ_CHECK(ret); if (!ret) return; YAZ_CHECK(t); YAZ_CHECK(t->first && *t->first == 12345); YAZ_CHECK(t->second && t->second->buf && t->second->len == 5); YAZ_CHECK(t->second && t->second->buf && t->second->len == 5 && memcmp(t->second->buf, "hello", t->second->len) == 0); YAZ_CHECK(t->third && *t->third == 1); YAZ_CHECK(t->fourth); YAZ_CHECK(t->fifth && *t->fifth == YC_MySequence_enum1); YAZ_CHECK(t->myoid); if (t->myoid) { Odr_oid *myoid = odr_getoidbystr(decode, MYOID); YAZ_CHECK(oid_oidcmp(myoid, t->myoid) == 0); } } void tst_MySequence2(ODR encode, ODR decode) { int ret; Yc_MySequence *s = (Yc_MySequence *) odr_malloc(encode, sizeof(*s)); YAZ_CHECK(s); s->first = 0; /* deliberately miss this .. */ s->second = (Odr_oct *) odr_malloc(encode, sizeof(*s->second)); s->second->buf = (char *) "hello"; s->second->len = 5; s->third = odr_booldup(encode, 1); s->fourth = odr_nullval(); s->fifth = odr_intdup(encode, YC_MySequence_enum1); s->myoid = odr_getoidbystr(encode, MYOID); ret = yc_MySequence(encode, &s, 0, 0); /* should fail */ YAZ_CHECK(!ret); YAZ_CHECK(odr_geterror(encode) == OREQUIRED); YAZ_CHECK(strcmp(odr_getelement(encode), "first") == 0); odr_reset(encode); YAZ_CHECK(odr_geterror(encode) == ONONE); YAZ_CHECK(strcmp(odr_getelement(encode), "") == 0); } void tst_MySequence3(ODR encode, ODR decode) { char buf[40]; int i; Yc_MySequence *t; srand(123); for (i = 0; i < 1000; i++) { int j; for (j = 0; j < (int) sizeof(buf); j++) buf[j] = rand(); for (j = 1; j < (int) sizeof(buf); j++) { odr_setbuf(decode, buf, j, 0); yc_MySequence(decode, &t, 0, 0); odr_reset(decode); } } } static void tst_berint32(ODR encode, ODR decode) { char *buf = 0; int len = 0; Odr_int val; Odr_int ret_val; int r; val = 0; odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 2); YAZ_CHECK_EQ(buf[0], 1); YAZ_CHECK_EQ(buf[1], 0); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, 0); val = 1; odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 2); YAZ_CHECK_EQ(buf[0], 1); YAZ_CHECK_EQ(buf[1], 1); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, 1); val = -1; odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 2); YAZ_CHECK_EQ(buf[0], 1); YAZ_CHECK_EQ((unsigned char) buf[1], 255); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, -1); val = 127; odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 2); YAZ_CHECK_EQ(buf[0], 1); YAZ_CHECK_EQ(buf[1], 127); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, 127); val = 128; odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 3); YAZ_CHECK_EQ(buf[0], 2); YAZ_CHECK_EQ(buf[1], 0); YAZ_CHECK_EQ(((unsigned char *) buf)[2], 128); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, 128); val = 2147483647; /* 2^31-1 */ odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 5); YAZ_CHECK_EQ(buf[0], 4); YAZ_CHECK_EQ(buf[1], 127); YAZ_CHECK_EQ((unsigned char) buf[2], 255); YAZ_CHECK_EQ((unsigned char) buf[3], 255); YAZ_CHECK_EQ((unsigned char) buf[4], 255); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, 2147483647); val = -2147483647L -1; /* -2^31 */ odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 5); YAZ_CHECK_EQ(buf[0], 4); YAZ_CHECK_EQ((unsigned char) buf[1], 128); YAZ_CHECK_EQ(buf[2], 0); YAZ_CHECK_EQ(buf[3], 0); YAZ_CHECK_EQ(buf[4], 0); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, (Odr_int) -2147483647L -1); } static void tst_berint64(ODR encode, ODR decode) { #if NMEM_64 char *buf = 0; int len = 0; Odr_int val; Odr_int ret_val; int r; val = (Odr_int) 2 * 2147483648UL; /* 2^32 */ odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 6); YAZ_CHECK_EQ(buf[0], 5); YAZ_CHECK_EQ(buf[1], 1); YAZ_CHECK_EQ(buf[2], 0); YAZ_CHECK_EQ(buf[3], 0); YAZ_CHECK_EQ(buf[4], 0); YAZ_CHECK_EQ(buf[5], 0); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, val); val = (Odr_int) -2 * 2147483648UL; /* -2^32 */ odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 6); YAZ_CHECK_EQ(buf[0], 5); YAZ_CHECK_EQ((unsigned char) buf[1], 255); YAZ_CHECK_EQ(buf[2], 0); YAZ_CHECK_EQ(buf[3], 0); YAZ_CHECK_EQ(buf[4], 0); YAZ_CHECK_EQ(buf[5], 0); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, val); val = (Odr_int) 1000 * 1000000000L; /* 10^12 */ odr_reset(encode); r = ber_integer(encode, &val); YAZ_CHECK_EQ(r, 1); buf = odr_getbuf(encode, &len, 0); YAZ_CHECK(buf); YAZ_CHECK_EQ(len, 7); YAZ_CHECK_EQ(buf[0], 6); YAZ_CHECK_EQ(buf[1], 0); YAZ_CHECK_EQ((unsigned char) buf[2], 232); YAZ_CHECK_EQ((unsigned char) buf[3], 212); YAZ_CHECK_EQ((unsigned char) buf[4], 165); YAZ_CHECK_EQ(buf[5], 16); YAZ_CHECK_EQ(buf[6], 0); odr_reset(decode); odr_setbuf(decode, buf, len, 0); ber_integer(decode, &ret_val); YAZ_CHECK_EQ(ret_val, val); #endif } static void tst(void) { ODR odr_encode = odr_createmem(ODR_ENCODE); ODR odr_decode = odr_createmem(ODR_DECODE); YAZ_CHECK(odr_encode); YAZ_CHECK(odr_decode); tst_MySequence1(odr_encode, odr_decode); tst_MySequence2(odr_encode, odr_decode); tst_MySequence3(odr_encode, odr_decode); tst_berint32(odr_encode, odr_decode); tst_berint64(odr_encode, odr_decode); odr_destroy(odr_encode); odr_destroy(odr_decode); } /* example from documentation.. 'Using Odr' */ void do_nothing_useful(Odr_int value) { ODR encode, decode; Odr_int *valp, *resvalp; char *bufferp; int len; /* allocate streams */ if (!(encode = odr_createmem(ODR_ENCODE))) return; if (!(decode = odr_createmem(ODR_DECODE))) return; valp = &value; if (odr_integer(encode, &valp, 0, 0) == 0) { printf("encoding went bad\n"); return; } bufferp = odr_getbuf(encode, &len, 0); printf("length of encoded data is %d\n", len); /* now let's decode the thing again */ odr_setbuf(decode, bufferp, len, 0); if (odr_integer(decode, &resvalp, 0, 0) == 0) { printf("decoding went bad\n"); return; } /* ODR_INT_PRINTF format for printf (such as %d) */ printf("the value is " ODR_INT_PRINTF "\n", *resvalp); /* clean up */ odr_destroy(encode); odr_destroy(decode); } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/test_matchstr.c0000664000175000017500000000427614152153071013346 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK(yaz_matchstr("x", "x") == 0); YAZ_CHECK(yaz_matchstr("x", "X") == 0); YAZ_CHECK(yaz_matchstr("a", "b") > 0); YAZ_CHECK(yaz_matchstr("b", "a") > 0); YAZ_CHECK(yaz_matchstr("aa","a") > 0); YAZ_CHECK(yaz_matchstr("a-", "a") > 0); YAZ_CHECK(yaz_matchstr("A-b", "ab") == 0); YAZ_CHECK(yaz_matchstr("A--b", "ab") > 0); YAZ_CHECK(yaz_matchstr("A--b", "a-b") > 0); YAZ_CHECK(yaz_matchstr("A--b", "a--b") == 0); YAZ_CHECK(yaz_matchstr("a123", "a?") == 0); YAZ_CHECK(yaz_matchstr("a123", "a1.3") == 0); YAZ_CHECK(yaz_matchstr("a123", "..?") == 0); YAZ_CHECK(yaz_matchstr("a123", "a1.") > 0); YAZ_CHECK(yaz_matchstr("a123", "a...") == 0); YAZ_CHECK_EQ(yaz_strncasecmp("a", "b", 0), 0); YAZ_CHECK_EQ(yaz_strncasecmp("a", "a", 1), 0); YAZ_CHECK_EQ(yaz_strncasecmp("a", "a", 2), 0); YAZ_CHECK_EQ(yaz_strncasecmp("a", "b", 1), -1); YAZ_CHECK_EQ(yaz_strncasecmp("a", "b", 2), -1); YAZ_CHECK_EQ(yaz_strncasecmp("b", "a", 1), 1); YAZ_CHECK_EQ(yaz_strncasecmp("b", "a", 2), 1); YAZ_CHECK_EQ(yaz_strncasecmp("bb", "ba", 1), 0); YAZ_CHECK_EQ(yaz_strncasecmp("bb", "ba", 2), 1); YAZ_CHECK_EQ(yaz_strncasecmp("ba", "bb", 2), -1); YAZ_CHECK_EQ(yaz_strncasecmp("ba", "b", 2), 'a'); YAZ_CHECK_EQ(yaz_strncasecmp("b", "ba", 2), -'a'); YAZ_CHECK_EQ(yaz_strcasecmp("", ""), 0); YAZ_CHECK_EQ(yaz_strcasecmp("a", "a"), 0); YAZ_CHECK_EQ(yaz_strcasecmp("a", "b"), -1); YAZ_CHECK_EQ(yaz_strcasecmp("b", "a"), 1); YAZ_CHECK_EQ(yaz_strcasecmp("bb", "ba"), 1); YAZ_CHECK_EQ(yaz_strcasecmp("ba", "bb"), -1); YAZ_CHECK_EQ(yaz_strcasecmp("ba", "b"), 'a'); YAZ_CHECK_EQ(yaz_strcasecmp("b", "ba"), -'a'); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc3.xml.marc0000664000175000017500000000162214157607106012766 0000000000000000914naa a2200337 450 001001700000004000900017008002400026009001000050041000800060041000800068097000700076245003300083300002600116557003300142630001600175630001300191633001000204633000900214648006100223648001600284648005400300J01000600354BAS000500360LKR004200365CAT003000407CAT003000437CAT003000467CAT003900497CAT002600536UID001400562 aa00001508fa airn a1991bxxlnortav9 aagxx anor deng00a06 aByfornyelse ved Ibsen-Ringen bfarvefotobplanbsnit aByggekunstj1991v1/2k41-45 fbyfornyelse fsanering fNorge fOslo aTelje Torp Aasen ArkitektkontorcKristian Augustsgate 7B aEng, Dagfin ranlund, TomcKristian AugustsgatecPilestredet 19 aa 0 aITMlARK50b0000145y1991i1/2k41-45 abc20020111lARK01h2002 abc20020111lARK01h2116 abc20021002lARK01h1000 aICLLOADb00c20021122lARK01h1948 c20030618lARK01h1330 aa00001508yaz-5.31.1/test/xml2marc9.xml.marc0000664000175000017500000000430414157607106013577 0000000000000002244cas a22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245008700261246002600348246004900374260011100423300002500534310002700559362004400586490010100630500004700731500005800778546003600836650004700872650002600919650002700945650004100972710008801013710004201101850000801143880009001151880005601241880011501297880005201412880010501464880009101569880005001660936002801710 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQadÌ£āʼ al-usrah :bmajallah mutakhasÌ£sÌ£isÌ£ah /cWizaÌ„rat al-Ê»Adl.13aJustice de la famille136880-02aMajallat QadÌ£āʼ al-usrahf<2006> 6880-03aal-RabaÌ„tÌ£ :bJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-Ê»Adad 1. (YuÌ„lyuÌ„z 2005)-0 6880-05aManshuÌ„raÌ„t JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah aSome issues have also a distinctive title. aLatest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah.1 6880-07aMorocco.bWizaÌ„rat al-Ê»Adl. aDLC006245-01/(3/raقضاء الأسرة :bمجلة متخصصة /cوزارة العدل.136246-02/(3/raمجلة قضاء الأسرةf<2006> 6260-03/(3/raالرباط :bجمعية نشر المعلومة القانونية والقضائية،c2005-0 6362-04/(3/raالعدد 1. (يوليوز 2005)-0 6490-05/(3/raمنشورات جمعية نشر المعلومة القانونية والقضائية2 6710-06/(3/raجمعية نشر المعلومة القانونية والقضائية.1 6710-07/(3/raMorocco.bوزارة العدل. aLC Cairo Office [we 45]yaz-5.31.1/test/cql2pqf/0000775000175000017500000000000014157607106011745 500000000000000yaz-5.31.1/test/cql2pqf/6.1.out0000664000175000017500000000013614157607106012722 00000000000000Parsing CQL dc.title=/unmasked a*b @attr 6=1 @attr 2=3 @attr 4=1 @attr 1=4 @attr 5=100 "a*b" yaz-5.31.1/test/cql2pqf/7.1.err0000664000175000017500000000000014157607106012672 00000000000000yaz-5.31.1/test/cql2pqf/7.1.out0000664000175000017500000000030614157607106012722 00000000000000Parsing CQL a prox b @prox 0 1 0 2 k 2 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/6.6.err0000664000175000017500000000000014157607106012676 00000000000000yaz-5.31.1/test/cql2pqf/5.7.err0000664000175000017500000000000014157607106012676 00000000000000yaz-5.31.1/test/cql2pqf/5.6.out0000664000175000017500000000013714157607106012727 00000000000000Parsing CQL a^ @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=4 @attr 6=1 @attr 5=100 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/6.5.err0000664000175000017500000000000014157607106012675 00000000000000yaz-5.31.1/test/cql2pqf/6.4.out0000664000175000017500000000022414157607106012723 00000000000000Parsing CQL dc.title=/dc.language=dk a @prox 0 0 0 0 k 8 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=4 "a" @attr 1=54 dk yaz-5.31.1/test/cql2pqf/3.9.err0000664000175000017500000000000014157607106012676 00000000000000yaz-5.31.1/test/cql2pqf/4.7.err0000664000175000017500000000000014157607106012675 00000000000000yaz-5.31.1/test/cql2pqf/4.10.out0000664000175000017500000000013714157607106013001 00000000000000Parsing CQL *a# @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=2 @attr 1=1016 "a#" yaz-5.31.1/test/cql2pqf/1.1.err0000664000175000017500000000000014157607106012664 00000000000000yaz-5.31.1/test/cql2pqf/4.11.out0000664000175000017500000000014114157607106012775 00000000000000Parsing CQL a#a* @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=1 @attr 1=1016 "a#a" yaz-5.31.1/test/cql2pqf/7.3.err0000664000175000017500000000000014157607106012674 00000000000000yaz-5.31.1/test/cql2pqf/6.6.out0000664000175000017500000000023014157607106012722 00000000000000Parsing CQL dc.title=/language=dk/regexp a.*b @prox 0 0 0 0 k 8 @attr 6=1 @attr 2=3 @attr 4=1 @attr 1=4 @attr 5=102 "a.*b" Transform error 16 language yaz-5.31.1/test/cql2pqf/5.3.err0000664000175000017500000000000014157607106012672 00000000000000yaz-5.31.1/test/cql2pqf/4.3.err0000664000175000017500000000000014157607106012671 00000000000000yaz-5.31.1/test/cql2pqf/4.1.out0000664000175000017500000000013514157607106012717 00000000000000Parsing CQL *a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=2 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/4.7.out0000664000175000017500000000014214157607106012723 00000000000000Parsing CQL ?a? @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "#a#" yaz-5.31.1/test/cql2pqf/3.1.err0000664000175000017500000000000014157607106012666 00000000000000yaz-5.31.1/test/cql2pqf/5.9.out0000664000175000017500000000013714157607106012732 00000000000000Parsing CQL \^ @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "^" yaz-5.31.1/test/cql2pqf/5.4.out0000664000175000017500000000014014157607106012717 00000000000000Parsing CQL \" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "\"" yaz-5.31.1/test/cql2pqf/1.3.err0000664000175000017500000000000014157607106012666 00000000000000yaz-5.31.1/test/cql2pqf/2.2.out0000664000175000017500000000015414157607106012717 00000000000000Parsing CQL dc.title = fish @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=4 "fish" yaz-5.31.1/test/cql2pqf/6.3.err0000664000175000017500000000000014157607106012673 00000000000000yaz-5.31.1/test/cql2pqf/4.2.err0000664000175000017500000000000014157607106012670 00000000000000yaz-5.31.1/test/cql2pqf/4.2.out0000664000175000017500000000013514157607106012720 00000000000000Parsing CQL a* @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=1 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/3.8.out0000664000175000017500000000030414157607106012723 00000000000000Parsing CQL ((fred or all)) @or @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "fred" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "all" yaz-5.31.1/test/cql2pqf/7.2.out0000664000175000017500000000032014157607106012717 00000000000000Parsing CQL a prox/unordered b @prox 0 1 0 2 k 2 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/5.1.err0000664000175000017500000000000014157607106012670 00000000000000yaz-5.31.1/test/cql2pqf/6.4.err0000664000175000017500000000000014157607106012674 00000000000000yaz-5.31.1/test/cql2pqf/4.1.err0000664000175000017500000000000014157607106012667 00000000000000yaz-5.31.1/test/cql2pqf/1.2.err0000664000175000017500000000000014157607106012665 00000000000000yaz-5.31.1/test/cql2pqf/5.4.err0000664000175000017500000000000014157607106012673 00000000000000yaz-5.31.1/test/cql2pqf/4.5.err0000664000175000017500000000000014157607106012673 00000000000000yaz-5.31.1/test/cql2pqf/6.5.out0000664000175000017500000000021514157607106012724 00000000000000Parsing CQL dc.title=/dc.language=dk/regexp a.*b @prox 0 0 0 0 k 8 @attr 6=1 @attr 2=3 @attr 4=1 @attr 1=4 @attr 5=102 "a.*b" @attr 1=54 dk yaz-5.31.1/test/cql2pqf/7.6.err0000664000175000017500000000000014157607106012677 00000000000000yaz-5.31.1/test/cql2pqf/4.12.err0000664000175000017500000000000014157607106012751 00000000000000yaz-5.31.1/test/cql2pqf/3.9.out0000664000175000017500000000055314157607106012732 00000000000000Parsing CQL a or b and c not d @not @and @or @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "c" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "d" yaz-5.31.1/test/cql2pqf/7.5.err0000664000175000017500000000000014157607106012676 00000000000000yaz-5.31.1/test/cql2pqf/2.1.err0000664000175000017500000000000014157607106012665 00000000000000yaz-5.31.1/test/cql2pqf/4.5.out0000664000175000017500000000014014157607106012717 00000000000000Parsing CQL ?a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "#a" yaz-5.31.1/test/cql2pqf/4.11.err0000664000175000017500000000000014157607106012750 00000000000000yaz-5.31.1/test/cql2pqf/5.7.out0000664000175000017500000000013714157607106012730 00000000000000Parsing CQL ^a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=1 @attr 6=1 @attr 5=100 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/3.5.err0000664000175000017500000000000014157607106012672 00000000000000yaz-5.31.1/test/cql2pqf/2.2.err0000664000175000017500000000000014157607106012666 00000000000000yaz-5.31.1/test/cql2pqf/5.3.out0000664000175000017500000000015114157607106012720 00000000000000Parsing CQL \*a*b# @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "*a?b\\#" yaz-5.31.1/test/cql2pqf/6.1.err0000664000175000017500000000000014157607106012671 00000000000000yaz-5.31.1/test/cql2pqf/5.10.err0000664000175000017500000000000014157607106012750 00000000000000yaz-5.31.1/test/cql2pqf/7.2.err0000664000175000017500000000000014157607106012673 00000000000000yaz-5.31.1/test/cql2pqf/1.2.out0000664000175000017500000000022614157607106012716 00000000000000Parsing CQL a b @attr 6=1 @attr 2=3 @attr 4=1 @and @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/3.2.err0000664000175000017500000000000014157607106012667 00000000000000yaz-5.31.1/test/cql2pqf/4.12.out0000664000175000017500000000014414157607106013001 00000000000000Parsing CQL a*3 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a?\\3" yaz-5.31.1/test/cql2pqf/7.4.out0000664000175000017500000000032314157607106012724 00000000000000Parsing CQL a prox/distance < 3 b @prox 0 3 0 1 k 2 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/4.10.err0000664000175000017500000000000014157607106012747 00000000000000yaz-5.31.1/test/cql2pqf/1.3.out0000664000175000017500000000014414157607106012716 00000000000000Parsing CQL "a b" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a b" yaz-5.31.1/test/cql2pqf/3.2.out0000664000175000017500000000030214157607106012713 00000000000000Parsing CQL cat and fish @and @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "cat" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "fish" yaz-5.31.1/test/cql2pqf/5.1.out0000664000175000017500000000014314157607106012717 00000000000000Parsing CQL a*\3 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a?3" yaz-5.31.1/test/cql2pqf/6.3.out0000664000175000017500000000013614157607106012724 00000000000000Parsing CQL dc.title=/regexp a.*b @attr 6=1 @attr 2=3 @attr 4=1 @attr 1=4 @attr 5=102 "a.*b" yaz-5.31.1/test/cql2pqf/4.4.err0000664000175000017500000000000014157607106012672 00000000000000yaz-5.31.1/test/cql2pqf/3.7.out0000664000175000017500000000030214157607106012720 00000000000000Parsing CQL fred and any @and @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "fred" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "any" yaz-5.31.1/test/cql2pqf/3.7.err0000664000175000017500000000000014157607106012674 00000000000000yaz-5.31.1/test/cql2pqf/2.1.out0000664000175000017500000000015114157607106012713 00000000000000Parsing CQL title = fish @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=4 "fish" yaz-5.31.1/test/cql2pqf/5.2.err0000664000175000017500000000000014157607106012671 00000000000000yaz-5.31.1/test/cql2pqf/4.9.err0000664000175000017500000000000014157607106012677 00000000000000yaz-5.31.1/test/cql2pqf/3.5.out0000664000175000017500000000032014157607106012716 00000000000000Parsing CQL "cat" not "fish food" @not @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "cat" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "fish food" yaz-5.31.1/test/cql2pqf/4.4.out0000664000175000017500000000014214157607106012720 00000000000000Parsing CQL a*a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a?a" yaz-5.31.1/test/cql2pqf/5.6.err0000664000175000017500000000000014157607106012675 00000000000000yaz-5.31.1/test/cql2pqf/5.8.out0000664000175000017500000000014014157607106012723 00000000000000Parsing CQL ^a^ @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=3 @attr 5=100 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/4.8.out0000664000175000017500000000014214157607106012724 00000000000000Parsing CQL a?a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a#a" yaz-5.31.1/test/cql2pqf/3.3.out0000664000175000017500000000030214157607106012714 00000000000000Parsing CQL cat not frog @not @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "cat" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "frog" yaz-5.31.1/test/cql2pqf/6.2.out0000664000175000017500000000016014157607106012720 00000000000000Parsing CQL dc.title=/masked a*b @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=4 "a?b" yaz-5.31.1/test/cql2pqf/4.3.out0000664000175000017500000000013614157607106012722 00000000000000Parsing CQL *a* @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=3 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/7.3.out0000664000175000017500000000031614157607106012725 00000000000000Parsing CQL a prox/ordered b @prox 0 1 1 2 k 2 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/3.3.err0000664000175000017500000000000014157607106012670 00000000000000yaz-5.31.1/test/cql2pqf/3.6.out0000664000175000017500000000031214157607106012720 00000000000000Parsing CQL xml and "prox///" @and @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "xml" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "prox///" yaz-5.31.1/test/cql2pqf/1.1.out0000664000175000017500000000013614157607106012715 00000000000000Parsing CQL a @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" yaz-5.31.1/test/cql2pqf/3.8.err0000664000175000017500000000000014157607106012675 00000000000000yaz-5.31.1/test/cql2pqf/5.2.out0000664000175000017500000000014314157607106012720 00000000000000Parsing CQL \*a# @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "*a#" yaz-5.31.1/test/cql2pqf/4.6.out0000664000175000017500000000014014157607106012720 00000000000000Parsing CQL a? @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a#" yaz-5.31.1/test/cql2pqf/7.6.out0000664000175000017500000000032514157607106012730 00000000000000Parsing CQL a prox/unit=paragraph b @prox 0 0 0 2 k 4 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/5.9.err0000664000175000017500000000000014157607106012700 00000000000000yaz-5.31.1/test/cql2pqf/5.5.out0000664000175000017500000000014414157607106012724 00000000000000Parsing CQL @and @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "@and" yaz-5.31.1/test/cql2pqf/5.10.out0000664000175000017500000000014214157607106012776 00000000000000Parsing CQL ^a\^ @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=1 @attr 6=1 @attr 5=100 @attr 1=1016 "a^" yaz-5.31.1/test/cql2pqf/4.8.err0000664000175000017500000000000014157607106012676 00000000000000yaz-5.31.1/test/cql2pqf/5.8.err0000664000175000017500000000000014157607106012677 00000000000000yaz-5.31.1/test/cql2pqf/3.6.err0000664000175000017500000000000014157607106012673 00000000000000yaz-5.31.1/test/cql2pqf/4.6.err0000664000175000017500000000000014157607106012674 00000000000000yaz-5.31.1/test/cql2pqf/5.5.err0000664000175000017500000000000014157607106012674 00000000000000yaz-5.31.1/test/cql2pqf/4.9.out0000664000175000017500000000014614157607106012731 00000000000000Parsing CQL a#a? @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=104 @attr 1=1016 "a\\#a#" yaz-5.31.1/test/cql2pqf/3.4.out0000664000175000017500000000030414157607106012717 00000000000000Parsing CQL (cat not frog) @not @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "cat" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "frog" yaz-5.31.1/test/cql2pqf/7.4.err0000664000175000017500000000000014157607106012675 00000000000000yaz-5.31.1/test/cql2pqf/3.4.err0000664000175000017500000000000014157607106012671 00000000000000yaz-5.31.1/test/cql2pqf/7.5.out0000664000175000017500000000033114157607106012724 00000000000000Parsing CQL a prox/distance<3/ordered b @prox 0 3 1 1 k 2 @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "a" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "b" yaz-5.31.1/test/cql2pqf/3.1.out0000664000175000017500000000027614157607106012724 00000000000000Parsing CQL cat or dog @or @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "cat" @attr 6=1 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 @attr 5=100 @attr 1=1016 "dog" yaz-5.31.1/test/cql2pqf/6.2.err0000664000175000017500000000000014157607106012672 00000000000000yaz-5.31.1/test/Makefile.am0000664000175000017500000000675714152153071012360 00000000000000## This file is part of the YAZ toolkit. ## Copyright (C) Index Data check_PROGRAMS = test_ccl test_comstack test_cql2ccl \ test_embed_record test_filepath test_file_glob \ test_iconv test_icu test_json \ test_libstemmer test_log test_log_thread \ test_match_glob test_matchstr test_mutex \ test_nmem test_odr test_odrstack test_oid test_options \ test_pquery test_query_charset \ test_record_conv test_rpn2cql test_rpn2solr test_retrieval \ test_shared_ptr test_soap1 test_soap2 test_solr test_sortspec \ test_timing test_tpath test_wrbuf \ test_xmalloc test_xml_include test_xmlquery test_zgdu check_SCRIPTS = test_marc.sh test_marccol.sh test_cql2xcql.sh \ test_cql2pqf.sh test_icu.sh TESTS = $(check_PROGRAMS) $(check_SCRIPTS) EXTRA_DIST = tstodr.asn test_odrcodec.c test_odrcodec.h cql2xcqlsample \ cql2pqf-order.txt cql2pqfsample \ $(check_SCRIPTS) \ marccol1.u8.1.lst marccol1.u8.2.lst \ marccol2.u8.1.lst marccol2.u8.2.lst \ marccol3.u8.1.lst marccol3.u8.2.lst \ marccol4.u8.1.lst marccol4.u8.2.lst \ marccol5.u8.1.lst marccol5.u8.2.lst \ test_icu.0.input test_icu.0.output \ test_icu.1.input test_icu.1.output \ test_icu.2.input test_icu.2.output \ test_icu.3.input test_icu.3.output \ test_icu.4.input test_icu.4.output \ test_record_conv.xsl YAZCOMP = ../src/yaz-asncomp YAZCOMPLINE = $(YAZCOMP) -d z.tcl -i yaz -I../src $(YCFLAGS) AM_CPPFLAGS=-I$(top_srcdir)/src $(XML2_CFLAGS) $(ICU_CPPFLAGS) dist-hook: mkdir -p $(distdir)/cql cp $(srcdir)/cql/*.err $(srcdir)/cql/*.out $(distdir)/cql mkdir -p $(distdir)/cql2pqf cp $(srcdir)/cql2pqf/*.err $(srcdir)/cql2pqf/*.out $(distdir)/cql2pqf cp $(srcdir)/*.chr $(distdir) cp $(srcdir)/*.marc $(distdir) cp $(srcdir)/*.xml $(distdir) cp $(srcdir)/*.json $(distdir) # Rule for generating codecs for our small ASN.1 spec test_odrcodec.c test_odrcodec.h: tstodr.asn $(YAZCOMP) cd $(srcdir); $(YAZCOMP) tstodr.asn LDADD = ../src/libyaz.la test_icu_LDADD = ../src/libyaz_icu.la ../src/libyaz.la $(ICU_LIBS) test_libstemmer_LDADD = ../src/libyaz_icu.la ../src/libyaz.la $(ICU_LIBS) CONFIG_CLEAN_FILES=*.log test_cql2ccl_SOURCES = test_cql2ccl.c test_xmalloc_SOURCES = test_xmalloc.c test_iconv_SOURCES = test_iconv.c test_nmem_SOURCES = test_nmem.c test_matchstr_SOURCES = test_matchstr.c test_wrbuf_SOURCES = test_wrbuf.c test_odr_SOURCES = test_odrcodec.c test_odrcodec.h test_odr.c test_odrstack_SOURCES = test_odrstack.c test_ccl_SOURCES = test_ccl.c test_log_SOURCES = test_log.c test_mutex_SOURCES = test_mutex.c test_soap1_SOURCES = test_soap1.c test_soap2_SOURCES = test_soap2.c test_solr_SOURCES = test_solr.c test_sortspec_SOURCES = test_sortspec.c test_log_thread_SOURCES = test_log_thread.c test_xmlquery_SOURCES = test_xmlquery.c test_options_SOURCES = test_options.c test_pquery_SOURCES = test_pquery.c test_comstack_SOURCES = test_comstack.c test_filepath_SOURCES = test_filepath.c test_oid_SOURCES = test_oid.c test_record_conv_SOURCES = test_record_conv.c test_retrieval_SOURCES = test_retrieval.c test_tpath_SOURCES = test_tpath.c test_timing_SOURCES = test_timing.c test_query_charset_SOURCES = test_query_charset.c test_icu_SOURCES = test_icu.c test_match_glob_SOURCES = test_match_glob.c test_rpn2cql_SOURCES = test_rpn2cql.c test_rpn2solr_SOURCES = test_rpn2solr.c test_json_SOURCES = test_json.c test_xml_include_SOURCES = test_xml_include.c test_file_glob_SOURCES = test_file_glob.c test_shared_ptr_SOURCES = test_shared_ptr.c test_libstemmer_SOURCES = test_libstemmer.c test_embed_record_SOURCES = test_embed_record.c test_zgdu_SOURCES = test_zgdu.c yaz-5.31.1/test/test_icu.4.xml0000664000175000017500000000013514157607106013017 00000000000000 [,. -]* } [$] > ; yaz-5.31.1/test/xml2tmarc6.xml0000664000175000017500000000113314157607106013034 00000000000000 00366nam a22001698a 4500 11224466 DLC00000000000000.0910710c19910701nju 00010 eng 11224466 DLCDLC123-xyzJack CollinsHow to program a computerPenguin8710p. cm. yaz-5.31.1/test/marc8.chr0000664000175000017500000000000714157607106012022 00000000000000marc-8 yaz-5.31.1/test/marc1.xml.marc0000664000175000017500000000173514157607106012771 0000000000000000989nam0a32003011 450 001002800000004001000028008002800038009001100066021002700077032001500104100002100119245005400140250004100194260004000235300002700275504012300302512006100425520005000486652002400536652001600560666001600576666001900592666001500611666001800626666001900644666000900663666001500672000a9 181 423 4b710100fa000rnae000tmuua2002buslengv0000aagxx000a1-4000-4596-7d$14,00000&DBC2004390000aSlomanhLarry000aOn the road with Bob DylaneLarry "Ratso" Sloman000aRevised editionbThree Rivers Press000aNew YorkbThree Rivers Pressc2002000axv, 464 sider, tavler000aLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"000aPÃ¥ omslaget: With a new introduction by Kinky Friedman000aTidligere: 1. udgave. New York, Bantam, 19780000m99.4aDylanhBob000p78.9064v5000ffolkemusik000ffolkemusikere000frockmusik000frockmusikere000frockkoncerter000eUSA000i1970-1979yaz-5.31.1/test/marc8.json0000664000175000017500000001531114157607106012223 00000000000000{ "leader":"02647nam^^2200469^^^4500", "fields": [ { "001":"UCD-002592301" }, { "005":"20061209034435.0" }, { "006":"m d " }, { "007":"cr bn |||a|bb|" }, { "008":"920330s1583 enk s 000 0 eng d" }, { "035": { "subfields": [ { "a":"99851339eo" } ], "ind1":" ", "ind2":" " } }, { "037": { "subfields": [ { "a":"CL0036000039" }, { "b":"ProQuest Information and Learning. 300 N. Zeeb Rd., Ann Arbor, MI 48106" } ], "ind1":" ", "ind2":" " } }, { "040": { "subfields": [ { "a":"Cu-RivES" }, { "c":"Cu-RivES" }, { "d":"CStRLIN" }, { "e":"dcrb" }, { "d":"WaOLN" } ], "ind1":" ", "ind2":" " } }, { "100": { "subfields": [ { "a":"Clinton, Atkinson." } ], "ind1":"1", "ind2":" " } }, { "245": { "subfields": [ { "a":"Clinton, Purser & Arnold, to their countreymen wheresoeuer" }, { "h":"[electronic resource] :" }, { "b":"Wherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie" } ], "ind1":"0", "ind2":"0" } }, { "246": { "subfields": [ { "a":"Clinton, Purser & Arnold, to their countreymen wheresoever" } ], "ind1":"2", "ind2":" " } }, { "246": { "subfields": [ { "a":"Clinton, Purser & Arnold, to their countreymen wheresoever" } ], "ind1":"2", "ind2":" " } }, { "260": { "subfields": [ { "a":"London :" }, { "b":"Imprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church," }, { "c":"[1583?]" } ], "ind1":" ", "ind2":" " } }, { "300": { "subfields": [ { "a":"[12] p" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"In verse" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"The first poem is signed: Thomas Walton alias Purser" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"Clinton's full name and bookseller's name from, and publication date conjectured by, STC" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"Signatures: Aâ´ B²" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"Reproduction of the original in the Bodleian Library" } ], "ind1":" ", "ind2":" " } }, { "510": { "subfields": [ { "a":"STC (2nd ed.)" }, { "c":"5431" } ], "ind1":"4", "ind2":" " } }, { "530": { "subfields": [ { "a":"Also issued in print and on microform" } ], "ind1":" ", "ind2":" " } }, { "533": { "subfields": [ { "a":"Electronic reproduction." }, { "n":"Mode of access: World Wide Web." }, { "n":"Restricted to UC campuses" } ], "ind1":" ", "ind2":" " } }, { "655": { "subfields": [ { "a":"Electronic texts." }, { "2":"local" } ], "ind1":" ", "ind2":"7" } }, { "650": { "subfields": [ { "a":"Pirates" }, { "z":"England" }, { "v":"Early works to 1800." } ], "ind1":" ", "ind2":"0" } }, { "700": { "subfields": [ { "a":"Walton, Thomas," }, { "d":"fl. 1583." }, { "4":"aut" } ], "ind1":"1", "ind2":" " } }, { "700": { "subfields": [ { "a":"Arnold," }, { "d":"fl. 1583." }, { "4":"aut" } ], "ind1":"1", "ind2":" " } }, { "793": { "subfields": [ { "a":"Early English books online" } ], "ind1":"0", "ind2":" " } }, { "852": { "subfields": [ { "a":"MER" }, { "b":"kmain" } ], "ind1":" ", "ind2":" " } }, { "852": { "subfields": [ { "a":"SCB" }, { "b":"nnet" } ], "ind1":" ", "ind2":" " } }, { "856": { "subfields": [ { "z":"Restricted to UC campuses" }, { "x":"SCP UCSD" }, { "u":"http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610" } ], "ind1":"4", "ind2":"0" } }, { "856": { "subfields": [ { "z":"Restricted to UC campuses" }, { "x":"SCP UCSD" }, { "u":"http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610" } ], "ind1":"4", "ind2":"0" } }, { "852": { "subfields": [ { "a":"DVXL" }, { "b":"ELECT-GEN" }, { "h":"Internet" } ], "ind1":" ", "ind2":" " } }, { "852": { "subfields": [ { "a":"LAGE" }, { "b":"in" }, { "3":"Online access" } ], "ind1":" ", "ind2":" " } }, { "856": { "subfields": [ { "z":"Restricted to UC campuses" }, { "x":"SCP UCSD" }, { "u":"http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610" } ], "ind1":"4", "ind2":"0" } }, { "856": { "subfields": [ { "z":"Restricted to UC campuses" }, { "u":"http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610" }, { "x":"CDL" } ], "ind1":"4", "ind2":"0" } }, { "830": { "subfields": [ { "a":"Early English books, 1475-1640 ;" }, { "v":"1406:13." } ], "ind1":" ", "ind2":"0" } }, { "901": { "subfields": [ { "a":"DVXL" }, { "b":"002592301" } ], "ind1":" ", "ind2":" " } } ] } yaz-5.31.1/test/cql2xcqlsample0000664000175000017500000000420114152153071013160 00000000000000# CQL queries for testing. # from http://www.loc.gov/z3950/agency/zing/cql/sample-queries.html # Simple Term cat "cat" comp.os.linux ml:element "" "=" "prox/distance<3/unit=word" ("cat") ((dog)) all prox # Index Relation Term title = "fish" title == fish title any fish title all fish title > 9 title >= 23 dc.title any "fish chips" dc.title any/stem fish dc.fish all/stem/fuzzy "fish chips" (title any frog) ((dc.title any/stem "frog pond")) dc.title = "fish frog chicken" dc.title =/rel.algorithm=CORI squid creator any/f.foo/b.bar>1 "sanderson taylor" # Simple Boolean cat or dog cat and fish cat not frog (cat not frog) "cat" not "fish food" xml and "prox///" fred and any ((fred or all)) a or b and c not d # Index Relation Term plus Boolean bath.uniformTitle any fish and dc.title any "cat dog" (title any/stem "fish dog" or and) # Proximity and Boolean Modifiers cat prox hat cat prox/distance=3/unit=word/ordered hat cat prox/distance<3 hat "fish food" prox/unit=sentence and title all "chips frog" prox/distance<=5 exact (dc.author == "jones" prox/distance>5/unit=element title >= "smith") a and/rel.SumOfScores b a and/rel.algorithm=CORI b # Special Characters (cat^) "cat" "^cat says \"fish\"" "cat*fish" cat?dog (("^cat*fishdog\"horse?")) # Nesting Parentheses (((cat or dog) or horse) and frog) (cat and dog) or (horse and frog) (cat and (horse or frog)) and chips # Prefix Maps > foo="info:srw/cql-context-set/1/dc-v1.1" dc.title="fish" > "info:srw/cql-context-set/1/dc-v1.1" title="fish" > foo="info:srw/cql-context-set/1/dc-v1.1" > ccg = "http://srw.cheshire3.org/contextSets/ccg/1.1/" foo.title="fish" and ccg.force=3 # Lame Searches any or all:stem and all == any prox prox=fuzzy (((((((((any))))))))) "" > any > any = exact any > any # Invalid searches [should error] < === missingClause or missingTerm any () (missingParen missingParen any fish) (emptyParens or ()) title = ("illegal parentheses") > illegal="urn:missingQuery" # free-form term OK) a b a b c a.b c and b c all a a any b dc.title a b c and d # free-form term (Syntax error) a b.c a and # sortby a sortby title a or b sortby title/ascending author yaz-5.31.1/test/test_iconv.c0000664000175000017500000006275514152153071012645 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #define ESC "\x1b" #define UTF8_ACUTE "\xCC\x81" #define UTF8_CIRCUMFLEX "\xCC\x82" #define UTF8_TILDE "\xCC\x83" #define UTF8_MACRON "\xCC\x84" #define UTF8_DIAERESIS "\xCC\x88" #define UTF8_RING_ABOVE "\xCC\x8A" #define UTF8_LOWLINE "\xCC\xB2" #define UTF8_ARING "\xC3\x85" #define UTF8_aRING "\xC3\xA5" #define UTF8_OSLASH "\xC3\x98" #define UTF8_CURRENCY_SIGN "\xC2\xA4" #define UTF8_LATIN_AA "\xEA\x9C\xB2" #define UTF8_LATIN_Aa "\xEA\x9C\xB3" #define UTF8_LOWERCASE_LAMBDA "\xCE\xBB" #define UTF8_eACUTE "\xC3\xA9" static int compare_buffers(char *msg, int no, int expect_len, const char *expect_buf, int got_len, const char *got_buf) { if (expect_len == got_len && !memcmp(expect_buf, got_buf, expect_len)) return 1; if (1) /* use 1 see how the buffers differ (for debug purposes) */ { int i; printf("tsticonv test=%s i=%d failed\n", msg, no); printf("off got exp\n"); for (i = 0; i 0 ? in_len : strlen(in_buf); char outbuf0[64]; char *outbuf = outbuf0; while (inbytesleft) { size_t outbytesleft = outbuf0 + sizeof(outbuf0) - outbuf; if (outbytesleft > 12) outbytesleft = 12; r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); if (r == (size_t) (-1)) { int e = yaz_iconv_error(cd); if (e != YAZ_ICONV_E2BIG) return 0; } else { yaz_iconv(cd, 0, 0, &outbuf, &outbytesleft); break; } } return compare_buffers("tsticonv 22", 0, expect_len, expect_buf, outbuf - outbuf0, outbuf0); } static int tst_convert_x(yaz_iconv_t cd, const char *buf, const char *cmpbuf, int expect_error) { int ret = 1; WRBUF b = wrbuf_alloc(); char outbuf[16]; size_t inbytesleft = strlen(buf); const char *inp = buf; int rounds = 0; for (rounds = 0; inbytesleft && rounds < (int) sizeof(outbuf); rounds++) { size_t outbytesleft = sizeof(outbuf); char *outp = outbuf; size_t r = yaz_iconv(cd, (char**) &inp, &inbytesleft, &outp, &outbytesleft); wrbuf_write(b, outbuf, outp - outbuf); if (r == (size_t) (-1)) { int e = yaz_iconv_error(cd); if (e != YAZ_ICONV_E2BIG) { if (expect_error != -1) if (e != expect_error) ret = 0; break; } } else { size_t outbytesleft = sizeof(outbuf); char *outp = outbuf; r = yaz_iconv(cd, 0, 0, &outp, &outbytesleft); wrbuf_write(b, outbuf, outp - outbuf); if (expect_error != -1) if (expect_error) ret = 0; break; } } if (wrbuf_len(b) == strlen(cmpbuf) && !memcmp(cmpbuf, wrbuf_buf(b), wrbuf_len(b))) ; else { WRBUF w = wrbuf_alloc(); ret = 0; wrbuf_rewind(w); wrbuf_puts_escaped(w, buf); yaz_log(YLOG_LOG, "input %s", wrbuf_cstr(w)); wrbuf_rewind(w); wrbuf_write_escaped(w, wrbuf_buf(b), wrbuf_len(b)); yaz_log(YLOG_LOG, "got %s", wrbuf_cstr(w)); wrbuf_rewind(w); wrbuf_puts_escaped(w, cmpbuf); yaz_log(YLOG_LOG, "exp %s", wrbuf_cstr(w)); wrbuf_destroy(w); } wrbuf_destroy(b); return ret; } static int tst_convert(yaz_iconv_t cd, const char *buf, const char *cmpbuf) { return tst_convert_x(cd, buf, cmpbuf, 0); } static void tst_marc8_to_ucs4b(void) { yaz_iconv_t cd = yaz_iconv_open("UCS4", "MARC8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert_l( cd, 0, "\033$1" "\x21\x2B\x3B" /* FF1F */ "\033(B" "o", 8, "\x00\x00\xFF\x1F" "\x00\x00\x00o")); YAZ_CHECK(tst_convert_l( cd, 0, "\033$1" "\x6F\x77\x29" /* AE0E */ "\x6F\x52\x7C" /* c0F4 */ "\033(B", 8, "\x00\x00\xAE\x0E" "\x00\x00\xC0\xF4")); YAZ_CHECK(tst_convert_l( cd, 0, "\033$1" "\x21\x50\x6E" /* UCS 7CFB */ "\x21\x51\x31" /* UCS 7D71 */ "\x21\x3A\x67" /* UCS 5B89 */ "\x21\x33\x22" /* UCS 5168 */ "\x21\x33\x53" /* UCS 5206 */ "\x21\x44\x2B" /* UCS 6790 */ "\033(B", 24, "\x00\x00\x7C\xFB" "\x00\x00\x7D\x71" "\x00\x00\x5B\x89" "\x00\x00\x51\x68" "\x00\x00\x52\x06" "\x00\x00\x67\x90")); YAZ_CHECK(tst_convert_l( cd, 0, "\xB0\xB2", /* AYN and oSLASH */ 8, "\x00\x00\x02\xBB" "\x00\x00\x00\xF8")); YAZ_CHECK(tst_convert_l( cd, 0, "\xF6\x61", /* a underscore */ 8, "\x00\x00\x00\x61" "\x00\x00\x03\x32")); YAZ_CHECK(tst_convert_l( cd, 0, "\x61\xC2", /* a, phonorecord mark */ 8, "\x00\x00\x00\x61" "\x00\x00\x21\x17")); /* bug #258 */ YAZ_CHECK(tst_convert_l( cd, 0, "el" "\xe8" "am\xe8" "an", /* elaman where a is a" */ 32, "\x00\x00\x00" "e" "\x00\x00\x00" "l" "\x00\x00\x00" "a" "\x00\x00\x03\x08" "\x00\x00\x00" "m" "\x00\x00\x00" "a" "\x00\x00\x03\x08" "\x00\x00\x00" "n")); /* bug #260 */ YAZ_CHECK(tst_convert_l( cd, 0, "\xe5\xe8\x41", 12, "\x00\x00\x00\x41" "\x00\x00\x03\x04" "\x00\x00\x03\x08")); /* bug #416 */ YAZ_CHECK(tst_convert_l( cd, 0, "\xEB\x74\xEC\x73", 12, "\x00\x00\x00\x74" "\x00\x00\x03\x61" "\x00\x00\x00\x73")); /* bug #416 */ YAZ_CHECK(tst_convert_l( cd, 0, "\xFA\x74\xFB\x73", 12, "\x00\x00\x00\x74" "\x00\x00\x03\x60" "\x00\x00\x00\x73")); yaz_iconv_close(cd); } static void tst_ucs4b_to_utf8(void) { yaz_iconv_t cd = yaz_iconv_open("UTF8", "UCS4"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert_l( cd, 8, "\x00\x00\xFF\x1F\x00\x00\x00o", 4, "\xEF\xBC\x9F\x6F")); YAZ_CHECK(tst_convert_l( cd, 8, "\x00\x00\xAE\x0E\x00\x00\xC0\xF4", 6, "\xEA\xB8\x8E\xEC\x83\xB4")); yaz_iconv_close(cd); } static void dconvert(int mandatory, const char *tmpcode) { /* some test strings in ISO-8859-1 format */ static const char *iso_8859_1_a[] = { "ax" , "\xd8", "eneb\346r", "\xe5" "\xd8", "\xe5" "\xd8" "b", "\xe5" "\xe5", 0 }; int i; int ret; yaz_iconv_t cd; for (i = 0; iso_8859_1_a[i]; i++) { size_t r; char *inbuf = (char*) iso_8859_1_a[i]; size_t inbytesleft = strlen(inbuf); char outbuf0[24]; char outbuf1[10]; char *outbuf = outbuf0; size_t outbytesleft = sizeof(outbuf0); cd = yaz_iconv_open(tmpcode, "ISO-8859-1"); YAZ_CHECK(cd || !mandatory); if (!cd) return; r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); YAZ_CHECK(r != (size_t) (-1)); r = yaz_iconv(cd, 0, 0, &outbuf, &outbytesleft); YAZ_CHECK(r != (size_t) (-1)); yaz_iconv_close(cd); if (r == (size_t) (-1)) return; cd = yaz_iconv_open("ISO-8859-1", tmpcode); YAZ_CHECK(cd || !mandatory); if (!cd) return; inbuf = outbuf0; inbytesleft = sizeof(outbuf0) - outbytesleft; outbuf = outbuf1; outbytesleft = sizeof(outbuf1); r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); YAZ_CHECK(r != (size_t) (-1)); r = yaz_iconv(cd, 0, 0, &outbuf, &outbytesleft); if (r == (size_t)(-1)) { fprintf(stderr, "failed\n"); } YAZ_CHECK(r != (size_t) (-1)); if (r != (size_t)(-1)) { ret = compare_buffers("dconvert", i, strlen(iso_8859_1_a[i]), iso_8859_1_a[i], sizeof(outbuf1) - outbytesleft, outbuf1); YAZ_CHECK(ret); } yaz_iconv_close(cd); } } int utf8_check(unsigned c) { if (sizeof(c) >= 4) { size_t r; char src[4]; char dst[4]; char utf8buf[6]; char *inbuf = src; size_t inbytesleft = 4; char *outbuf = utf8buf; size_t outbytesleft = sizeof(utf8buf); int i; yaz_iconv_t cd = yaz_iconv_open("UTF-8", "UCS4LE"); if (!cd) return 0; for (i = 0; i<4; i++) src[i] = c >> (i*8); r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); yaz_iconv_close(cd); if (r == (size_t)(-1)) return 0; cd = yaz_iconv_open("UCS4LE", "UTF-8"); if (!cd) return 0; inbytesleft = sizeof(utf8buf) - outbytesleft; inbuf = utf8buf; outbuf = dst; outbytesleft = 4; r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); if (r == (size_t)(-1)) return 0; yaz_iconv_close(cd); if (memcmp(src, dst, 4)) return 0; } return 1; } static void tst_marc8_to_utf8(void) { yaz_iconv_t cd = yaz_iconv_open("UTF-8", "MARC8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math")); /* COMBINING ACUTE ACCENT */ YAZ_CHECK(tst_convert(cd, "Cours de math\xe2" "e", "Cours de mathe\xcc\x81")); YAZ_CHECK(tst_convert(cd, "\xea" "a", "a" UTF8_RING_ABOVE)); YAZ_CHECK(tst_convert(cd, "a" "\xea" "\x1e", "a" "\x1e" UTF8_RING_ABOVE)); YAZ_CHECK(tst_convert(cd, "a" "\xea" "p", "ap" UTF8_RING_ABOVE)); YAZ_CHECK(tst_convert_x(cd, "a\xea", "a", YAZ_ICONV_EINVAL)); YAZ_CHECK(tst_convert(cd, "p", UTF8_RING_ABOVE)); /* note: missing p */ yaz_iconv(cd, 0, 0, 0, 0); /* incomplete. so we have to reset */ /* bug #2115 */ YAZ_CHECK(tst_convert(cd, ESC "(N" ESC ")Qp" ESC "(B", "\xd0\x9f")); YAZ_CHECK(tst_convert_x(cd, ESC , "", YAZ_ICONV_EINVAL)); YAZ_CHECK(tst_convert_x(cd, ESC "(", "", YAZ_ICONV_EINVAL)); YAZ_CHECK(tst_convert_x(cd, ESC "(B", "", 0)); YAZ_CHECK(tst_convert(cd, ESC "(B" "\x31", "1")); /* ASCII in G0 */ YAZ_CHECK(tst_convert(cd, ESC ")B" "\xB1", "1")); /* ASCII in G1 */ yaz_iconv_close(cd); } static void tst_marc8s_to_utf8(void) { yaz_iconv_t cd = yaz_iconv_open("UTF-8", "MARC8s"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe2" "e", "Cours de math" UTF8_eACUTE)); yaz_iconv_close(cd); } static void tst_marc8_to_latin1(void) { yaz_iconv_t cd = yaz_iconv_open("ISO-8859-1", "MARC8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "ax", "ax")); /* latin capital letter o with stroke */ YAZ_CHECK(tst_convert(cd, "\xa2", "\xd8")); /* with latin small letter ae */ YAZ_CHECK(tst_convert(cd, "eneb\xb5r", "eneb\346r")); YAZ_CHECK(tst_convert(cd, "\xea" "a\xa2", "\xe5" "\xd8")); YAZ_CHECK(tst_convert(cd, "\xea" "a\xa2" "b", "\xe5" "\xd8" "b")); YAZ_CHECK(tst_convert(cd, "\xea" "a" "\xea" "a", "\xe5" "\xe5")); YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe2" "e", "Cours de math\xe9")); YAZ_CHECK(tst_convert(cd, "12345678\xe2" "e", "12345678\xe9")); YAZ_CHECK(tst_convert(cd, "123456789\xe2" "e", "123456789\xe9")); YAZ_CHECK(tst_convert(cd, "1234567890\xe2" "e", "1234567890\xe9")); YAZ_CHECK(tst_convert(cd, "12345678901\xe2" "e", "12345678901\xe9")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe2" "em", "Cours de math\xe9m")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe2" "ematiques", "Cours de math\xe9matiques")); yaz_iconv_close(cd); } static void tst_utf8_to_marc8(const char *marc8_type) { yaz_iconv_t cd = yaz_iconv_open(marc8_type, "UTF-8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours ", "Cours ")); /** Pure ASCII. 11 characters (sizeof(outbuf)-1) */ YAZ_CHECK(tst_convert(cd, "Cours de mat", "Cours de mat")); /** Pure ASCII. 12 characters (sizeof(outbuf)) */ YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math")); /** Pure ASCII. 13 characters (sizeof(outbuf)+1) */ YAZ_CHECK(tst_convert(cd, "Cours de math.", "Cours de math.")); /** UPPERCASE SCANDINAVIAN O */ YAZ_CHECK(tst_convert(cd, "S" UTF8_OSLASH, "S\xa2")); /** ARING (NFD) */ YAZ_CHECK(tst_convert(cd, "A" UTF8_RING_ABOVE, "\xEA" "A")); /** ARING (NFC) */ YAZ_CHECK(tst_convert(cd, UTF8_ARING, "\xEA" "A")); /** A MACRON + UMLAUT, DIAERESIS */ YAZ_CHECK(tst_convert(cd, "A" UTF8_MACRON UTF8_DIAERESIS, "\xE5\xE8\x41")); /* Ligature spanning two characters */ YAZ_CHECK(tst_convert(cd, "\x74" "\xCD\xA1" "\x73", /* UTF-8 */ "\xEB\x74\xEC\x73")); /* MARC-8 */ /* Double title spanning two characters */ YAZ_CHECK(tst_convert(cd, "\x74" "\xCD\xA0" "\x73", /* UTF-8 */ "\xFA\x74\xFB\x73")); /* MARC-8 */ /** Ideographic question mark (Unicode FF1F) */ YAZ_CHECK(tst_convert(cd, "\xEF\xBC\x9F" "o", /* UTF-8 */ "\033$1" "\x21\x2B\x3B" "\033(B" "o" )); /** Ideographic space per ANSI Z39.64 */ YAZ_CHECK(tst_convert(cd, "\xe3\x80\x80" "o", /* UTF-8 */ "\033$1" "\x21\x23\x21" "\033(B" "o" )); /** Superscript 0 . bug #642 */ YAZ_CHECK(tst_convert(cd, "(\xe2\x81\xb0)", /* UTF-8 */ "(\033p0\x1bs)")); /** bug #1778 */ YAZ_CHECK(tst_convert(cd, /* offset 0x530 in UTF-8 rec marccol4.u8.marc */ "\xE3\x83\xB3" "\xE3\x82\xBF" "\xCC\x84" "\xCC\x84" "\xE3\x83\xBC" /* UTF-8 */, "\x1B\x24\x31" "\x69\x25\x73" "\x1B\x28\x42" "\xE5\xE5" "\x1B\x24\x31" "\x69\x25\x3F" "\x69\x21\x3C" "\x1B\x28\x42")); /** bug #2120 */ YAZ_CHECK(tst_convert(cd, "\xCE\x94\xCE\xB5\xCF\x84" "\xCE\xBF\xCF\x81\xCE\xB1" "\xCE\xBA\xCE\xB7\xCF\x82\x2C", "\x1B\x28\x53\x45\x66\x78\x72\x75" "\x61\x6D\x6A\x77" "\x1B\x28\x42\x2C" )); { char *inbuf0 = "\xe2\x81\xb0"; char *inbuf = inbuf0; size_t inbytesleft = strlen(inbuf); char outbuf0[64]; char *outbuf = outbuf0; size_t outbytesleft = sizeof(outbuf0)-1; size_t r; #if 0 int i; #endif r = yaz_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); YAZ_CHECK(r != (size_t) (-1)); #if 0 *outbuf = '\0'; /* so we know when to stop printing */ for (i = 0; outbuf0[i]; i++) { int ch = outbuf0[i] & 0xff; yaz_log(YLOG_LOG, "ch%d %02X %c", i, ch, ch >= ' ' ? ch : '?'); } #endif r = yaz_iconv(cd, 0, 0, &outbuf, &outbytesleft); YAZ_CHECK(r != (size_t) (-1)); *outbuf = '\0'; /* for strcmp test below and printing */ #if 0 for (i = 0; outbuf0[i]; i++) { int ch = outbuf0[i] & 0xff; yaz_log(YLOG_LOG, "ch%d %02X %c", i, ch, ch >= ' ' ? ch : '?'); } #endif YAZ_CHECK(strcmp("\033p0\x1bs", outbuf0) == 0); } yaz_iconv(cd, 0, 0, 0, 0); yaz_iconv_close(cd); } static void tst_advance_to_utf8(void) { yaz_iconv_t cd = yaz_iconv_open("utf-8", "advancegreek"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours ", "Cours ")); yaz_iconv_close(cd); } static void tst_utf8_to_advance(void) { yaz_iconv_t cd = yaz_iconv_open("advancegreek", "utf-8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours ", "Cours ")); yaz_iconv_close(cd); } static void tst_latin1_to_marc8(void) { yaz_iconv_t cd = yaz_iconv_open("MARC8", "ISO-8859-1"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "Cours ", "Cours ")); /** Pure ASCII. 11 characters (sizeof(outbuf)-1) */ YAZ_CHECK(tst_convert(cd, "Cours de mat", "Cours de mat")); /** Pure ASCII. 12 characters (sizeof(outbuf)) */ YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math")); /** Pure ASCII. 13 characters (sizeof(outbuf)) */ YAZ_CHECK(tst_convert(cd, "Cours de math.", "Cours de math.")); /** D8: UPPERCASE SCANDINAVIAN O */ YAZ_CHECK(tst_convert(cd, "S\xd8", "S\xa2")); /** E9: LATIN SMALL LETTER E WITH ACUTE */ YAZ_CHECK(tst_convert(cd, "Cours de math\xe9", "Cours de math\xe2" "e")); YAZ_CHECK(tst_convert(cd, "Cours de math", "Cours de math" )); YAZ_CHECK(tst_convert(cd, "Cours de math\xe9", "Cours de math\xe2" "e" )); YAZ_CHECK(tst_convert(cd, "12345678\xe9","12345678\xe2" "e")); YAZ_CHECK(tst_convert(cd, "123456789\xe9", "123456789\xe2" "e")); YAZ_CHECK(tst_convert(cd, "1234567890\xe9","1234567890\xe2" "e")); YAZ_CHECK(tst_convert(cd, "12345678901\xe9", "12345678901\xe2" "e")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe9m", "Cours de math\xe2" "em")); YAZ_CHECK(tst_convert(cd, "Cours de math\xe9matiques", "Cours de math\xe2" "ematiques")); yaz_iconv_close(cd); } static void tst_utf8_codes(void) { YAZ_CHECK(utf8_check(3)); YAZ_CHECK(utf8_check(127)); YAZ_CHECK(utf8_check(128)); YAZ_CHECK(utf8_check(255)); YAZ_CHECK(utf8_check(256)); YAZ_CHECK(utf8_check(900)); YAZ_CHECK(utf8_check(1000)); YAZ_CHECK(utf8_check(10000)); YAZ_CHECK(utf8_check(100000)); YAZ_CHECK(utf8_check(1000000)); YAZ_CHECK(utf8_check(10000000)); YAZ_CHECK(utf8_check(100000000)); } static void tst_danmarc_to_utf8(void) { yaz_iconv_t cd = yaz_iconv_open("utf-8", "danmarc"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK(tst_convert(cd, "ax", "ax")); YAZ_CHECK(tst_convert(cd, "a@@b", "a@b")); YAZ_CHECK(tst_convert(cd, "a@@@@b", "a@@b")); YAZ_CHECK(tst_convert(cd, "@*", "*")); YAZ_CHECK(tst_convert(cd, "@@", "@")); YAZ_CHECK(tst_convert(cd, "@\xa4", UTF8_CURRENCY_SIGN)); YAZ_CHECK(tst_convert(cd, "\xa4", UTF8_CURRENCY_SIGN)); YAZ_CHECK(tst_convert(cd, "@\xe5", UTF8_LATIN_Aa)); YAZ_CHECK(tst_convert(cd, "@\xc5.", UTF8_LATIN_AA ".")); YAZ_CHECK(tst_convert(cd, "@a733", UTF8_LATIN_Aa)); YAZ_CHECK(tst_convert(cd, "@a732.", UTF8_LATIN_AA ".")); YAZ_CHECK(tst_convert(cd, "a@03BBb", "a" UTF8_LOWERCASE_LAMBDA "b")); YAZ_CHECK(tst_convert(cd, "@0302y", "y" UTF8_CIRCUMFLEX)); YAZ_CHECK(tst_convert(cd, "^y", "y" UTF8_CIRCUMFLEX)); YAZ_CHECK(tst_convert(cd, "@0332y", "y" UTF8_LOWLINE)); YAZ_CHECK(tst_convert(cd, "_y", "y" UTF8_LOWLINE)); YAZ_CHECK(tst_convert(cd, "@0301@0302a", "a" UTF8_CIRCUMFLEX UTF8_ACUTE)); YAZ_CHECK(tst_convert(cd, "@0302@0301a", "a" UTF8_ACUTE UTF8_CIRCUMFLEX)); YAZ_CHECK(tst_convert(cd, "0@0302@0301ab", "0a" UTF8_ACUTE UTF8_CIRCUMFLEX "b")); /** Incomplete Circumflex */ YAZ_CHECK(tst_convert_x(cd, "@0301", "", YAZ_ICONV_EINVAL)); yaz_iconv(cd, 0, 0, 0, 0); /* incomplete. so we have to reset */ /** p + Incomplete Circumflex */ YAZ_CHECK(tst_convert_x(cd, "p" "@0301", "p", YAZ_ICONV_EINVAL)); yaz_iconv(cd, 0, 0, 0, 0); /* incomplete. so we have to reset */ /** TILDE a */ YAZ_CHECK(tst_convert(cd, "@0303" "a", "a" UTF8_TILDE)); /** TILDE Y */ YAZ_CHECK(tst_convert(cd, "@0303" "Y", "Y" UTF8_TILDE)); /** ARING (NFC) */ YAZ_CHECK(tst_convert(cd, "\xC5", UTF8_ARING)); /** Trema */ YAZ_CHECK(tst_convert(cd, "@UFCe", "e\xCC\x88")); yaz_iconv_close(cd); } static void tst_utf8_to_danmarc_common(yaz_iconv_t cd) { YAZ_CHECK(tst_convert(cd, "ax", "ax")); YAZ_CHECK(tst_convert(cd, "a@b", "a@@b")); YAZ_CHECK(tst_convert(cd, "a@@b", "a@@@@b")); YAZ_CHECK(tst_convert(cd, "*", "@*")); YAZ_CHECK(tst_convert(cd, "@", "@@")); YAZ_CHECK(tst_convert(cd, UTF8_CURRENCY_SIGN, "\xa4")); YAZ_CHECK(tst_convert(cd, "a" UTF8_aRING "b", "a\xe5" "b")); /* aring */ YAZ_CHECK(tst_convert(cd, "a" UTF8_LOWERCASE_LAMBDA "b", "a@03BBb")); YAZ_CHECK(tst_convert(cd, UTF8_LATIN_AA ".", "@\xc5.")); YAZ_CHECK(tst_convert(cd, UTF8_LATIN_Aa, "@\xe5")); /** TILDE (none) */ YAZ_CHECK(tst_convert(cd, UTF8_TILDE, "@0303")); /** TILDE a - maps into Latin-1 range */ YAZ_CHECK(tst_convert(cd, "a" UTF8_TILDE, "\xE3")); /** TILDE Y */ YAZ_CHECK(tst_convert(cd, "Y" UTF8_TILDE, "@0303" "Y")); /** ARING (NFD) */ YAZ_CHECK(tst_convert(cd, "A" UTF8_RING_ABOVE, "\xC5")); /** ARING (NFC) */ YAZ_CHECK(tst_convert(cd, UTF8_ARING, "\xC5")); YAZ_CHECK(tst_convert(cd, "a" UTF8_CIRCUMFLEX, "\xE2")); } static void tst_utf8_to_danmarc(void) { yaz_iconv_t cd = yaz_iconv_open("danmarc", "utf-8"); YAZ_CHECK(cd); if (!cd) return; tst_utf8_to_danmarc_common(cd); YAZ_CHECK(tst_convert(cd, "y" UTF8_CIRCUMFLEX, "@0302y")); YAZ_CHECK(tst_convert(cd, "y" UTF8_LOWLINE, "@0332y")); /** combining chars.. that should be reversed */ YAZ_CHECK(tst_convert(cd, "a" UTF8_CIRCUMFLEX UTF8_ACUTE, "@0301@0302a")); YAZ_CHECK(tst_convert(cd, "a" UTF8_ACUTE UTF8_CIRCUMFLEX, "@0302@0301a")); YAZ_CHECK(tst_convert(cd, "0a" UTF8_ACUTE UTF8_CIRCUMFLEX "b", "0@0302@0301ab")); yaz_iconv_close(cd); } static void tst_utf8_to_danmarc2(void) { yaz_iconv_t cd = yaz_iconv_open("danmarc2", "utf-8"); YAZ_CHECK(cd); if (!cd) return; tst_utf8_to_danmarc_common(cd); YAZ_CHECK(tst_convert(cd, "y" UTF8_CIRCUMFLEX, "^y")); YAZ_CHECK(tst_convert(cd, "y" UTF8_LOWLINE, "_y")); /** combining chars.. that should be reversed */ YAZ_CHECK(tst_convert(cd, "a" UTF8_CIRCUMFLEX UTF8_ACUTE, "\xB4^a")); YAZ_CHECK(tst_convert(cd, "a" UTF8_ACUTE UTF8_CIRCUMFLEX, "^\xB4" "a")); YAZ_CHECK(tst_convert(cd, "0a" UTF8_ACUTE UTF8_CIRCUMFLEX "b" , "0^\xB4" "ab")); yaz_iconv_close(cd); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); tst_utf8_codes(); tst_marc8_to_utf8(); tst_marc8s_to_utf8(); tst_marc8_to_latin1(); tst_advance_to_utf8(); tst_utf8_to_advance(); tst_utf8_to_marc8("marc8"); tst_utf8_to_marc8("marc8lossy"); tst_utf8_to_marc8("marc8lossless"); tst_danmarc_to_utf8(); tst_utf8_to_danmarc(); tst_utf8_to_danmarc2(); tst_latin1_to_marc8(); tst_marc8_to_ucs4b(); tst_ucs4b_to_utf8(); dconvert(1, "UTF-8"); dconvert(1, "ISO-8859-1"); dconvert(1, "UCS4"); dconvert(1, "UCS4LE"); dconvert(0, "CP865"); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc4.xml0000664000175000017500000000111614157607106012044 00000000000000 009140091a22a 22003370 yaz-5.31.1/test/test_soap1.c0000664000175000017500000000220214152153071012527 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #if YAZ_HAVE_XML2 #include #endif #include void tst(void) { #if YAZ_HAVE_XML2 xmlChar *buf_out; int len_out; xmlDocPtr doc; xmlNodePtr top; #if 0 const char *val = "jordb" "\xe6" "r"; /* makes xmlDocDumpMemory hang .. */ #else const char *val = "jordbaer"; /* OK */ #endif doc = xmlNewDoc(BAD_CAST "1.0"); YAZ_CHECK(doc); top = xmlNewNode(0, BAD_CAST "top"); YAZ_CHECK(top); xmlNewTextChild(top, 0, BAD_CAST "sub", BAD_CAST val); xmlDocSetRootElement(doc, top); xmlDocDumpMemory(doc, &buf_out, &len_out); #if 0 printf("%*s", len_out, buf_out); #endif /* YAZ_HAVE_XML2 */ #endif } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); #if YAZ_HAVE_XML2 LIBXML_TEST_VERSION; #endif tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc0.json.marc0000664000175000017500000000007614157607106013136 0000000000000000062cgm a2200037Ia 4500092002400000 áaDVD CHI 791.43bQIyaz-5.31.1/test/marc4.json.marc0000664000175000017500000000003214157607106013132 0000000000000000026009142200025003370 yaz-5.31.1/test/tmarc8.xml0000664000175000017500000001014714157607106012240 00000000000000 02647nam^a2200469^^^4500 UCD-002592301 20061209034435.0 m d cr bn |||a|bb| 920330s1583 enk s 000 0 eng d 99851339eo CL0036000039 ProQuest Information and Learning. 300 N. Zeeb Rd., Ann Arbor, MI 48106 Cu-RivES Cu-RivES CStRLIN dcrb WaOLN Clinton, Atkinson. Clinton, Purser & Arnold, to their countreymen wheresoeuer [electronic resource] : Wherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie Clinton, Purser & Arnold, to their countreymen wheresoever Clinton, Purser & Arnold, to their countreymen wheresoever London : Imprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church, [1583?] [12] p In verse The first poem is signed: Thomas Walton alias Purser Clinton's full name and bookseller's name from, and publication date conjectured by, STC Signatures: Aâ´ B² Reproduction of the original in the Bodleian Library STC (2nd ed.) 5431 Also issued in print and on microform Electronic reproduction. Mode of access: World Wide Web. Restricted to UC campuses Electronic texts. local Pirates England Early works to 1800. Walton, Thomas, fl. 1583. aut Arnold, fl. 1583. aut Early English books online MER kmain SCB nnet Restricted to UC campuses SCP UCSD http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Restricted to UC campuses SCP UCSD http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 DVXL ELECT-GEN Internet LAGE in Online access Restricted to UC campuses SCP UCSD http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Restricted to UC campuses http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 CDL Early English books, 1475-1640 ; 1406:13. DVXL 002592301 yaz-5.31.1/test/marc11.chr0000664000175000017500000000001014157607106012066 00000000000000danmarc yaz-5.31.1/test/marc5.xml0000664000175000017500000000247314157607106012054 00000000000000 00492nam a22001455a 4500 000277485 20051026111436.0 050413s1894 gr 000 0 gre d ΜαÏοÏδης, Κωνσταντίνος Ιω Ελληνικόν κÏυπτογÏαφικόν λεξικόν / Κωνστ. Ι. ΜαÏοÏδης. εκδ. Αθήνα, 1894. 248 σελ. Greek language, Modern Dialects Dictionaries Cryptography. yaz-5.31.1/test/marc8.xml.marc0000664000175000017500000000512314157607106012773 0000000000000002643nam^a2200469^^^4500001001400000005001700014006001900031007001500050008004100065035001500106037009000121040004500211100002300256245028100279246006300560246006300623260014400686300001100830500001300841500005700854500009300911500002501004500005701029510002401086530004201110533008901152655002901241650004301270700003601313700002801349793003101377852001501408852001401423856015401437856015401591852003001745852002801775856015401803856014901957830004702106901002002153UCD-00259230120061209034435.0m d cr bn |||a|bb|920330s1583 enk s 000 0 eng d a99851339eo aCL0036000039bProQuest Information and Learning. 300 N. Zeeb Rd., Ann Arbor, MI 48106 aCu-RivEScCu-RivESdCStRLINedcrbdWaOLN1 aClinton, Atkinson.00aClinton, Purser & Arnold, to their countreymen wheresoeuerh[electronic resource] :bWherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie2 aClinton, Purser & Arnold, to their countreymen wheresoever2 aClinton, Purser & Arnold, to their countreymen wheresoever aLondon :bImprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church,c[1583?] a[12] p aIn verse aThe first poem is signed: Thomas Walton alias Purser aClinton's full name and bookseller's name from, and publication date conjectured by, STC aSignatures: Aâ´ B² aReproduction of the original in the Bodleian Library4 aSTC (2nd ed.)c5431 aAlso issued in print and on microform aElectronic reproduction.nMode of access: World Wide Web.nRestricted to UC campuses 7aElectronic texts.2local 0aPirateszEnglandvEarly works to 1800.1 aWalton, Thomas,dfl. 1583.4aut1 aArnold,dfl. 1583.4aut0 aEarly English books online aMERbkmain aSCBbnnet40zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:1661040zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 aDVXLbELECT-GENhInternet aLAGEbin3Online access40zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:1661040zRestricted to UC campusesuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610xCDL 0aEarly English books, 1475-1640 ;v1406:13. aDVXLb002592301yaz-5.31.1/test/marc10.xml0000664000175000017500000000706014157607106012125 00000000000000 02924nam a22001810 450 21528773 20180924151503.0 000000s1996 dk |||| 00| | dan d 08.0000 z Tegnsæt-test til Indvandrerbiblioteket. [S.n.]. , Æ¡, Æ , ư, Ư, slavisk bødt tegn: ʹt, ʹ, ʹd, ʹT, ʹD,nyt:skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ , η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚. (under stjerne) eller à (ved aigu)?, aigu: á, â, ñ, dobbelt tilde: ~%Tn, aÌ„ NYT: slavisk hÃ¥rdt tegn: ʺ, ʺo, ʺa, ʺO. ayn: ta%Ya. dobbelt tilde: ã%Ta, ~%T, ñ%Tn. ligatur: a︠a︡. aigu: med tegn (nederste) á, 'A, ú, í, 'I, ó, Ó, ý, Ã, é, É aigu med ̈á, ú, í, é. grave med tegn: à, À, ù, Ù, yÌ€ ò, Ã’, ì, ÃŒ,è, È med .̈ ğ, ȧ, ä, hacek: aÌŒ, Ã¥, ligatur: a︠ a︡, kÌ•, oÌ‹, ç Ç, sÌœ, aÌ, NYT skema 7: ↑, ↓, \, dobbelt understreg: k̳. skema 4: á, 'A, é, É, í, 'I, ó, ý, Ã, Ã, IÌ, Ú, grave: à, À, è, È, ì, ÃŒ, ò,NYT: aigu: Ã, Ú el 'A, 'U. hÃ¥rd blank: a a. promille: ‰. højrepil: →. 0303: ù, Ù, \ (backslash), promille: ‰, obb. aigu: oÌ‹, OÌ‹, uÌ‹, UÌ‹, ợ, ự, ở, Æ¡Ì. aÌ®, højrekrog: ų ǫ, tÌ£, t̤, tÌ¥, k̳, Ë (trema), aÌ¥, a̳, a̦, ë a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r ,s, t, u, v, w, x, y, z, æ ,ø, Ã¥, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Æ, Ø, Ã…, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, +, !, "a", #, , %, &, /, (, ), =. ?, á, à, ü, £, $, [, ], {, }, â, ñ, <, >, \, ., -, ;, :, ,̲ ꜳ, Ꜳ, ü, Ü, ä, Ä, ö, Ö, ß, ĸ, ð, Ä‘, Ã, þ, Þ, Å“, Å’, Å‚, Å, ı % aÌ®, ą, aÌ£, a̤, aÌ¥, a̳, a̦, ë, , Ã’, 'u, Ù, yÌ€, circonflex: â, Â, ê, Ê, î, ÃŽ, ô, Ô, û, Û, tilde: ã, Ã, ñ, Ñ, õ, Õ, ë, Ë, Ï, ı̈, ÿ, Ë, Ï, ä, ç Ç, ş, blank: a a, !, ", ', (, ), ,, -, ., /, :, ;, ?, », «, [, ], {, }, ¿, ¡, —, ̉ủ, a a, skema 6: #, $, %, &, *, +, <, >, =, ≠, ·, â™­, ®, ±, £, aragraf kan ikke °, †, ‰, ∫, ∞, √, ÷, →, ×, skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚ vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘. slavisk hÃ¥rdt tegn: #2, ʺo, ʺO, alif: ʼ, ayn: Ê»a, taÊ»a, ̲, grave: 'a NYT: vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘. yaz-5.31.1/test/marc8.marc0000664000175000017500000000512714157607106012200 0000000000000002647nam^^2200469^^^4500001001400000005001700014006001900031007001500050008004100065035001500106037009000121040004500211100002300256245028100279246006300560246006300623260014400686300001100830500001300841500005700854500009300911500002901004500005701033510002401090530004201114533008901156655002901245650004301274700003601317700002801353793003101381852001501412852001401427856015401441856015401595852003001749852002801779856015401807856014901961830004702110901002002157UCD-00259230120061209034435.0m d cr bn |||a|bb|920330s1583 enk s 000 0 eng d a99851339eo aCL0036000039bProQuest Information and Learning. 300 N. Zeeb Rd., Ann Arbor, MI 48106 aCu-RivEScCu-RivESdCStRLINedcrbdWaOLN1 aClinton, Atkinson.00aClinton, Purser & Arnold, to their countreymen wheresoeuerh[electronic resource] :bWherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie2 aClinton, Purser & Arnold, to their countreymen wheresoever2 aClinton, Purser & Arnold, to their countreymen wheresoever aLondon :bImprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church,c[1583?] a[12] p aIn verse aThe first poem is signed: Thomas Walton alias Purser aClinton's full name and bookseller's name from, and publication date conjectured by, STC aSignatures: Ap4(B Bp2 aReproduction of the original in the Bodleian Library4 aSTC (2nd ed.)c5431 aAlso issued in print and on microform aElectronic reproduction.nMode of access: World Wide Web.nRestricted to UC campuses 7aElectronic texts.2local 0aPirateszEnglandvEarly works to 1800.1 aWalton, Thomas,dfl. 1583.4aut1 aArnold,dfl. 1583.4aut0 aEarly English books online aMERbkmain aSCBbnnet40zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:1661040zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 aDVXLbELECT-GENhInternet aLAGEbin3Online access40zRestricted to UC campusesxSCP UCSDuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:1661040zRestricted to UC campusesuhttp://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610xCDL 0aEarly English books, 1475-1640 ;v1406:13. aDVXLb002592301yaz-5.31.1/test/marc9.marc0000664000175000017500000000403314157607106012174 0000000000000002075cas 22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245007900261246002600340246004600366260009800412300002500510310002700535362004100562490008800603500004700691500005700738546003600795650004700831650002600878650002700904650004100931710007700972710004001049850000801089880007801097880004801175880008601223880005301309880007001362880006301432880004601495936002801541 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQaòdåa® al-usrah :bmajallah mutakhaòsòsiòsah /cWizåarat al-°Adl.13aJustice de la famille136880-02aMajallat Qaòdåa® al-usrahf<2006> 6880-03aal-Rabåaòt :bJam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-°Adad 1. (Yåulyåuz 2005)-0 6880-05aManshåuråat Jam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah aSome issues have also a distinctive title. aLatest issue consulted: al-°Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah.1 6880-07aMorocco.bWizåarat al-°Adl. aDLC006245-01/(3/ra(3bVGA GdCSQI :(Bb(3eLdI eJNUUI /(Bc(3hRGQI GdYOd.(B136246-02/(3/ra(3eLdI bVGA GdCSQI(Bf<2006> 6260-03/(3/ra(3GdQHGW :(Bb(3LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI,(Bc2005-0 6362-04/(3/ra(3GdYOO (B1. ((3jhdjhR (B2005)-0 6490-05/(3/ra(3efThQGJ LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI(B2 6710-06/(3/ra(3LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI.(B1 6710-07/(3/raMorocco.b(3hRGQI GdYOd.(B aLC Cairo Office [we 45]yaz-5.31.1/test/test_query_charset.c0000664000175000017500000000407414152153071014373 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include enum query_charset_status { NO_ERROR, PQF_FAILED, MATCH, NO_MATCH, CONV_FAILED }; enum query_charset_status t(yaz_iconv_t cd, const char *pqf, const char *expect_pqf) { YAZ_PQF_Parser parser = yaz_pqf_create(); ODR odr = odr_createmem(ODR_ENCODE); Z_RPNQuery *rpn; enum query_charset_status status = NO_ERROR; YAZ_CHECK(parser); YAZ_CHECK(odr); rpn = yaz_pqf_parse(parser, odr, pqf); yaz_pqf_destroy(parser); if (!rpn) status = PQF_FAILED; else { WRBUF w = wrbuf_alloc(); Z_RPNQuery *r2 = yaz_copy_z_RPNQuery(rpn, odr); YAZ_CHECK(r2); YAZ_CHECK(r2 != rpn); yaz_query_charset_convert_rpnquery(rpn, odr, cd); yaz_rpnquery_to_wrbuf(w, rpn); if (!expect_pqf || strcmp(expect_pqf, wrbuf_cstr(w)) == 0) status = MATCH; else { status = NO_MATCH; printf("Result: %s\n", wrbuf_cstr(w)); } wrbuf_destroy(w); } odr_destroy(odr); return status; } static void tst(void) { yaz_iconv_t cd = yaz_iconv_open("iso-8859-1", "utf-8"); YAZ_CHECK(cd); if (!cd) return; YAZ_CHECK_EQ(t(cd, "@attr 1=4 bad query", 0), PQF_FAILED); YAZ_CHECK_EQ(t(cd, "@attr 1=4 ok", "@attrset Bib-1 @attr 1=4 ok"), MATCH); /* m followed by latin smaller letter ae */ YAZ_CHECK_EQ(t(cd, "@attr 1=4 m\xc3\xa6", "@attrset Bib-1 @attr 1=4 m\xe6"), MATCH); yaz_iconv_close(cd); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc9.json.marc0000664000175000017500000000430414157607106013145 0000000000000002244cas 22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245008700261246002600348246004900374260011100423300002500534310002700559362004400586490010100630500004700731500005800778546003600836650004700872650002600919650002700945650004100972710008801013710004201101850000801143880009001151880005601241880011501297880005201412880010501464880009101569880005001660936002801710 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQadÌ£āʼ al-usrah :bmajallah mutakhasÌ£sÌ£isÌ£ah /cWizaÌ„rat al-Ê»Adl.13aJustice de la famille136880-02aMajallat QadÌ£āʼ al-usrahf<2006> 6880-03aal-RabaÌ„tÌ£ :bJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-Ê»Adad 1. (YuÌ„lyuÌ„z 2005)-0 6880-05aManshuÌ„raÌ„t JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah aSome issues have also a distinctive title. aLatest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah.1 6880-07aMorocco.bWizaÌ„rat al-Ê»Adl. aDLC006245-01/(3/raقضاء الأسرة :bمجلة متخصصة /cوزارة العدل.136246-02/(3/raمجلة قضاء الأسرةf<2006> 6260-03/(3/raالرباط :bجمعية نشر المعلومة القانونية والقضائية،c2005-0 6362-04/(3/raالعدد 1. (يوليوز 2005)-0 6490-05/(3/raمنشورات جمعية نشر المعلومة القانونية والقضائية2 6710-06/(3/raجمعية نشر المعلومة القانونية والقضائية.1 6710-07/(3/raMorocco.bوزارة العدل. aLC Cairo Office [we 45]yaz-5.31.1/test/xml2tmarc4.xml0000664000175000017500000000104314157607106013032 00000000000000 009140091a22a 22003370 yaz-5.31.1/test/tmarc6.xml.marc0000664000175000017500000000055614157607106013162 0000000000000000366nam a22001698a 4500001001300000003000400013005001700017008004100034010001700075040001300092050001200105100001700117245003000134260001200164263000900176300001100185 11224466 DLC00000000000000.0910710c19910701nju 00010 eng  a 11224466  aDLCcDLC00a123-xyz10aJack Collins10aHow to program a computer1 aPenguin a8710 ap. cm.yaz-5.31.1/test/test_embed_record.c0000664000175000017500000003316314152153071014130 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #if YAZ_HAVE_XML2 #include #include #endif void test1(void) { int buflen; for (buflen = 0; buflen < 256; buflen++) { char buf[256]; char buf_a[1024]; char buf_b[1024]; int i; for (i = 0; i < buflen; i++) buf[i] = 1 + i; buf[i] = 0; yaz_base64encode(buf, buf_a); YAZ_CHECK(yaz_base64decode(buf_a, buf_b) == 0); YAZ_CHECK(strcmp(buf, buf_b) == 0); } } void test2(void) { char base_enc[] = "MDA3NjZuYW0gIDIyMDAyNjU4YSA0NTAwMDAxMDAxMjAwMDAwMDAzMDAwNjAwMDEyMDA1MDAx" "NzAwMDE4MDA4MDA0MTAwMDM1MDEwMDAxNzAwMDc2MDIwMDAxNTAwMDkzMDM1MDAxODAwMTA4" "MDQwMDAxODAwMTI2MDQ5MDAwOTAwMTQ0MDUwMDAyNjAwMTUzMDgyMDAxNzAwMTc5MTAwMDAx" "ODAwMTk2MjQ1MDA2NzAwMjE0MjYwMDA1MjAwMjgxMjYzMDAwOTAwMzMzMzAwMDAyNzAwMzQy" "NTAwMDAyNzAwMzY5NTA0MDA1MTAwMzk2NjUwMDA0NDAwNDQ3OTk5MDAwOTAwNDkxHm9jbTI4" "MzM5ODYzHk9Db0xDHjE5OTQwMTA1MDc0NTIyLjAeOTMwNjA5czE5OTQgICAgY291ICAgICAg" "YiAgICAwMDEgMCBlbmcgIB4gIB9hICAgOTMwMDkwNDcgHiAgH2EwMTMwMzA1NTI5HiAgH2Eo" "b2NtKTI4MzM5ODYzHiAgH2FETEMfY0RMQx9kS0tVHiAgH2FLS1VKHjAwH2FRQTc2LjczLkMy" "OB9iRzczIDE5OTQeMDAfYTAwNS4xMy8zHzIyMB4xIB9hR3JhaGFtLCBQYXVsLh4xMB9hT24g" "TGlzcCA6H2JhZHZhbmNlZCB0ZWNobmlxdWVzIGZvciBjb21tb24gTGlzcCAvH2NQYXVsIEdy" "YWhhbS4eICAfYUVuZ2xld29vZCBDbGlmZnMsIE4uSi4gOh9iUHJlbnRpY2UgSGFsbCwfYzE5" "OTQuHiAgH2E5NDEwHiAgH2F4aWlpLCA0MTMgcC4gOx9jMjMgY20uHiAgH2EiQW4gQWxhbiBS" "LiBBcHQgYm9vay4iHiAgH2FJbmNsdWRlcyBiaWJsaW9ncmFwaGljYWwgcmVmZXJlbmNlcyBh" "bmQgaW5kZXguHiAwH2FDT01NT04gTElTUCAoQ29tcHV0ZXIgcHJvZ3JhbSBsYW5ndWFnZSke" "H2xVQUhJTEweHQ=="; char bin_marc[] = "00766nam 22002658a 4500001001200000003000600012005001700018008004100035010001700076020001500093035001800108040001800126049000900144050002600153082001700179100001800196245006700214260005200281263000900333300002700342500002700369504005100396650004400447999000900491\036ocm28339863\036OCoLC\03619940105074522.0\036930609s1994 cou b 001 0 eng \036 \037a 93009047 \036 \037a0130305529\036 \037a(ocm)28339863\036 \037aDLC\037cDLC\037dKKU\036 \037aKKUJ\03600\037aQA76.73.C28\037bG73 1994\03600\037a005.13/3\037220\0361 \037aGraham, Paul.\03610\037aOn Lisp :\037badvanced techniques for common Lisp /\037cPaul Graham.\036 \037aEnglewood Cliffs, N.J. :\037bPrentice Hall,\037c1994.\036 \037a9410\036 \037axiii, 413 p. ;\037c23 cm.\036 \037a\"An Alan R. Apt book.\"\036 \037aIncludes bibliographical references and index.\036 0\037aCOMMON LISP (Computer program language)\036\037lUAHILL\036\035"; int marc_size = strlen(bin_marc); char out_rec[1000]; yaz_marc_t marc = yaz_marc_create(); WRBUF buf = wrbuf_alloc(); yaz_base64decode(base_enc, out_rec); YAZ_CHECK(strcmp(out_rec, bin_marc) == 0); yaz_marc_read_iso2709(marc, out_rec, marc_size); yaz_marc_write_marcxml(marc, buf); yaz_marc_destroy(marc); wrbuf_destroy(buf); } static int test_render(const char *type_spec, int is_marc, const char *input, const char *expected_output) { ODR odr = odr_createmem(ODR_ENCODE); const char *actual_output; int actual_len; int res = 0; WRBUF wrbuf = wrbuf_alloc(); Z_NamePlusRecord *npr = odr_malloc(odr, sizeof(*npr)); npr->which = Z_NamePlusRecord_databaseRecord; if (is_marc) npr->u.databaseRecord = z_ext_record_usmarc(odr, input, strlen(input)); else npr->u.databaseRecord = z_ext_record_xml(odr, input, strlen(input)); actual_output = yaz_record_render(npr, 0, wrbuf, type_spec, &actual_len); if (actual_output && expected_output) { if (strlen(expected_output) == actual_len && !memcmp(expected_output, actual_output, actual_len)) res = 1; else { yaz_log(YLOG_LOG, "Got result"); yaz_log(YLOG_LOG, "%.*s", actual_len, actual_output); yaz_log(YLOG_LOG, "Expected result"); yaz_log(YLOG_LOG, "%s", expected_output); } } else if (!actual_output && !expected_output) res = 1; else if (!actual_output && expected_output) { yaz_log(YLOG_LOG, "Got null result, but expected"); yaz_log(YLOG_LOG, "%s", expected_output); } else { yaz_log(YLOG_LOG, "Got result, but expected no result"); yaz_log(YLOG_LOG, "%.*s", actual_len, actual_output); } wrbuf_destroy(wrbuf); odr_destroy(odr); return res; } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); test1(); test2(); #if YAZ_HAVE_XML2 YAZ_CHECK(test_render("xml", 0, "", "")); YAZ_CHECK(test_render( "xml", 1, "\x30\x30\x31\x33\x38\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x30\x37" "\x33\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x31\x30\x30\x30\x30\x31\x37\x30\x30\x30\x31\x37\x32\x34\x35\x30" "\x30\x33\x30\x30\x30\x30\x33\x34\x1E\x20\x20\x20\x31\x31\x32\x32" "\x34\x34\x36\x36\x20\x1E\x44\x4C\x43\x1E\x31\x30\x1F\x61\x4A\x61" "\x63\x6B\x20\x43\x6F\x6C\x6C\x69\x6E\x73\x1E\x31\x30\x1F\x61\x48" "\x6F\x77\x20\x74\x6F\x20\x70\x72\x6F\x67\x72\x61\x6D\x20\x61\x20" "\x63\x6F\x6D\x70\x75\x74\x65\x72\x1E\x1D", "\n" " 00138nam a22000738a 4500\n" " 11224466 \n" " DLC\n" " \n" " Jack Collins\n" " \n" " \n" " How to program a computer\n" " \n" "\n")); YAZ_CHECK(test_render("xml", 0, "", "")); YAZ_CHECK(test_render( "xml; base64=/my/text()", 0, "" "MDAxMzhuYW0gIDIyMDAwNzM4YSA0NTAwMDAxMDAxMzAwMDAwMDAzMDAwNDAwMDEzMTAwMDAxNzAw" "MDE3MjQ1MDAzMDAwMDM0HiAgIDExMjI0NDY2IB5ETEMeMTAfYUphY2sgQ29sbGlucx4xMB9hSG93" "IHRvIHByb2dyYW0gYSBjb21wdXRlch4d" "", "\n" "\n" " 00138nam a22000738a 4500\n" " 11224466 \n" " DLC\n" " \n" " Jack Collins\n" " \n" " \n" " How to program a computer\n" " \n" "\n")); YAZ_CHECK(test_render( "xml; charset=utf-8; base64=/my/text()", 0, "" "MDAxMzhuYW0gIDIyMDAwNzM4YSA0NTAwMDAxMDAxMzAwMDAwMDAzMDAwNDAwMDEzMTAwMDAxNzAw" "MDE3MjQ1MDAzMDAwMDM0HiAgIDExMjI0NDY2IB5ETEMeMTAfYUphY2sgQ29sbGlucx4xMB9hSG93" "IHRvIHByb2dyYW0gYSBjb21wdXRlch4d" "", "\n" "\n" " 00138nam a22000738a 4500\n" " 11224466 \n" " DLC\n" " \n" " Jack Collins\n" " \n" " \n" " How to program a computer\n" " \n" "\n")); YAZ_CHECK(test_render( "xml; base64=/my/text();charset=utf-8", 0, "" "MDAxMzhuYW0gIDIyMDAwNzM4YSA0NTAwMDAxMDAxMzAwMDAwMDAzMDAwNDAwMDEzMTAwMDAxNzAw" "MDE3MjQ1MDAzMDAwMDM0HiAgIDExMjI0NDY2IB5ETEMeMTAfYUphY2sgQ29sbGlucx4xMB9hSG93" "IHRvIHByb2dyYW0gYSBjb21wdXRlch4d" "", "\n" "\n" " 00138nam a22000738a 4500\n" " 11224466 \n" " DLC\n" " \n" " Jack Collins\n" " \n" " \n" " How to program a computer\n" " \n" "\n")); YAZ_CHECK(test_render( "txml;base64=/my/text();charset=utf-8", 0, "" "MDAxMzhuYW0gIDIyMDAwNzM4YSA0NTAwMDAxMDAxMzAwMDAwMDAzMDAwNDAwMDEzMTAwMDAxNzAw" "MDE3MjQ1MDAzMDAwMDM0HiAgIDExMjI0NDY2IB5ETEMeMTAfYUphY2sgQ29sbGlucx4xMB9hSG93" "IHRvIHByb2dyYW0gYSBjb21wdXRlch4d" "", "\n" "\n" " 00138nam a22000738a 4500\n" " 11224466 \n" " DLC\n" " \n" " Jack Collins\n" " \n" " \n" " How to program a computer\n" " \n" "\n")); YAZ_CHECK(test_render( "xml; charset=utf-8; base64=/my/text()", 0, "" "MDA0OTJuYW0gYTIyMDAxNDU1YSA0NTAwMDAxMDAxMDAwMDAwMDA1MDAxNzAwMDEwMDA4MDA0MTAw" "MDI3MTAwMDA1MjAwMDY4MjQ1MDEwNDAwMTIwMjUwMDAxNDAwMjI0MjYwMDAyMzAwMjM4MzAwMDAx" "NjAwMjYxNjUwMDA1MTAwMjc3NjUwMDAxODAwMzI4HjAwMDI3NzQ4NR4yMDA1MTAyNjExMTQzNi4w" "HjA1MDQxM3MxODk0ICAgIGdyICAgICAgICAgICAgMDAwIDAgZ3JlIGQeMSAfYc6czrHPgc6/z43O" "tM63z4IsIM6az4nOvc+Dz4TOsc69z4TOr869zr/PgiDOmc+JHjEwH2HOlc67zrvOt869zrnOus+M" "zr0gzrrPgc+Fz4DPhM6/zrPPgc6xz4bOuc66z4zOvSDOu861zr7Ouc66z4zOvSAvH2POms+Jzr3P" "g8+ELiDOmS4gzpzOsc+Bzr/Pjc60zrfPgi4eICAyzrcgzrXOus60Lh4gIB9hzpHOuM6uzr3OsSwf" "YzE4OTQuHiAgH2EyNDggz4POtc67Lh4gMB9hR3JlZWsgbGFuZ3VhZ2UsIE1vZGVybh94RGlhbGVj" "dHMfdkRpY3Rpb25hcmllcx4gMB9hQ3J5cHRvZ3JhcGh5Lh4d" "", "\n" "\n" " 00492nam a22001455a 4500\n" " 000277485\n" " 20051026111436.0\n" " 050413s1894 gr 000 0 gre d\n" " \n" " Μαρούδης, Κωνσταντίνος Ιω\n" " \n" " \n" " Ελληνικόν κρυπτογραφικόν λεξικόν /\n" " Κωνστ. Ι. Μαρούδης.\n" " \n" " \n" " εκδ.\n" " \n" " \n" " Αθήνα,\n" " 1894.\n" " \n" " \n" " 248 σελ.\n" " \n" " \n" " Greek language, Modern\n" " Dialects\n" " Dictionaries\n" " \n" " \n" " Cryptography.\n" " \n" "\n")); #endif YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/cql2pqfsample0000664000175000017500000000142414152153071013003 00000000000000# CQL queries for testing. # Read by test_cql2pqf.sh # No blank lines! # # Simple Term a a b "a b" # Index Relation Term title = fish dc.title = fish # Simple Boolean cat or dog cat and fish cat not frog (cat not frog) "cat" not "fish food" xml and "prox///" fred and any ((fred or all)) a or b and c not d # Masking/Truncation *a a* *a* a*a ?a a? ?a? a?a a#a? *a# a#a* a*3 # Escape sequences (sh reads one slash, though) a*\\3 \\*a# \\*a*b# \\" @and a^ ^a ^a^ \\^ ^a\\^ # relation modifiers dc.title=/unmasked a*b dc.title=/masked a*b dc.title=/regexp a.*b dc.title=/dc.language=dk a dc.title=/dc.language=dk/regexp a.*b dc.title=/language=dk/regexp a.*b # proximity a prox b a prox/unordered b a prox/ordered b a prox/distance < 3 b a prox/distance<3/ordered b a prox/unit=paragraph b yaz-5.31.1/test/xml2marc0.xml.marc0000664000175000017500000000007614157607106013570 0000000000000000062cgm a2200037Ia 4500092002400000 áaDVD CHI 791.43bQIyaz-5.31.1/test/test_retrieval.c0000664000175000017500000003505014152153071013510 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #if YAZ_HAVE_XSLT #include #include yaz_retrieval_t conv_configure(const char *xmlstring, WRBUF w) { xmlDocPtr doc = xmlParseMemory(xmlstring, strlen(xmlstring)); if (!doc) { wrbuf_printf(w, "xmlParseMemory"); return 0; } else { xmlNodePtr ptr = xmlDocGetRootElement(doc); yaz_retrieval_t p = yaz_retrieval_create(); if (p) { const char *srcdir = getenv("srcdir"); if (srcdir) yaz_retrieval_set_path(p, srcdir); } if (!ptr) { wrbuf_printf(w, "xmlDocGetRootElement"); yaz_retrieval_destroy(p); p = 0; } else if (!p) { wrbuf_printf(w, "yaz_retrieval_create"); } else { int r = yaz_retrieval_configure(p, ptr); if (r) { wrbuf_puts(w, yaz_retrieval_get_error(p)); yaz_retrieval_destroy(p); p = 0; } } xmlFreeDoc(doc); return p; } } int conv_configure_test(const char *xmlstring, const char *expect_error, yaz_retrieval_t *pt) { WRBUF w = wrbuf_alloc(); int ret; yaz_retrieval_t p = conv_configure(xmlstring, w); if (!p) { if (expect_error && !strcmp(wrbuf_cstr(w), expect_error)) ret = 1; else { ret = 0; printf("%s\n", wrbuf_cstr(w)); } } else { if (expect_error) { ret = 0; yaz_retrieval_destroy(p); } else { if (pt) *pt = p; else yaz_retrieval_destroy(p); ret = 1; } } wrbuf_destroy(w); return ret; } static void tst_configure(void) { YAZ_CHECK(conv_configure_test( "", "Expected element ", 0)); YAZ_CHECK(conv_configure_test( "", 0, 0)); YAZ_CHECK(conv_configure_test( "", "Element :" " expected element , got ", 0)); YAZ_CHECK(conv_configure_test("" "", "Missing 'syntax' attribute", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "", "Element : expected attributes " "'syntax', identifier' or 'name', got " "'unknown'", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "", "Element : unknown attribute " "value syntax='unknown_synt'", 0)); YAZ_CHECK(conv_configure_test( "" "" "", 0, 0)); YAZ_CHECK(conv_configure_test( "" "" "", 0, 0)); YAZ_CHECK(conv_configure_test( "" "" "", 0, 0)); YAZ_CHECK(conv_configure_test( "" "" "" "" "", "Element : expected zero or one element " ", got ", 0)); YAZ_CHECK(conv_configure_test( "" "" " " "" "", "Element : expected attributes 'syntax' or 'name," " got 'schema'", 0)); YAZ_CHECK(conv_configure_test( "" "" " " "" "", 0, 0)); YAZ_CHECK(conv_configure_test( "" "" " " "" "", "Element : " "attribute 'syntax' has invalid value " "'unknown'", 0)); YAZ_CHECK(conv_configure_test( "" "" " " "" "", "Element : expected attributes " "'syntax' or 'name, got 'unknown'", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "" "" "" "" "", "Element : Unsupported character" " set mapping defined by attribute values", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "" "" "" "" "", "Element : Unsupported" " input format defined by attribute value", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "" "" "" "" "" "", "Element : " "only one allowed", 0)); YAZ_CHECK(conv_configure_test( "" "" "" "" "" "" "" "", 0, 0)); yaz_retrieval_t p = 0; YAZ_CHECK(conv_configure_test( "" "" "" "" "" " " " " " " "" "" " " " " " " "" "" " " " " " " " " "" "", 0, &p)); const char *match_schema = 0; Odr_oid *match_syntax = 0; const char *backend_schema = 0; Odr_oid *backend_syntax = 0; int r; r = yaz_retrieval_request(p, "e", yaz_oid_recsyn_usmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r != 0); r = yaz_retrieval_request(p, "F", yaz_oid_recsyn_usmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "F")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, "f", yaz_oid_recsyn_usmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "f")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, 0, yaz_oid_recsyn_usmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema == 0); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, 0, yaz_oid_recsyn_usmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema == 0); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, 0, yaz_oid_recsyn_xml, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "F")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, "f1:9988", yaz_oid_recsyn_danmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "F:9988")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, "F1:9988", yaz_oid_recsyn_danmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "F:9988")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); r = yaz_retrieval_request(p, 0, yaz_oid_recsyn_danmarc, &match_schema, &match_syntax, 0, &backend_schema, &backend_syntax); YAZ_CHECK(r == 0); YAZ_CHECK(backend_schema && !strcmp(backend_schema, "F")); YAZ_CHECK(!oid_oidcmp(backend_syntax, yaz_oid_recsyn_usmarc)); yaz_retrieval_destroy(p); } #endif int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); yaz_log_xml_errors(0, 0 /* disable it */); #if YAZ_HAVE_XSLT tst_configure(); #endif YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc3.xml0000664000175000017500000001031214157607106012041 00000000000000 00914naa a2200337 450 a00001508 a i n 1991 xx nor a 9 a xx nor eng 06 Byfornyelse ved Ibsen-Ringen farvefoto plan snit Byggekunst 1991 1/2 41-45 byfornyelse sanering Norge Oslo Telje Torp Aasen Arkitektkontor Kristian Augustsgate 7B Eng, Dagfin anlund, Tom Kristian Augustsgate Pilestredet 19 a ITM ARK50 0000145 1991 1/2 41-45 20020111 ARK01 2002 20020111 ARK01 2116 20021002 ARK01 1000 ICLLOAD 00 20021122 ARK01 1948 20030618 ARK01 1330 a00001508 yaz-5.31.1/test/test_match_glob.c0000664000175000017500000000362714152153071013617 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include void tst1(void) { YAZ_CHECK_EQ(yaz_match_glob("a", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("", ""), 1); YAZ_CHECK_EQ(yaz_match_glob("a", ""), 0); YAZ_CHECK_EQ(yaz_match_glob("", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("a", "b"), 0); YAZ_CHECK_EQ(yaz_match_glob("b", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("?", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("a", "?"), 0); YAZ_CHECK_EQ(yaz_match_glob("?", "aa"), 0); YAZ_CHECK_EQ(yaz_match_glob("?a", "aa"), 1); YAZ_CHECK_EQ(yaz_match_glob("a?", "aa"), 1); YAZ_CHECK_EQ(yaz_match_glob("??", "aa"), 1); YAZ_CHECK_EQ(yaz_match_glob("*", ""), 1); YAZ_CHECK_EQ(yaz_match_glob("*", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("**", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("*a", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("a*", "a"), 1); YAZ_CHECK_EQ(yaz_match_glob("b*", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("*b", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("**b", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("*b*", "a"), 0); YAZ_CHECK_EQ(yaz_match_glob("*:w", "title:w"), 1); YAZ_CHECK_EQ(yaz_match_glob("title:w", "title:w"), 1); YAZ_CHECK_EQ(yaz_match_glob("title:*", "title:w"), 1); YAZ_CHECK_EQ(yaz_match_glob2("*:W", "title:w", 0), 0); YAZ_CHECK_EQ(yaz_match_glob2("title:w", "title:W", 0), 0); YAZ_CHECK_EQ(yaz_match_glob2("*:W", "title:w", 1), 1); YAZ_CHECK_EQ(yaz_match_glob2("title:w", "title:W", 1), 1); } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); tst1(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marc7.xml0000664000175000017500000001243314157607106012053 00000000000000 03114cam a2200349 i 4500 77123332 DLC 20051218154744.0 981008b2001 ilu 000 0 eng 57779 90490 93202 DLC DLC 0 und orignew u ncip 19 y-gencatlg 77123332 Voyager Diacritic test -- New input 001 (SBIE). ny : ny, 2001. 100 p. ; 12 cm. New copy imported from file (8/12/99). VOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (â„—); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡). VOYAGER COLUMN 1: Script L (â„“); Polish L (Å); Scandanavian O (Ø); D with Crossbar (Ä); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Å’); Miagkii Znak (ʹ); Dot at Midline (·). VOYAGER COLUMN 2: Musical Flat (â™­); Patent Mark (®); Plus or Minus (±); O Hook (Æ ); U Hook (Ư); Alif (ʼ); alpha α; Ayn (Ê»); Polish l (Å‚). VOYAGER COLUMN 3: Scandanavian o (ø); d with crossbar (Ä‘); Icelandic Thorn (þ); ae Digraph (æ); oe Digraph (Å“); Tverdii Znak (ʺ); Turkish i (ı); British Pound (£); eth (ð). VOYAGER COLUMN 4: Dagger (DO NOT USE); o Hook (Æ¡); u Hook (ư); Beta β; Gamma γ; Superscript 0 (â°); Superscript 1 (¹); Superscript 2 (²); Superscript 3 (³). VOYAGER COLUMN 5: Superscript 4 (â´); Superscript 5 (âµ); Superscript 6 (â¶); Superscript 7 (â·); Superscript 8 (â¸); Superscript 9 (â¹); Superscript + (âº); Superscript - (â»); Superscript ( (â½). VOYAGER COLUMN 6: Superscript ) (â¾); Subscript 0 (â‚€); Subscript 1 (â‚); Subscript 2 (â‚‚); Subscript 3 (₃); Subscript 4 (â‚„); Subscript 5 (â‚…); Subscript 6 (₆); Subscript 7 (₇). VOYAGER COLUMN 7: Subscript 8 (₈); Subscript 9 (₉); Subscript + (₊); Subscript - (â‚‹); Subscript ( (â‚); Subscript ) (₎); Pseudo Question Mark (ỏ); Grave (oÌ€); Acute (oÌ). VOYAGER COLUMN 8: Circumflex (oÌ‚); Tilde (õ); Macron (oÌ„); Breve (ŏ); Superior Dot (ȯ); Umlaut (ö); Hacek (oÌŒ); Circle Above (oÌŠ); Ligature left (oÍ¡). VOYAGER COLUMN 9: Ligature right (o) ; High Comma off center (oÌ•); Double Acute (oÌ‹); Candrabindu (oÌ); Cedilla (o̧); Right Hook (ǫ); Dot Below (oÌ£); Double Dot Below (o̤); Circle Below (oÌ¥). VOYAGER COLUMN 10: Double Underscore (o̳); Underscore (o̲); Left Hook (o̦); Right Cedilla (oÌœ); Upadhmaniya (oÌ®); Double Tilde 1st half (oÍ ); Double Tilde 2nd half (o) ; High Comma centered (oÌ“). VOYAGER PC Keyboard: Spacing Circumflex (^); Spacing Underscore (_); Spacing Grave (`); Open Curly Bracket ({); Close Curly Bracket (}); Spacing Tilde (~). Standard PC Keyboard: 1234567890-= !@#$%^&*()_+ qwertyuiop[]\ QWERTYUIOP{}| asdfghjkl;' ASDFGHJKL:" zxcvbnm,./ ZXCVBNM<>? yaz-5.31.1/test/test_xml_include.c0000664000175000017500000000765314152153071014026 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include static void tst_xml_include1(void) { #if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; const char *xml_in = ""; if (srcdir == 0) srcdir = "."; doc = xmlParseMemory(xml_in, strlen(xml_in)); YAZ_CHECK(doc); if (!doc) return; node = xmlDocGetRootElement(doc); YAZ_CHECK(node); if (node) { const char *expect = "\n" "" "some" "\n"; xmlChar *xml_out; int len_out; int ret = yaz_xml_include_simple(node, srcdir); YAZ_CHECK(ret == 0); xmlDocDumpMemory(doc, &xml_out, &len_out); YAZ_CHECK(xml_out && len_out > 0); if (xml_out && len_out > 0) { YAZ_CHECK(strlen(expect) == len_out); if (strlen(expect) == len_out) { YAZ_CHECK(memcmp(expect, xml_out, len_out) == 0); } else { fwrite(xml_out, 1, len_out, stdout); fflush(stdout); } xmlFree(xml_out); } } xmlFreeDoc(doc); #endif } static void tst_xml_include2(void) { #if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; const char *xml_in = ""; if (srcdir == 0) srcdir = "."; doc = xmlParseMemory(xml_in, strlen(xml_in)); YAZ_CHECK(doc); if (!doc) return; node = xmlDocGetRootElement(doc); YAZ_CHECK(node); if (node) { int ret = yaz_xml_include_glob(node, srcdir, YAZ_FILE_GLOB_FAIL_NOTEXIST); YAZ_CHECK_EQ(ret, -1); } if (node) { int ret = yaz_xml_include_glob(node, srcdir, 0); YAZ_CHECK_EQ(ret, 0); } xmlFreeDoc(doc); #endif } static void tst_xml_include3(void) { #if YAZ_HAVE_XML2 const char *srcdir = getenv("srcdir"); xmlDocPtr doc; xmlNodePtr node; const char *xml_in = ""; if (srcdir == 0) srcdir = "."; doc = xmlParseMemory(xml_in, strlen(xml_in)); YAZ_CHECK(doc); if (!doc) return; node = xmlDocGetRootElement(doc); YAZ_CHECK(node); if (node) { const char *expect = "\n" "" "\n"; xmlChar *xml_out; int len_out; int ret = yaz_xml_include_simple(node, srcdir); YAZ_CHECK(ret == 0); xmlDocDumpMemory(doc, &xml_out, &len_out); YAZ_CHECK(xml_out && len_out > 0); if (xml_out && len_out > 0) { YAZ_CHECK(strlen(expect) == len_out); if (strlen(expect) == len_out) { YAZ_CHECK(memcmp(expect, xml_out, len_out) == 0); } else { fwrite(xml_out, 1, len_out, stdout); fflush(stdout); } xmlFree(xml_out); } } xmlFreeDoc(doc); #endif } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst_xml_include1(); tst_xml_include2(); tst_xml_include3(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/tstodr.asn0000664000175000017500000000064514152153071012334 00000000000000-- Small ASN.1 spec for tstodr test test_odrcodec {test_odrcodec} DEFINITIONS ::= BEGIN MySequence ::= SEQUENCE { first [1] IMPLICIT INTEGER, second [2] IMPLICIT OCTET STRING, third [3] IMPLICIT BOOLEAN, fourth [4] IMPLICIT NULL, fifth [5] IMPLICIT INTEGER { enum1(0), enum2(1) }, myoid [6] IMPLICIT OBJECT IDENTIFIER } END yaz-5.31.1/test/marccol1.u8.marc0000664000175000017500000005266714157607106013235 0000000000000001087cam a2200277 a 4500001002000000003000400020005001700024008004100041010002400082035002700106040001800133043001200151050002500163066000700188245002600195260006800221300003600289500012800325505009200453651003000545651004900575880003000624880007000654880003300724880005200757 70813420 /AJ/r86DLC19871006084439.0860826m19689999ja ab l00000 jpn  a 70813420 /AJ/r86 a(CStRLIN)DCLP86-B14482 cNNCdNNCdDLC aa-ja---0 aDS897.H325bH36 1968 c$1006880-01aHanda shishi.0 6880-02a[Handa-shi] :bHanda-shi,cShoÌ„wa 43-<59> [1968-<1984> av. <1-5, 7-8> :bill. ;c22 cm. aVol. 3 accompanied by Handa-shi chiiki chishitsuzu; v. 8, Handa-shi Otsukawa Asaiyama dashi kumiage zumen (1 folded) leaf).1 a[1]-[4] ShiryoÌ„ hen -- [5] Honbun hen -- [7] Bunkazai hen -- [8] Sairei minzoku hen 06880-03aHanda-shi (Japan) 06880-04aHanda-shi (Japan)xHistoryxSources.006245-01/$1aåŠç”° 市誌.0 6260-02/$1a[åŠç”°å¸‚] :båŠç”°å¸‚,c昭和 43-<59> [1968-<1984> 46651-03/$1aåŠç”°å¸‚ (Japan) 46651-04/$1aåŠç”°å¸‚ (Japan)xHistoryxSources.00847nam a2200229 a 4500001002100000003000400021005001700025008004100042010002500083035002600108050001900134066000700153245002400160260012100184300004600305500001700351650003900368710004400407880002300451880010600474880003700580 75840215 /ACN/r86DLC19870219000000.0860606m19009999ch 00001 chi  a 75840215 /ACN/r86 a(CStRLIN)DCLP86-B97420 aPL3031.T32bL5 c$1006880-01aLi tsÊ»ung.0 6880-02a[Kao-hsiung shih] :bWen hua yüan :bFa hsing so Sheng su chÊ»u pan she,c av. <4, pts 1-2; v. 5> in <3 > ;c22 cm. aCover title. 0aDidactic fiction, ChinesezTaiwan.206880-03aKao-hsiung shih wen hua yüan.006245-01/$1aæ­·å¢.0 6260-02/$1a[高雄市] :b文化院 :bç™¼è¡Œæ‰€ã€€è–æ›¸ã€€å‡ºç‰ˆç¤¾,c<民國63-66 [1974-1977 >206710-03/$1a高雄市 文化院.01020nam a2200277 a 4500001001700000003000400017005001700021008004100038010002100079035002600100050002000126066000700146082001600153245003700169250002200206260011600228300004600344440003200390504003000422650004700452650004600499880004100545880002400586880010100610880003100711 84226659 /ACNDLC19870219000000.0860227s1983 cc ac b 00000dchi  a 84226659 /ACN a(CStRLIN)DCLP86-B34000 aNX90b.I18 1983 c$10 a174/.97219006880-01aI shu chia yü te yü. 6880-02aTi 1 pan.0 6880-03aChÊ»eng-tu :bSsu-chÊ»uan jen min chÊ»u pan she :bSsu-chÊ»uan sheng hsin hua shu tien fa hsing,c1983. a2, 3, 4, 244 p. :bill., ports. ;c19 cm. 06880-04aTe yü tsÊ»ung shu aBibliography: p. 239-240. 0aArtistsxAnecdotes, facetiae, satire, etc. 0aEthicsxAnecdotes, facetiae, satire, etc.006245-01/$1a艺术家 与 德育. 6250-02/$1a第1版.0 6260-03/$1aæˆéƒ½ :bå››å·ã€€äººæ°‘ 出版社 :bå››å·çœã€€æ–°åŽã€€ä¹¦åº— å‘行,c1983. 06440-04/$1a德育 丛书01336cam a2200349 a 4500001001300000003000400013005001700017008004100034010001700075020002000092035002600112040003800138043001200176050002700188066000700215082002000222245005600242250002200298260010400320300003000424500006000454504004100514610004900555710004200604740002900646880005700675880002400732880010100756880004700857880004400904987003800948 84231405 DLC20001214140017.0841203m19849999cc b 000 0 chi  a 84231405  cRMBY0.38 (v. 1) a(CStRLIN)DCLP84-B5184 aDLC-RcDLC-RdDLC-RdCStRLINdDLC aa-cc---00aJQ1519.A5bC47529 1984 c$100a324.251/075219006880-01aZheng dang xue xi cai liao /cben she bian. 6880-02aDi 1 ban. 6880-03aShenyang :bLiaoning ren min chu ban she :bLiaoning sheng xin hua shu dian fa xing,c1984- av. <1, 3-5, > ;c19 cm. aColophon title also in pinyin: Zhengdang xuexi cailiao. aIncludes bibliographical references.206880-04aZhongguo gong chan dangxParty work.2 6880-05aLiaoning ren min chu ban she.0 aZhengdang xuexi cailiao.006245-01/$1aæ•´å…šã€€å­¦ä¹ ã€€ææ–™ /c本社 编. 6250-02/$1a第1版. 6260-03/$1a沈阳 :bè¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ :bè¾½å®çœã€€æ–°åŽã€€ä¹¦åº— å±è¡Œ,c1984-246610-04/$1a中国 共产党xParty work.2 6710-05/$1aè¾½å®ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾. aPINYINbCStRLINc20001212dce1.000916nam a2200241 a 4500001001700000003000400017005001700021008004100038010002100079035002600100043001200126050002300138066000700161082002200168245008000190250002400270260011200294300003200406650003400438880007400472880002400546880010400570 85174785 /ACNDLC19870219000000.0860312s1983 cc a 00000 chi  a 85174785 /ACN a(CStRLIN)DCLP86-B4377 aa-cc-hp0 aGR336.H67bH6 1983 c$10 a398.2/32/5115219006880-01aHo-pei min chien ku shih hsüan /c[chÊ»a tÊ»u Chang Wen-hsüeh]. 6880-02aHsin 1 pan.0 6880-03aShih-chia-chuang :bHua shan wen i chÊ»u pan she :bHo-pei sheng hsin hua shu tien fa hsing,c1983. a2, 255 p. :bill. ;c19 cm. 0aTaleszChinazHopeh Province.006245-01/$1a河北 氱间 故事 选 /c[æ’图 张 文学]. 6250-02/$1aæ–°1版.0 6260-03/$1a石家庄 :b花山 文艺 出版社 :b河北çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ,c1983.01171nam a2200325 a 4500001001700000003000400017005001700021008004100038010002100079020001300100035002600113050002100139066000700160082001200167100003100179245006500210250002200275260010500297300002100402440004900423500005100472504002900523650001600552740002300568880002900591880005700620880002400677880010400701880004000805 86116930 /ACNDLC19870219000000.0860430s1984 cc b 00010 chi  a 86116930 /ACN cRMBY1.00 a(CStRLIN)DCLP86-B71900 aPN45b.C436 1984 c$10 a809219106880-01aChang, Hsin-chien.106880-02aWen hsüeh chi chÊ»u chih shih /cChang Hsin-chien. 6880-03aTi 1 pan.0 6880-04aHo-fei shih :bAn-hui wen i chÊ»u pan she :bAn-hui sheng hsin hua shu tien fa hsing,c1984. a196 p. ;c19 cm. 06880-05aChÊ»ing nien wen hsüeh tsÊ»ung shu aCover title also in pinyin: Wenxuejichuzhishi. aIncludes bibliographies. 0aLiterature.01aWenxuejichuzhishi.106100-01/$1a章 新建.106245-02/$1a文学 基础 知识 /c章 新建. 6250-03/$1a第1版.0 6260-04/$1aåˆè‚¥å¸‚ :b安徽 文艺 出版社 :b安徽çœã€€æ–°è¯ã€€æ›¸åº— å‘行,c1984. 06440-05/$1aé’年 文学 丛书01437nam a2200301 a 4500001001700000003000400017005001700021008004100038010002100079020001300100035002600113043001200139050002400151066000700175082002200182245019000204250002200394260011900416300003800535504002600573650004700599710006500646740006800711880015700779880002400936880011000960880006501070 86117080 /ACNDLC19870219000000.0860502s1985 cc ab b 00000 chi  a 86117080 /ACN cRMBY2.30 a(CStRLIN)DCLP86-B7475 aa-cc---0 aQE537.2.C6bS5 1985 c$10 a551.2/2/09514219006880-01aShan Kan Ning ChÊ»ing ssu sheng (chÊ»ü) chÊ»iang ti chen mu lu :bkung yüan [chÊ»ien] 1177 nien-kung yüan 1982 nien /cKuo chia ti chen chü Lan-chou ti chen yen chiu so. 6880-02aTi 1 pan.0 6880-03aHsi-an :bShan-hsi kÊ»o hsüeh chi shu chÊ»u pan she :bShan-hsi sheng hsin hua shu tien fa hsing,c1985. a2, 170 p. :bill., maps ;c26 cm. aBibliography: p. 170. 0aEarthquakeszChina, NorthwestxChronology.206880-04aKuo chia ti chen chü Lan-chou ti chen yen chiu so.01aShan Kan Ning ChÊ»ing 4 sheng (chÊ»ü) chÊ»iang ti chen mu lu.006245-01/$1a陕甘å®é’ 四çœ(区) 强 地震 目录 :b公元[å‰] 1177å¹´ï¼å…¬å…ƒ 1982å¹´ /c国家 地震局 兰州 地震 研究所. 6250-02/$1a第1版.0 6260-03/$1a西安 :b陕西 秱学 技术 出版社 :b陕西çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ,c1985.206710-04/$1a国家 地震局 兰州 地震 研究所.01289cam a2200337 a 4500001002100000003000400021005001700025008004100042010002500083020001400108035002600122041001100148050002200159066000700181082002000188100003300208245014100241250002300382260007400405300002100479500002000500650004000520650004500560700003100605740004400636880002900680880012500709880002300834880006500857880002900922 86118651 /ACN/r88DLC19880830123434.0860218s1985 ch d 00110 chi  a 86118651 /ACN/r88 cNT$260.00 a(CStRLIN)DCLP86-B26690 achieng0 aSD126b.C473 1985 c$10 a634.9/03/21219106880-01aChÊ»en, Ming-tsÊ»un.106880-02aSen lin hsüeh ming tzÊ»u tzÊ»u tien =bEnglish Chinese dictionary of forestry /cChÊ»en Ming-tsÊ»un, Huang Chin-hsien ho pien. 6880-03aChÊ»u pan.0 6880-04aTÊ»ai-pei shih :bMing shan chÊ»u pan she,cmin kuo 74 [1985] a274 p. ;c20 cm. aIncludes index. 0aForests and forestryxDictionaries. 0aEnglish languagexDictionariesxChinese.106880-05aHuang, Chin-hsien.01aEnglish Chinese dictionary of forestry.106100-01/$1a陳 銘æ±.106245-02/$1a森林學 å詞 辭典 =bEnglish Chinese dictionary of forestry /c陳 銘æ±, 黃 釱仙 åˆç·¨. 6250-03/$1aåˆç‰ˆ.0 6260-04/$1aå°åŒ—市 :bå山 出版社,c氱國74 [1985]106700-05/$1a黃 釱仙.00995nam a2200289 a 4500001001700000003000400017005001700021008004100038010002100079035002600100050002400126066000700150082001700157100003100174245005700205250002300262260007500285300002100360440005200381500001900433650003000452880003300482880005700515880002300572880006500595880004500660 86118679 /ACNDLC19870219000000.0860218s1985 ch 00011 chi  a 86118679 /ACN a(CStRLIN)DCLP86-B26740 aPL2865.H3bH84 1985 c$10 a895.1/35219106880-01aHuang, Hai,d1943-106880-02aHsing hsing ti hsiang lien /cHuang Hai chu. 6880-03aChÊ»u pan.0 6880-04aTÊ»ai-pei shih :bHuang kuan chÊ»u pan she,cmin kuo 74 [1985] a297 p. ;c19 cm. 06880-05aHuang kuan tsÊ»ung shu ;vti 1143 chung aShort stories. 0aScience fiction, Chinese.106100-01/$1a黃 海,d1943-106245-02/$1a星星 的 項練 /c黃 海 著. 6250-03/$1aåˆç‰ˆ.0 6260-04/$1aå°åŒ—市 :b皇冠 出版社,c民國74 [1985] 06440-05/$1açš‡å† ã€€å¢æ›¸ ;v第1143種01365cam a2200361 a 4500001001300000003000400013005001700017008004100034010001700075020001300092035002600105040004000131043001200171050002300183066000700206082001700213245010300230250002200333260007900355300005400434500005400488504004100542651004500583700002600628700002400654740002200678880010600700880002400806880008000830880002900910880002600939987003800965 86119726 DLC20010412140706.0860403s1985 cc af b 00000 chi  a 86119726  cRMBY3.90 a(CStRLIN)DCLP86-B5782 aDLC-RcDLC-RdDLC-RdCStRLINdDLC-R aa-cc---00aDS751b.C4945 1985 c$100a951/.024219006880-01aJian ming Song shi /cZhou Baozhu, Chen Zhen zhu bian ; Zhou Baozhu ... [et al.] bian xie. 6880-02aDi 1 ban. 6880-03aBeijing :bRen min chu ban she :bXin hua shu dian fa xing,c1985. a4, 5, 603 p., [12] p. of plates :bill. ;c21 cm. aColophon title also in pinyin : Jianming Songshi. aIncludes bibliographical references. 0aChinaxHistoryySong dynasty, 960-1279.1 6880-04aZhou, Baozhu.1 6880-05aChen, Zhen.0 aJianming Songshi.006245-01/$1aç°¡æ˜Žã€€å®‹ã€€å² /c周 å®ç , 陈 振 主编 ; 周 å®ç  ... [et al.] 编写. 6250-02/$1a第1版. 6260-03/$1a北京 :b人民 出版社 :bæ–°è¯ã€€æ›¸åº— å‘行,c1985.1 6700-04/$1a周 å®ç .1 6700-05/$1a陈 振. aPINYINbCStRLINc20001214dce1.001069nam a2200289 a 4500001001700000003000400017005001700021008004100038010002100079020001300100035002600113043001200139050002200151066000700173082002000180100002800200245006400228250002200292260011800314300002500432504004100457650005700498880002900555880006500584880002400649880010600673 86122256 /ACNDLC19870219000000.0860303s1984 cc b 00010 chi  a 86122256 /ACN cRMBY2.80 a(CStRLIN)DCLP86-B3622 aa-cc---0 aPL2333b.L63 1984 c$10 a895.1/15/09219106880-01aLo, Han-chÊ»ao.106880-02aChung-kuo hsien tai shih ko lun /c[Lo Han-chÊ»ao]. 6880-03aTi 1 pan.0 6880-04a[Nan-ching shih] :bChiang-su jen min chÊ»u pan she :bChiang-su sheng hsin hua shu tien fa hsing,c1984. a11, 411 p. ;c20 cm. aIncludes bibliographical references. 0aChinese poetryy20th centuryxHistory and criticism.106100-01/$1a骆 寒超.106245-02/$1a中国 现代 诗歌 论 /c[骆 寒超]. 6250-03/$1a第1版.0 6260-04/$1a[å—京市] :b江è‹ã€€äººæ°±ã€€å‡ºç‰ˆç¤¾ :b江è‹çœã€€æ–°è¯ã€€æ›¸åº— å±è¡Œ,c1984.01194nam a2200325 a 4500001001700000003000400017005001700021008004100038010002100079020001300100035002600113043001200139050002300151066000700174082001500181100002300196245005300219250002200272260011900294300002400413440004700437650003300484650004400517651005000561880002600611880005700637880002400694880010700718880004300825 86124008 /ACNDLC19870219000000.0860417s1985 cc j 00010 chi  a 86124008 /ACN cRMBY0.61 a(CStRLIN)DCLP86-B6501 aa-cc---0 aDS731.U4bH75 1985 c$10 a951/.6219106880-01aHsin, She.106880-02aTsai Wei-wu-erh chih hsiang /cHsin She. 6880-03aTi 1 pan.0 6880-04aWu-lu-mu-chÊ»i shih :bHsin-chiang jen min chÊ»u pan she :bHsin-chiang hsin hua shu tien fa hsing,c1985. a2, 178 p. ;c19 cm. 06880-05aTsu kuo ta chia tÊ»ing tsÊ»ung shu 0aUigursxJuvenile literature. 0aEthnologyzChinaxJuvenile literatture. 0aChinaxEthnic relationsxJuvenile literature.106100-01/$1a辛 涉.106245-02/$1a在 维å¾å°” 之 乡 /c辛 涉. 6250-03/$1a第1版.0 6260-04/$1aä¹Œé²æœ¨é½å¸‚ :b新疆 人民 出版社 :b新疆 新è¯ã€€æ›¸åº— å‘行,c1985. 06440-05/$1a祖国 大家庭 丛书01192cam a2200313 a 4500001001300000003000400013005001700017008004100034010001700075020001300092035002700105040003100132050002400163066000700187082001700194100003600211245006400247250003000311260010700341300002400448440004900472500001900521880003900540880006900579880003300648880011000681880004900791987003800840 86124229 DLC20001214140017.0860703s1985 cc 000 1 chi  a 86124229  cRMBY1.05 a(CStRLIN)DCLP86-B11515 aDLC-RcDLC-RdCStRLINdDLC00aPL2724.H37bH7 1985 c$100a895.1/342191 6880-01aShen, Qifeng,db. 1741.106880-02aXie duo /cShen Qifeng zhu ; Qiao Yuzhou jiao dian. 6880-03aBeijing di 1 ban. 6880-04aBeijing :bRen min wen xue chu ban she :bXin hua shu dian Beijing fa xing suo fa xing,c1985. a7, 198 p. ;c19 cm. 06880-05aZhongguo xiao shuo shi liao cong shu aShort stories.1 6100-01/$1a沈 起凤,db. 1741.106245-02/$1aè°é“Ž /c沈 起凤 著 ; 乔 雨舟 校点. 6250-03/$1a北京 第1版. 6260-04/$1a北京 :b人民 文学 出版社 :bæ–°åŽã€€ä¹¦åº— 北京 å‘行所 å‘行,c1985. 06440-05/$1a中国 å°è¯´ã€€å²æ–™ã€€ä¸›ä¹¦ aPINYINbCStRLINc20001214dce1.001470cam a2200349 a 4500001002100000003000400021005001700025008004100042010002500083020001300108035002600121043001200147050002400159066000700183082002000190245013300210250002200343260011700365300002400482500006600506650002200572650002600594651003400620651003400654651003500688710006400723740003800787880010800825880002400933880011000957880005301067 86124531 /ACN/r93DLC19930723073715.0860319s1985 cc 00000 chi  a 86124531 /ACN/r93 cRMBY1.80 a(CStRLIN)DCLP86-B4826 aa-cc---0 aHX418.5b.C482 1985 c$10 a322/.2/0951219006880-01aChÊ»ing kung cheng chih lun hsün chiao tsÊ»ai /cChung kung Shang-hai shih wei hsüan chÊ»uan pu tsu chih pien hsieh. 6880-02aTi 1 pan. 6880-03aShang-hai :bShang-hai jen min chÊ»u pan she :bHsin hua shu tien Shang-hai fa hsing so fa hsing,c1985. a8, 479 p. ;c19 cm. aCover title also in pinyin: Qinggong zhengzhi lunxun jiaocai. 0aCommunismzChina. 0aWorking classzChina. 0aChinaxHistoryy19th century. 0aChinaxHistoryy20th century. 0aChinaxDescription and travel.206880-04aChung kung Shang-hai shih wei.bHsüan chÊ»uan pu.01aQinggong zhengzhi lunxun jiaocai.006245-01/$1aé’工 政治 轮训 教æ /c中共 上海 市委 宣传部 组织 编写. 6250-02/$1a第1版. 6260-03/$1a上海 :b上海 人氱 出版社 :bæ–°è¯ã€€æ›¸åº— 上海 å±è¡Œæ‰€ã€€å±è¡Œ,c1985.206710-04/$1a中共 上海 市委.b宣传部.01072nam a2200301 a 4500001001700000003000400017005001700021008004100038010002100079020001300100035002600113050002500139066000700164082001700171100002800188245004100216250002200257260012700279300006300406440003400469500001100503740001500514880002600529880004100555880002400596880011900620880003100739 86125160 /ACNDLC19870219000000.0860327s1985 cc cfh 00010 chi  a 86125160 /ACN cRMBY1.05 a(CStRLIN)DCLP86-B52920 aPL2862.I276bW8 1985 c$10 a895.1/15219106880-01aHsiao, ChÊ»ing.106880-02aWu shu hua /cHsiao ChÊ»ing. 6880-03aTi 1 pan.0 6880-04aPei-ching :bPei-ching shih yüeh wen i chÊ»u pan she :bHsin hua shu tien Pei-ching fa hsing so fa hsing,c1985. a4, 3, 199 p., [2] p. of plates :bfacsim., port. ;c19 cm. 06880-05aHung yeh shih tsÊ»ung aPoems.01a5 shu hua.106100-01/$1a晓 晴.106245-02/$1a五æŸã€€èб/c晓 晴. 6250-03/$1a第1版.0 6260-04/$1a北京 :båŒ—äº¬ã€€åæœˆã€€æ–‡è‰ºã€€å‡ºç‰ˆç¤¾ :bæ–°åŽã€€ä¹¦åº— 北京 å±è¡Œæ‰€ã€€å±è¡Œ,c1985. 06440-05/$1a红å¶ã€€è¯—丛01248nam a2200301 a 4500001001700000003000400017005001700021008004100038010002100079035002600100043001200126050002500138066000700163082001500170100003000185245006900215260008800284300003000372490007900402500004100481651004100522830006900563880002900632880006500661880007900726880007600805880006500881 86125348 /ACNDLC19870219000000.0860304r19851917ch 00010 chi  a 86125348 /ACN a(CStRLIN)DCLP86-B3824 aa-cc---0 aDS754.18b.C446 1985 c$10 a327.51219106880-01aChuang, Ping-hai.106880-02aWai chiao ssu tÊ»ung lu /cChuang Ping-hai pien [tsuan].0 6880-03a[TÊ»ai-pei hsien Yung-ho shih] :bWen hai chÊ»u pan she,cmin kuo 74 [1985] a2, 2, 2, 272 p. ;c22 cm.1 6880-04aChin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien : ti 2 chi ;v20 aReprint. Originally published: 1917? 0aChinaxForeign relationsy1644-1912. 06880-05aChin tai Chung-kuo shih liao tsÊ»ung kÊ»an 3 pien ;v20.106100-01/$1a莊 病骸.106245-02/$1a外交 æ€ç—›ã€€éŒ„ /c莊 病骸 編[纂].0 6260-03/$1a[臺北縣 永和市] :b文海 出版社,c民國74 [1985]1 6490-04/$1aè¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ : 第二輯 ;v20 06830-05/$1aè¿‘ä»£ã€€ä¸­åœ‹ã€€å²æ–™ã€€å¢åˆŠã€€ä¸‰ç·¨ ;v20.01116cam a2200325 a 4500001001300000003000400013005001700017008004100034010001700075020001700092035002600109040003300135043001200168050002100180066000700201082001600208100002500224245009600249250002100345260006100366300003600427546001600463650002500479740004000504880002900544880010300573880002300676880006200699987002900761 86125443 DLC20020326070412.0860304s1985 ch a 00010 chi  a 86125443  c$9.00 (U.S.) a(CStRLIN)DCLP86-B3795 aDLC-RcDLC-RdCStRLINdDLC-R aa-cc---00aB5231b.L59 1985 c$100a181/.112191 6880-01aLiu, Shaoji.106880-02aZhongguo zhe xue xin lun =bA new view of the Chinese philosophy /cLiu Shaoji zhu. 6880-03aChu ban. 6880-04aTaibei Shi :bShi jie shu ju,cmin guo 74 [1985] a6, 12, 424 p. :bill. ;c27 cm. aIn Chinese. 0aPhilosophy, Chinese.0 aNew view of the Chinese philosophy.1 6100-01/$1a劉 紹基.106245-02/$1a中國 哲學 新論 =bA new view of the Chinese philosophy /c劉 紹基 豗. 6250-03/$1aåˆç‰ˆ. 6260-04/$1aå°åŒ—市 :b世界 書局,c氱國74 [1985] aPINYINbDLCc20020326dc01199nam a2200301 a 4500001002100000003000400021005001700025008004100042010002500083020002000108035002600128043001200154050002400166066000700190082001800197245009700215250002200312260011900334300001900453500007200472650003100544700002700575740004100602880009500643880002400738880010600762880002900868 86154542 /ACN/r86DLC19870219000000.0860528s1985 cc 00000 chi  a 86154542 /ACN/r86 cRMBY3.60 (v. 1) a(CStRLIN)DCLP86-B9002 aa-cc---0 aHB126.C4bC533 1985 c$10 a330/.0951219006880-01aChung-kuo ku tai ching chi chu shu hsüan tu /cYü Tsu-yao ... [et al.] pien chu. 6880-02aTi 1 pan.0 6880-03a[ChÊ»ang-chÊ»un shih] :bChi-lin jen min chÊ»u pan she :bChi-lin sheng hsin hua shu tien fa hsing,c1985. a2 v. ;c20 cm. aColophon title also in pinyin: Zhongguo gudai jingji zhushu xuandu. 0aEconomicszChinaxHistory.106880-04aYü, Tsu-yao.01aZhongguo gudai jingji zhushu xuandu.006245-01/$1a中國 å¤ä»£ã€€ç¶“濟 著述 é¸è®€ /c虞 祖尧 ... [et al.] ç¼–è‘—. 6250-02/$1a第1版.0 6260-03/$1a[长春市] :b剿ž— 人民 出版社 :b剿ž—çœã€€æ–°åŽã€€ä¹¦åº— å‘行,c1985.106700-04/$1a虞 祖尧.00920nam a2200253 a 4500001001600000003000400016005001700020008004100037010002000078020001000098035002600108040002400134050002500158066000700183100003400190245006700224260006400291300002100355440005300376880003600429880007900465880005900544880006300603 86159478 /AKDLC19870219000000.0860602s1984 ko 00010 kor  a 86159478 /AK cW2800 a(CStRLIN)DCLP86-B9357 aCLASIAcCLASIAdDLC0 aAC148b.K589256 1985 c$1106880-01aKim, Tong-gil,d1928-106880-02aTŭrŏra, ttaltŭl a :bKim Tong-gil taepÊ»yo esei.0 6880-03aSŏul :bChÊ»ŏngnyŏnsa,c1984g(1985 printing) a271 p. ;c23 cm. 06880-04aUri sidae ŭi taepÊ»yo sanmunsŏn ;v1106100-01/$1a김 ë™ê¸¸,d1928-106245-02/$1a들어ë¼, 딸들 아 :b김 ë™ê¸¸ã€€ëŒ€í‘œã€€ì—세ì´.0 6260-03/$1a서울 :b청년사,c1984g(1985 printing) 06440-04/$1a우리 시대 ì˜ã€€ëŒ€í‘œã€€ì‚°ë¬¸ì„  ;v1yaz-5.31.1/test/tmarc0.xml0000664000175000017500000000027714157607106012233 00000000000000 00062cgm a2200037Ia 4500 DVD CHI 791.43 QI yaz-5.31.1/test/test_oid.c0000664000175000017500000000420114152153071012260 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include static void tst(void) { char oid_buf[OID_STR_MAX]; const char *n; yaz_oid_db_t db; const Odr_oid *c_oid; Odr_oid *oid; NMEM nmem = nmem_create(); ODR odr = odr_createmem(ODR_ENCODE); db = yaz_oid_std(); YAZ_CHECK(db); c_oid = yaz_string_to_oid(db, CLASS_ATTSET, "Bib-1"); YAZ_CHECK(c_oid && oid_oidcmp(c_oid, yaz_oid_attset_bib_1) == 0); c_oid = yaz_string_to_oid(db, CLASS_GENERAL, "Bib-1"); YAZ_CHECK(c_oid && oid_oidcmp(c_oid, yaz_oid_attset_bib_1) == 0); c_oid = yaz_string_to_oid(db, CLASS_ATTSET, "unknown"); YAZ_CHECK(c_oid == 0); oid = yaz_string_to_oid_nmem(db, CLASS_ATTSET, "1.2.840.10003.3.1", nmem); YAZ_CHECK(oid && !oid_oidcmp(oid, yaz_oid_attset_bib_1)); oid = yaz_string_to_oid_nmem(db, CLASS_ATTSET, "unknown", nmem); YAZ_CHECK(oid == 0); oid = yaz_string_to_oid_odr(db, CLASS_ATTSET, "1.2.840.10003.3.1", odr); YAZ_CHECK(oid && !oid_oidcmp(oid, yaz_oid_attset_bib_1)); oid = yaz_string_to_oid_odr(db, CLASS_ATTSET, "unknown", odr); YAZ_CHECK(oid == 0); n = yaz_oid_to_string(db, yaz_oid_attset_bib_1, 0); YAZ_CHECK(n && !strcmp(n, "Bib-1")); n = oid_name_to_dotstring(CLASS_ATTSET, "Bib-1", oid_buf); YAZ_CHECK(n && !strcmp(n, "1.2.840.10003.3.1")); n = oid_name_to_dotstring(CLASS_DIAGSET, "Bib-1", oid_buf); YAZ_CHECK(n && !strcmp(n, "1.2.840.10003.4.1")); n = oid_name_to_dotstring(CLASS_DIAGSET, "unknown", oid_buf); YAZ_CHECK(!n); n = oid_name_to_dotstring(CLASS_DIAGSET, "1.2.840.10003.3.1", oid_buf); YAZ_CHECK(!n); nmem_destroy(nmem); odr_destroy(odr); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/test_icu.4.output0000664000175000017500000000005614152153071013551 000000000000001 1 'Andersen, H.C' '' 0+15 *Andersen, H.C.,* yaz-5.31.1/test/marc2.xml.marc0000664000175000017500000000214114157607106012762 0000000000000001121nam0a32002171 450 001002800000004001000028008002800038009001100066039000900077100001900086245005900105260003300164300001000197512007300207531001400280538001900294652001500313666004900328795050600377795002000883000a9 182 502 3b710100fa000rcae000tsufa1995bgblengv0000asgxc000abef000aMimmshGarnet000aCry babyaWarm and soulfuleGarnet Mimms ... [et al.]000aBury St. EdmundsbBGOc1995000n1 cd000aIndspilninger publiceret 1963 (Cry baby) og 1965 (Warm and soulful)000aIndhold:000fBGOgBGOCD268000m78.794v4000msoulmrhythm & bluesnvokalp1960-1969lUSA000Ã¥11aCry babyaNobody but youaUntil you were goneaAnytime you want meaSo closeaFor your precious loveaBaby don't you weepaA ¤quiet placeaCry to meaDon't change your heartaWanting youaThe ¤truth hurtsaI'll take good care of youaLooking for youaIt won't hurt (half as much)aIt was easier to hurt heraThinkin'aProve it to meaMore than a miracleaAs long as I have youaOne girlaThere goes my babyaIt's just a matter of timeaA ¤little bit of soapaLook awayaI'll make it up to you000Ã¥40y0a1 girlyaz-5.31.1/test/test_sortspec.c0000664000175000017500000001754714152153071013370 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include static int cql(const char *arg, const char *expected_result) { ODR odr = odr_createmem(ODR_ENCODE); Z_SortKeySpecList *sort_spec = yaz_sort_spec(odr, arg); int ret = 0; if (!sort_spec) { yaz_log(YLOG_WARN, "yaz_sort_spec : parse error: %s", arg); } else { WRBUF w = wrbuf_alloc(); int r = yaz_sort_spec_to_cql(sort_spec, w); if (!expected_result && r) ret = 1; else if (expected_result && r == 0) { if (strcmp(wrbuf_cstr(w), expected_result) == 0) ret = 1; else { yaz_log(YLOG_WARN, "sort: diff: %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } } else if (r) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got error %d", r); } else if (r == 0) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected error"); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } wrbuf_destroy(w); } odr_destroy(odr); return ret; } static int type7(const char *arg, const char *expected_result) { ODR odr = odr_createmem(ODR_ENCODE); Z_SortKeySpecList *sort_spec = yaz_sort_spec(odr, arg); int ret = 0; if (!sort_spec) { yaz_log(YLOG_WARN, "yaz_sort_spec : parse error: %s", arg); } else { WRBUF w = wrbuf_alloc(); int r; wrbuf_puts(w, "q"); r = yaz_sort_spec_to_type7(sort_spec, w); if (!expected_result && r) ret = 1; else if (expected_result && r == 0) { if (strcmp(wrbuf_cstr(w), expected_result) == 0) ret = 1; else { yaz_log(YLOG_WARN, "sort: diff: %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } } else if (r) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got error %d", r); } else if (r == 0) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected error"); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } wrbuf_destroy(w); } odr_destroy(odr); return ret; } static int strategy_sortkeys(const char *arg, const char *expected_result, int (*strategy) (Z_SortKeySpecList *, WRBUF)) { ODR odr = odr_createmem(ODR_ENCODE); Z_SortKeySpecList *sort_spec = yaz_sort_spec(odr, arg); int ret = 0; if (!sort_spec) { yaz_log(YLOG_WARN, "yaz_sort_spec : parse error: %s", arg); } else { WRBUF w = wrbuf_alloc(); int r = (strategy)(sort_spec, w); if (!expected_result && r) ret = 1; else if (expected_result && r == 0) { if (strcmp(wrbuf_cstr(w), expected_result) == 0) ret = 1; else { yaz_log(YLOG_WARN, "sort: diff: %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } } else if (r) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got error %d", r); } else if (r == 0) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected error"); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } wrbuf_destroy(w); } odr_destroy(odr); return ret; } static int srw_sortkeys(const char *arg, const char *expected_result) { return strategy_sortkeys(arg, expected_result, yaz_sort_spec_to_srw_sortkeys); } static int solr_sortkeys(const char *arg, const char *expected_result) { return strategy_sortkeys(arg, expected_result, yaz_sort_spec_to_solr_sortkeys); } static int check_sortkeys_to_sort_spec(const char *arg, const char *expected_result, int (*sort_strategy)(const char *, WRBUF)) { WRBUF w = wrbuf_alloc(); int ret = 0; int r = sort_strategy(arg, w); if (!expected_result && r) ret = 1; else if (expected_result && r == 0) { if (strcmp(wrbuf_cstr(w), expected_result) == 0) ret = 1; else { yaz_log(YLOG_WARN, "sort: diff: %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } } else if (r) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected %s", expected_result); yaz_log(YLOG_WARN, " got error %d", r); } else if (r == 0) { yaz_log(YLOG_WARN, "sort: diff %s", arg); yaz_log(YLOG_WARN, " expected error"); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(w)); } wrbuf_destroy(w); return ret; } static int check_srw_sortkeys_to_sort_spec(const char *arg, const char *expected_result) { return check_sortkeys_to_sort_spec(arg, expected_result, yaz_srw_sortkeys_to_sort_spec); } static int check_solr_sortkeys_to_sort_spec(const char *arg, const char *expected_result) { return check_sortkeys_to_sort_spec(arg, expected_result, yaz_solr_sortkeys_to_sort_spec); } static void tst(void) { YAZ_CHECK(cql("title a", " SORTBY title/ascending/ignoreCase")); YAZ_CHECK(cql("title a date ds", " SORTBY title/ascending/ignoreCase" " date/descending/respectCase")); YAZ_CHECK(cql("1=4,2=3 a", 0)); YAZ_CHECK(cql("date a=1900", " SORTBY date/ascending/ignoreCase/missingValue=1900")); YAZ_CHECK(type7("title a", "@or q @attr 1=title @attr 7=1 0")); YAZ_CHECK(type7("title a date ds", "@or @or q @attr 1=title @attr 7=1 0" " @attr 1=date @attr 7=2 1")); YAZ_CHECK(type7("1=4,2=3 a", "@or q @attr 1=4 @attr 2=3 @attr 7=1 0")); YAZ_CHECK(type7("date a=1900", "@or q @attr 1=date @attr 7=1 0")); YAZ_CHECK(srw_sortkeys("title a", "title,,1,0,highValue")); YAZ_CHECK(srw_sortkeys("title a date ds", "title,,1,0,highValue " "date,,0,1,highValue")); YAZ_CHECK(srw_sortkeys("1=4,2=3 a", 0)); YAZ_CHECK(srw_sortkeys("date a=1900", "date,,1,0,1900")); YAZ_CHECK(check_srw_sortkeys_to_sort_spec( "date,,1,0,1900", "date ai=1900")); YAZ_CHECK(solr_sortkeys("title a", "title asc")); YAZ_CHECK(solr_sortkeys("title a date ds", "title asc" ",date desc")); YAZ_CHECK(solr_sortkeys("1=4,2=3 a", 0)); YAZ_CHECK(check_solr_sortkeys_to_sort_spec( "date asc", "date ai")); } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/test_icu.4.input0000664000175000017500000000001714152153071013345 00000000000000Andersen, H.C.,yaz-5.31.1/test/tmarc10.xml0000664000175000017500000000577314157607106012322 00000000000000 02924nam a22001810 450 21528773 20180924151503.0 000000s1996 dk |||| 00| | dan d 08.0000 z Tegnsæt-test til Indvandrerbiblioteket. [S.n.]. , Æ¡, Æ , ư, Ư, slavisk bødt tegn: ʹt, ʹ, ʹd, ʹT, ʹD,nyt:skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ , η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚. (under stjerne) eller à (ved aigu)?, aigu: á, â, ñ, dobbelt tilde: ~%Tn, aÌ„ NYT: slavisk hÃ¥rdt tegn: ʺ, ʺo, ʺa, ʺO. ayn: ta%Ya. dobbelt tilde: ã%Ta, ~%T, ñ%Tn. ligatur: a︠a︡. aigu: med tegn (nederste) á, 'A, ú, í, 'I, ó, Ó, ý, Ã, é, É aigu med ̈á, ú, í, é. grave med tegn: à, À, ù, Ù, yÌ€ ò, Ã’, ì, ÃŒ,è, È med .̈ ğ, ȧ, ä, hacek: aÌŒ, Ã¥, ligatur: a︠ a︡, kÌ•, oÌ‹, ç Ç, sÌœ, aÌ, NYT skema 7: ↑, ↓, \, dobbelt understreg: k̳. skema 4: á, 'A, é, É, í, 'I, ó, ý, Ã, Ã, IÌ, Ú, grave: à, À, è, È, ì, ÃŒ, ò,NYT: aigu: Ã, Ú el 'A, 'U. hÃ¥rd blank: a a. promille: ‰. højrepil: →. 0303: ù, Ù, \ (backslash), promille: ‰, obb. aigu: oÌ‹, OÌ‹, uÌ‹, UÌ‹, ợ, ự, ở, Æ¡Ì. aÌ®, højrekrog: ų ǫ, tÌ£, t̤, tÌ¥, k̳, Ë (trema), aÌ¥, a̳, a̦, ë a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r ,s, t, u, v, w, x, y, z, æ ,ø, Ã¥, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Æ, Ø, Ã…, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, +, !, "a", #, , %, &, /, (, ), =. ?, á, à, ü, £, $, [, ], {, }, â, ñ, <, >, \, ., -, ;, :, ,̲ ꜳ, Ꜳ, ü, Ü, ä, Ä, ö, Ö, ß, ĸ, ð, Ä‘, Ã, þ, Þ, Å“, Å’, Å‚, Å, ı % aÌ®, ą, aÌ£, a̤, aÌ¥, a̳, a̦, ë, , Ã’, 'u, Ù, yÌ€, circonflex: â, Â, ê, Ê, î, ÃŽ, ô, Ô, û, Û, tilde: ã, Ã, ñ, Ñ, õ, Õ, ë, Ë, Ï, ı̈, ÿ, Ë, Ï, ä, ç Ç, ş, blank: a a, !, ", ', (, ), ,, -, ., /, :, ;, ?, », «, [, ], {, }, ¿, ¡, —, ̉ủ, a a, skema 6: #, $, %, &, *, +, <, >, =, ≠, ·, â™­, ®, ±, £, aragraf kan ikke °, †, ‰, ∫, ∞, √, ÷, →, ×, skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚ vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘. slavisk hÃ¥rdt tegn: #2, ʺo, ʺO, alif: ʼ, ayn: Ê»a, taÊ»a, ̲, grave: 'a NYT: vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘. yaz-5.31.1/test/test_libstemmer.c0000664000175000017500000000363514152153071013662 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #if YAZ_HAVE_ICU #include int test_stemmer_stem(yaz_stemmer_p stemmer, const char* to_stem, const char *expected) { struct icu_buf_utf16 *src = icu_buf_utf16_create(0); struct icu_buf_utf16 *dst = icu_buf_utf16_create(0); struct icu_buf_utf8 *dst8 = icu_buf_utf8_create(0); int rc = 0; UErrorCode status; const char *result; icu_utf16_from_utf8_cstr(src, to_stem, &status); yaz_stemmer_stem(stemmer, dst, src, &status); if (status == U_ZERO_ERROR) { icu_utf16_to_utf8(dst8, dst, &status); result = icu_buf_utf8_to_cstr(dst8); rc = strcmp(result, expected) == 0; } icu_buf_utf8_destroy(dst8); icu_buf_utf16_destroy(src); icu_buf_utf16_destroy(dst); return rc; } static void tst(void) { UErrorCode status; //== U_ZERO_ERROR; yaz_stemmer_p stemmer = yaz_stemmer_create("en", "porter", &status); YAZ_CHECK(stemmer); /* fail */ YAZ_CHECK(test_stemmer_stem(stemmer, "beer", "water") == 0 ); /* Same */ YAZ_CHECK(test_stemmer_stem(stemmer, "adadwwr", "adadwwr")); /* Remove S */ YAZ_CHECK(test_stemmer_stem(stemmer, "beers", "beer")); YAZ_CHECK(test_stemmer_stem(stemmer, "persons", "person")); /* Remove s and ing */ YAZ_CHECK(test_stemmer_stem(stemmer, "runs", "run")); YAZ_CHECK(test_stemmer_stem(stemmer, "running", "run")); yaz_stemmer_destroy(stemmer); } #endif int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); #if YAZ_HAVE_ICU tst(); #endif YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/xml2tmarc7.xml0000664000175000017500000001006214157607106013036 00000000000000 03114cam a2200349 i 4500 77123332 DLC20051218154744.0981008b2001 ilu 000 0 eng 577799049093202DLCDLC0undorignewuncip19y-gencatlg 77123332 Voyager Diacritic test -- New input 001 (SBIE).ny :ny,2001.100 p. ;12 cm.New copy imported from file (8/12/99).VOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (℗); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡).VOYAGER COLUMN 1: Script L (ℓ); Polish L (Ł); Scandanavian O (Ø); D with Crossbar (Đ); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Œ); Miagkii Znak (ʹ); Dot at Midline (·).VOYAGER COLUMN 2: Musical Flat (♭); Patent Mark (®); Plus or Minus (±); O Hook (Ơ); U Hook (Ư); Alif (ʼ); alpha α; Ayn (ʻ); Polish l (ł).VOYAGER COLUMN 3: Scandanavian o (ø); d with crossbar (đ); Icelandic Thorn (þ); ae Digraph (æ); oe Digraph (œ); Tverdii Znak (ʺ); Turkish i (ı); British Pound (£); eth (ð).VOYAGER COLUMN 4: Dagger (DO NOT USE); o Hook (ơ); u Hook (ư); Beta β; Gamma γ; Superscript 0 (⁰); Superscript 1 (¹); Superscript 2 (²); Superscript 3 (³).VOYAGER COLUMN 5: Superscript 4 (⁴); Superscript 5 (⁵); Superscript 6 (⁶); Superscript 7 (⁷); Superscript 8 (⁸); Superscript 9 (⁹); Superscript + (⁺); Superscript - (⁻); Superscript ( (⁽).VOYAGER COLUMN 6: Superscript ) (⁾); Subscript 0 (₀); Subscript 1 (₁); Subscript 2 (₂); Subscript 3 (₃); Subscript 4 (₄); Subscript 5 (₅); Subscript 6 (₆); Subscript 7 (₇).VOYAGER COLUMN 7: Subscript 8 (₈); Subscript 9 (₉); Subscript + (₊); Subscript - (₋); Subscript ( (₍); Subscript ) (₎); Pseudo Question Mark (ỏ); Grave (ò); Acute (ó).VOYAGER COLUMN 8: Circumflex (ô); Tilde (õ); Macron (ō); Breve (ŏ); Superior Dot (ȯ); Umlaut (ö); Hacek (ǒ); Circle Above (o̊); Ligature left (o͡).VOYAGER COLUMN 9: Ligature right (o) ; High Comma off center (o̕); Double Acute (ő); Candrabindu (o̐); Cedilla (o̧); Right Hook (ǫ); Dot Below (ọ); Double Dot Below (o̤); Circle Below (o̥).VOYAGER COLUMN 10: Double Underscore (o̳); Underscore (o̲); Left Hook (o̦); Right Cedilla (o̜); Upadhmaniya (o̮); Double Tilde 1st half (o͠); Double Tilde 2nd half (o) ; High Comma centered (o̓).VOYAGER PC Keyboard: Spacing Circumflex (^); Spacing Underscore (_); Spacing Grave (`); Open Curly Bracket ({); Close Curly Bracket (}); Spacing Tilde (~).Standard PC Keyboard: 1234567890-= !@#$%^&*()_+ qwertyuiop[]\ QWERTYUIOP{}| asdfghjkl;' ASDFGHJKL:" zxcvbnm,./ ZXCVBNM<>? yaz-5.31.1/test/test_zgdu.c0000664000175000017500000000355114152153071012465 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include static void tst_http_response(void) { /* response, content */ const char *http_buf = /*123456789012345678 */ "HTTP/1.1 200 OK\r\n" "Content-Length: 2\r\n" "\r\n" "12"; int r; Z_GDU *zgdu; ODR enc = odr_createmem(ODR_ENCODE); ODR dec = odr_createmem(ODR_DECODE); odr_setbuf(dec, (char *) http_buf, strlen(http_buf), 0); r = z_GDU(dec, &zgdu, 0, 0); YAZ_CHECK(r); if (r) { char *http_buf1; int http_len1; YAZ_CHECK_EQ(zgdu->which, Z_GDU_HTTP_Response); zgdu->u.HTTP_Response->content_len = 1; /* we now have Content-Length=2, but content_len=1 */ z_GDU(enc, &zgdu, 0, 0); http_buf1 = odr_getbuf(enc, &http_len1, 0); YAZ_CHECK(http_buf1); if (http_buf1) { const char *http_buf2 = /*123456789012345678 */ "HTTP/1.1 200 OK\r\n" "Content-Length: 1\r\n" /* content_len takes precedence */ "\r\n" "1"; YAZ_CHECK_EQ(http_len1, strlen(http_buf2)); YAZ_CHECK(http_len1 == strlen(http_buf2) && memcmp(http_buf1, http_buf2, http_len1) == 0); } } odr_destroy(enc); odr_destroy(dec); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst_http_response(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marccol4.u8.marc0000664000175000017500000000251514157607106013223 0000000000000001357nas a2200313 a 4500001001300000003000400013005001700017008004100034010001700075035002100092040001800113042000700131043001200138050001800150066000700168110008600175245006400261246002000325260011100345500005000456610009100506650003600597650005100633850000800684880008000692880006600772880010800838880009700946 2007210635DLC20071005153240.0071005c200u9999ja | | d0jpn  a 2007210635 a(OCoLC)173684089 aDLCcDLCdDLC alc aa-ja---00aT27.J32bS83a c$12 6880-01aSangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo.bShikoku Sangakukan Renkei SentaÌ„.106880-02aShikoku Sangakukan Renkei Sentā̄ katsudo hokoku.11aActivity report 6880-03aKagawa-ken Takamatsu-shi :bSangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo Shikoku Sangakukan Renkei SentaÌ„ aDescription based on: 2005; title from cover.20aSangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo.bShikoku Sangakukan Renkei SentaÌ„vPeriodicals. 0aTechnologyzJapanvPeriodicals. 0aTechnological innovationszJapanvPeriodicals. aDLC2 6110-01/$1a産業技術ç·åˆç ”究所.b四国産学官連æºã‚»ãƒ³ã‚¿ãƒ¼.106245-02/$1a四国産学官連æºã‚»ãƒ³ã‚¿Ì„̄ー活動報告. 6260-03/$1a香å·çœŒé«˜æ¾å¸‚ :b産業技術ç·åˆç ”究所研究所四国産学官連æºã‚»ãƒ³ã‚¿ãƒ¼.246610-00/$1a産業技術ç·åˆç ”究所.b四国産学官連æºã‚»ãƒ³ã‚¿Ì„̄ーvPeriodicals.yaz-5.31.1/test/marccol2.u8.1.lst0000664000175000017500000000562114152153071013231 0000000000000003103cam a2200337 i 4500 001 12683849 005 20051218154744.0 008 981008b2001 ilu 000 0 eng 035 $a 57779 035 $a 90490 035 $a 93202 040 $a DLC $c DLC 906 $a 0 $b und $c orignew $d u $e ncip $f 19 $g y-gencatlg 010 $a 77123332 245 00 $a Voyager Diacritic test -- New input 001 (SBIE) 260 $a ny $b ny, $c 2001. 300 $a p. $c cm. 500 $a New copy imported from file (8/12/99) 500 $a VOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (â„—); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡) 500 $a VOYAGER COLUMN 1: Script L (â„“); Polish L (Å); Scandanavian O (Ø); D with Crossbar (Ä); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Å’); Miagkii Znak (ʹ); Dot at Midline (·) 500 $a VOYAGER COLUMN 2: Musical Flat (â™­); Patent Mark (®); Plus or Minus (±); O Hook (Æ ); U Hook (Ư); Alif (ʾ); alpha (DO NOT USE); Ayn (Ê»); Polish l (Å‚) 500 $a VOYAGER COLUMN 3: Scandanavian o (ø); d with crossbar (Ä‘); Icelandic Thorn (þ); ae Digraph (æ); oe Digraph (Å“); Tverdii Znak (ʺ); Turkish i (ı); British Pound (£); eth (ð) 500 $a VOYAGER COLUMN 4: Dagger (DO NOT USE); o Hook (Æ¡); u Hook (ư); Beta (DO NOT USE); Gamma (DO NOT USE); Superscript 0 (â°); Superscript 1 (¹); Superscript 2 (²); Superscript 3 (³) 500 $a VOYAGER COLUMN 5: Superscript 4 (â´); Superscript 5 (âµ); Superscript 6 (â¶); Superscript 7 (â·); Superscript 8 (â¸); Superscript 9 (â¹); Superscript + (âº); Superscript - (â»); Superscript ( (â½); 500 $a VOYAGER COLUMN 6: Superscript ) (â¾); Subscript 0 (â‚€); Subscript 1 (â‚); Subscript 2 (â‚‚); Subscript 3 (₃); Subscript 4 (â‚„); Subscript 5 (â‚…); Subscript 6 (₆); Subscript 7 (₇) 500 $a VOYAGER COLUMN 7: Subscript 8 (₈); Subscript 9 (₉); Subscript + (₊); Subscript - (â‚‹); Subscript ( (â‚); Subscript ) (₎); Pseudo Question Mark (ỏ); Grave (oÌ€); Acute (oÌ) 500 $a VOYAGER COLUMN 8: Circumflex (oÌ‚); Tilde (õ); Macron (oÌ„); Breve (ŏ); Superior Dot (ȯ); Umlaut (ö); Hacek (oÌŒ); Circle Above (oÌŠ); Ligature left (o︠) 500 $a VOYAGER COLUMN 9: Ligature right (o︡) ; High Comma off center (oÌ•); Double Acute (oÌ‹); Candrabindu (oÌ); Cedilla (o̧); Right Hook (ǫ); Dot Below (oÌ£); Double Dot Below (o̤); Circle Below (oÌ¥) 500 $a VOYAGER COLUMN 10: Double Underscore (o̳); Underscore (o̲); Left Hook (o̦); Right Cedilla (oÌœ); Upadhmaniya (oÌ®); Double Tilde 1st half (o︢); Double Tilde 2nd half (o︣) ; High Comma centered (oÌ“) 500 $a VOYAGER PC Keyboard: Spacing Circumflex (^); Spacing Underscore (_); Spacing Grave (`); Open Curly Bracket ({); Close Curly Bracket (}); Spacing Tilde (~) 500 $a Standard PC Keyboard: 1234567890-= !@#$%^&*()_+ qwertyuiop[]\ QWERTYUIOP{}| asdfghjkl;' ASDFGHJKL:" zxcvbnm,./ ZXCVBNM<>? yaz-5.31.1/test/marc6.marc0000664000175000017500000000055614157607106012177 0000000000000000366nam 22001698a 4500001001300000003000400013005001700017008004100034010001700179040001300075050001200088100001700100245003000117260001200147263000900159300001100168 11224466 DLC00000000000000.0910710c19910701nju 00010 eng  aDLCcDLC00a123-xyz10aJack Collins10aHow to program a computer1 aPenguin a8710 ap. cm. a 11224466 yaz-5.31.1/test/xml2tmarc2.xml.marc0000664000175000017500000000214114157607106013751 0000000000000001121nam0a32002171 450 001002800000004001000028008002800038009001100066039000900077100001900086245005900105260003300164300001000197512007300207531001400280538001900294652001500313666004900328795050600377795002000883000a9 182 502 3b710100fa000rcae000tsufa1995bgblengv0000asgxc000abef000aMimmshGarnet000aCry babyaWarm and soulfuleGarnet Mimms ... [et al.]000aBury St. EdmundsbBGOc1995000n1 cd000aIndspilninger publiceret 1963 (Cry baby) og 1965 (Warm and soulful)000aIndhold:000fBGOgBGOCD268000m78.794v4000msoulmrhythm & bluesnvokalp1960-1969lUSA000Ã¥11aCry babyaNobody but youaUntil you were goneaAnytime you want meaSo closeaFor your precious loveaBaby don't you weepaA ¤quiet placeaCry to meaDon't change your heartaWanting youaThe ¤truth hurtsaI'll take good care of youaLooking for youaIt won't hurt (half as much)aIt was easier to hurt heraThinkin'aProve it to meaMore than a miracleaAs long as I have youaOne girlaThere goes my babyaIt's just a matter of timeaA ¤little bit of soapaLook awayaI'll make it up to you000Ã¥40y0a1 girlyaz-5.31.1/test/test_shared_ptr.c0000664000175000017500000000162114152153071013643 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** * \file test_shared_ptr.c * \brief test shared pointer */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include YAZ_SHPTR_TYPE(WRBUF) static void test(void) { WRBUF w = wrbuf_alloc(); WRBUF_shptr_t t = 0; YAZ_SHPTR_INIT(t, w); YAZ_CHECK(t); YAZ_SHPTR_INC(t); YAZ_CHECK(t); YAZ_SHPTR_DEC(t, wrbuf_destroy); YAZ_CHECK(t); YAZ_SHPTR_DEC(t, wrbuf_destroy); YAZ_CHECK(!t); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); test(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/xml2tmarc11.xml.marc0000664000175000017500000000126614157607106014040 0000000000000000694nam a22002054 450 0010009000000050017000090080041000262450037000672600012001045050070001165050052001865050046002385050051002845050033003355050037003685050024004055050022004295050016004517400021004672028538920180924145927.0000000s1992 dk |||| 00| | dan d00ategnsæt test, diakritiske tegn. b[S.n.].0 a:;̲;Ì€;Ì;Ì‚~;;Ì„;̆;̇;̈;ÌŒ;ÌŠ;︠;︡;Ì•;Ì‹;̧;̨;Ì£;̳;̦;̈0 aaigu: á;Ã;é;É;í;IÌ;ó;Ó;ú;Ú;ý;Ã;nÌ;0 agrave: à;À;è;È;ì;ÃŒ;ò;Ã’;ù;Ù;nÌ€;0 acirconflex: â;Â;ê;Ê;î;ÃŽ;ô;Ô;û;Û;nÌ‚;0 atilde: ã;Ã;ñ;Ñ;õ;Õ;~m;0 atrema: ë;Ë;ı̈;Ï;ÿ;n̈;0 acedille: ç;Ç;ņ;0 aomlyd: ä;ë;n̈;0 asnabel a: @0 asnabel @ snabel.yaz-5.31.1/test/marc10.marc0000664000175000017500000000555414157607106012255 0000000000000002924nam 22001810 450 0010009000000050017000090080041000260840015000672450044000822600012001265000362001385000340005005000155008405040288009955050113012835201175013965460171025712152877320180924151503.0000000s1996 dk |||| 00| | dan d a08.00002z00aTegnsæt-test til Indvandrerbiblioteket. b[S.n.]. a, @01A1, @01A0, @01B0, @01AF, slavisk bødt tegn: @UA7t, @UA7, @UA7d, @UA7T, @UA7D,nyt:skema 7: @UD9. @UDA, \, skema 1: @0393, @0394, @0398, @039B, @039E, @03A0, @03A3, @03A6, @03A9, @03B1, @03B2, @03B3, @03B4, @03B5, @03B6 , @03B7, @03B8, @03B9, @03BA, @03BB, @03BC, @03BD, @03BE, @03BF, @03C0, @03C1, @03C3, @03C4, @03C5, @03C6, @03C7, @03A8, @03C9, @03C2. a(under stjerne) eller à (ved aigu)?, aigu: á, â, ñ, dobbelt tilde: ~%Tn, ¯a NYT: slavisk hårdt tegn: @UB7, @UB7o, @UB7a, @UB7O. ayn: ta%Ya. dobbelt tilde: ã%Ta, ~%T, ñ%Tn. ligatur: @UEBa@UECa. aigu: med tegn (nederste) á, 'A, ú, í, 'I, ó, Ó, ý, Ý, é, É aigu med @UFC á, ú, í, é. grave med tegn: à, À, ù, Ù, `y ò, Ò, ì, Ì,è, È med @UFC. a@02D8g, @0307a, ä, hacek: @02C7a, å, ligatur: @UEBa @UECa, @0315k, @02DDo, ç Ç, @UF8s, @0310a, NYT skema 7: @UD9, @UDA, \, dobbelt understreg: @0333k. askema 4: á, 'A, é, É, í, 'I, ó, ý, Ý, Á, ´I, Ú, grave: à, À, è, È, ì, Ì, ò,NYT: aigu: Á, Ú el 'A, 'U. hård blank: a a. promille: @2030. højrepil: @2192. 0303: ù, Ù, \ (backslash), promille: @2030, obb. aigu: @02DDo, @02DDO, @02DDu, @02DDU, @0323@01A1, @0323@01B0, @UE0@01A1, ´@01A1.0 a@UF9a, højrekrog: @02DBu @02DBo, @0323t, @0324t, @0325t, @0333k, @UFCE (trema), @0325a, @0333a, @UF7a, @UFCe8 aa, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r ,s, t, u, v, w, x, y, z, æ ,ø, å, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Æ, Ø, Å, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, +, !, "a", #, , %, &, /, (, ), =. ?, á, à, ü, £, $, [, ], {, }, â, ñ, <, >, \, ., -, ;, :, _, @å, @Å, ü, Ü, ä, Ä, ö, Ö, ß, @0138, ð, @0111, Ð, þ, Þ, @0153, @0152, @0142, @0141, @0131 % @UF9a, @02DBa, @0323a, @0324a, @0325a, @0333a, @UF7a, @UFCe, , Ò, 'u, Ù, `y, circonflex: â, Â, ê, Ê, î, Î, ô, Ô, û, Û, tilde: ã, Ã, ñ, Ñ, õ, Õ, @UFCe, @UFCE, @UFCI, @UFC@0131, @UFCy, @UFCE, @UFCI, ä, ç Ç, ¸s, blank: a a, !, ", ', (, ), ,, -, ., /, :, ;, ?, », «, [, ], {, }, ¿, ¡, @UD8, @UE0 @UE0u, a a, skema 6: #, $, %, &, @*, +, <, >, =, @2260, ·, @266D, ®, ±, £, aragraf kan ikke °, @2020, @2030, @222B, @221E, @221A, ÷, @2192, ×, skema 7: @UD9. @UDA, \, skema 1: @0393, @0394, @0398, @039B, @039E, @03A0, @03A3, @03A6, @03A9, @03B1, @03B2, @03B3, @03B4, @03B5, @03B6, @03B7, @03B8, @03B9, @03BA, @03BB, @03BC, @03BD, @03BE, @03BF, @03C0, @03C1, @03C3, @03C4, @03C5, @03C6, @03C7, @03A8, @03C9, @03C2 vietn: @UE0A, @01A1, @01B0, @UE0o, `@01A1, `@01B0, ´@01A1, ´@01B0, Ð, @0111. aslavisk hårdt tegn: #2, @UB7o, @UB7O, alif: @UAE, ayn: @UB0a, ta@UB0a, _ , grave: 'a NYT: vietn: @UE0A, @01A1, @01B0, @UE0o, `@01A1, `@01B0, ´@01A1, ´@01B0, Ð, @0111.yaz-5.31.1/test/marc10.json0000664000175000017500000000713714157607106012303 00000000000000{ "leader":"02924nam 22001810 450 ", "fields": [ { "001":"21528773" }, { "005":"20180924151503.0" }, { "008":"000000s1996 dk |||| 00| | dan d" }, { "084": { "subfields": [ { "a":"08.0000" }, { "2":"z" } ], "ind1":" ", "ind2":" " } }, { "245": { "subfields": [ { "a":"Tegnsæt-test til Indvandrerbiblioteket." } ], "ind1":"0", "ind2":"0" } }, { "260": { "subfields": [ { "b":"[S.n.]." } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":", Æ¡, Æ , ư, Ư, slavisk bødt tegn: ʹt, ʹ, ʹd, ʹT, ʹD,nyt:skema 7: ↑. ↓, \\, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ , η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚." } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"(under stjerne) eller à (ved aigu)?, aigu: á, â, ñ, dobbelt tilde: ~%Tn, aÌ„ NYT: slavisk hÃ¥rdt tegn: ʺ, ʺo, ʺa, ʺO. ayn: ta%Ya. dobbelt tilde: ã%Ta, ~%T, ñ%Tn. ligatur: a︠a︡. aigu: med tegn (nederste) á, 'A, ú, í, 'I, ó, Ó, ý, Ã, é, É aigu med ̈á, ú, í, é. grave med tegn: à, À, ù, Ù, yÌ€ ò, Ã’, ì, ÃŒ,è, È med .̈" } ], "ind1":" ", "ind2":" " } }, { "500": { "subfields": [ { "a":"ğ, ȧ, ä, hacek: aÌŒ, Ã¥, ligatur: a︠ a︡, kÌ•, oÌ‹, ç Ç, sÌœ, aÌ, NYT skema 7: ↑, ↓, \\, dobbelt understreg: k̳." } ], "ind1":" ", "ind2":" " } }, { "504": { "subfields": [ { "a":"skema 4: á, 'A, é, É, í, 'I, ó, ý, Ã, Ã, IÌ, Ú, grave: à, À, è, È, ì, ÃŒ, ò,NYT: aigu: Ã, Ú el 'A, 'U. hÃ¥rd blank: a a. promille: ‰. højrepil: →. 0303: ù, Ù, \\ (backslash), promille: ‰, obb. aigu: oÌ‹, OÌ‹, uÌ‹, UÌ‹, ợ, ự, ở, Æ¡Ì." } ], "ind1":" ", "ind2":" " } }, { "505": { "subfields": [ { "a":"aÌ®, højrekrog: ų ǫ, tÌ£, t̤, tÌ¥, k̳, Ë (trema), aÌ¥, a̳, a̦, ë" } ], "ind1":"0", "ind2":" " } }, { "520": { "subfields": [ { "a":"a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r ,s, t, u, v, w, x, y, z, æ ,ø, Ã¥, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Æ, Ø, Ã…, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, +, !, \"a\", #, , %, &, /, (, ), =. ?, á, à, ü, £, $, [, ], {, }, â, ñ, <, >, \\, ., -, ;, :, ,̲ ꜳ, Ꜳ, ü, Ü, ä, Ä, ö, Ö, ß, ĸ, ð, Ä‘, Ã, þ, Þ, Å“, Å’, Å‚, Å, ı % aÌ®, ą, aÌ£, a̤, aÌ¥, a̳, a̦, ë, , Ã’, 'u, Ù, yÌ€, circonflex: â, Â, ê, Ê, î, ÃŽ, ô, Ô, û, Û, tilde: ã, Ã, ñ, Ñ, õ, Õ, ë, Ë, Ï, ı̈, ÿ, Ë, Ï, ä, ç Ç, ş, blank: a a, !, \", ', (, ), ,, -, ., /, :, ;, ?, », «, [, ], {, }, ¿, ¡, —, ̉ủ, a a, skema 6: #, $, %, &, *, +, <, >, =, ≠, ·, â™­, ®, ±, £, aragraf kan ikke °, †, ‰, ∫, ∞, √, ÷, →, ×, skema 7: ↑. ↓, \\, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚ vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘." } ], "ind1":"8", "ind2":" " } }, { "546": { "subfields": [ { "a":"slavisk hÃ¥rdt tegn: #2, ʺo, ʺO, alif: ʼ, ayn: Ê»a, taÊ»a, ̲, grave: 'a NYT: vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘." } ], "ind1":" ", "ind2":" " } } ] } yaz-5.31.1/test/marc9.xml0000664000175000017500000001453714157607106012064 00000000000000 02075cas a22005055a 4500 2005336282 DLC 20070911033614.0 070910c20059999mr uu p f0 0ara 2005336282 -3-7-0709110002-p----- (OCoLC)170490164 7 und serials u ncip 19 n-oclcserc DLC DLC DLC ara fre lc f-mr--- IN PROCESS (3 880-01 QadÌ£āʼ al-usrah : majallah mutakhasÌ£sÌ£isÌ£ah / WizaÌ„rat al-Ê»Adl. Justice de la famille 880-02 Majallat QadÌ£āʼ al-usrah <2006> 880-03 al-RabaÌ„tÌ£ : JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah, 2005- v. : ill. ; 24 cm. Irregular (semiannual) 880-04 al-Ê»Adad 1. (YuÌ„lyuÌ„z 2005)- 880-05 ManshuÌ„raÌ„t JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah Some issues have also a distinctive title. Latest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). Chiefly in Arabic; some French. Domestic relations (Islamic law) Morocco. Divorce (Islamic law) Marriage law Morocco. Law reports, digests, etc. Morocco. 880-06 JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah. 880-07 Morocco. WizaÌ„rat al-Ê»Adl. DLC 245-01/(3/r قضاء الأسرة : مجلة متخصصة / وزارة العدل. 246-02/(3/r مجلة قضاء الأسرة <2006> 260-03/(3/r الرباط : جمعية نشر المعلومة القانونية والقضائية، 2005- 362-04/(3/r العدد 1. (يوليوز 2005)- 490-05/(3/r منشورات جمعية نشر المعلومة القانونية والقضائية 710-06/(3/r جمعية نشر المعلومة القانونية والقضائية. 710-07/(3/r Morocco. وزارة العدل. LC Cairo Office [we 45] yaz-5.31.1/test/xml2marc1.xml.marc0000664000175000017500000000173514157607106013574 0000000000000000989nam0a32003011 450 001002800000004001000028008002800038009001100066021002700077032001500104100002100119245005400140250004100194260004000235300002700275504012300302512006100425520005000486652002400536652001600560666001600576666001900592666001500611666001800626666001900644666000900663666001500672000a9 181 423 4b710100fa000rnae000tmuua2002buslengv0000aagxx000a1-4000-4596-7d$14,00000&DBC2004390000aSlomanhLarry000aOn the road with Bob DylaneLarry "Ratso" Sloman000aRevised editionbThree Rivers Press000aNew YorkbThree Rivers Pressc2002000axv, 464 sider, tavler000aLarry "Ratso" Slomans meget personlige beretning om Bob Dylans koncertturne i USA i 1975: "The Rolling Thunder revue"000aPÃ¥ omslaget: With a new introduction by Kinky Friedman000aTidligere: 1. udgave. New York, Bantam, 19780000m99.4aDylanhBob000p78.9064v5000ffolkemusik000ffolkemusikere000frockmusik000frockmusikere000frockkoncerter000eUSA000i1970-1979yaz-5.31.1/test/tmarc9.xml.marc0000664000175000017500000000430414157607106013160 0000000000000002244cas a22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245008700261246002600348246004900374260011100423300002500534310002700559362004400586490010100630500004700731500005800778546003600836650004700872650002600919650002700945650004100972710008801013710004201101850000801143880009001151880005601241880011501297880005201412880010501464880009101569880005001660936002801710 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQadÌ£āʼ al-usrah :bmajallah mutakhasÌ£sÌ£isÌ£ah /cWizaÌ„rat al-Ê»Adl.13aJustice de la famille136880-02aMajallat QadÌ£āʼ al-usrahf<2006> 6880-03aal-RabaÌ„tÌ£ :bJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-Ê»Adad 1. (YuÌ„lyuÌ„z 2005)-0 6880-05aManshuÌ„raÌ„t JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah aSome issues have also a distinctive title. aLatest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah.1 6880-07aMorocco.bWizaÌ„rat al-Ê»Adl. aDLC006245-01/(3/raقضاء الأسرة :bمجلة متخصصة /cوزارة العدل.136246-02/(3/raمجلة قضاء الأسرةf<2006> 6260-03/(3/raالرباط :bجمعية نشر المعلومة القانونية والقضائية،c2005-0 6362-04/(3/raالعدد 1. (يوليوز 2005)-0 6490-05/(3/raمنشورات جمعية نشر المعلومة القانونية والقضائية2 6710-06/(3/raجمعية نشر المعلومة القانونية والقضائية.1 6710-07/(3/raMorocco.bوزارة العدل. aLC Cairo Office [we 45]yaz-5.31.1/test/test_icu.1.output0000664000175000017500000000034614152153071013550 000000000000001 1 'børn' 'Børn' 0+5 *Børn* 2 2 'le' 'Le' 0+3 *Le *Carré 3 2 'carre' 'Carre' 3+6 Le *Carré* 4 3 'le' 'Le' 0+3 *Le *Carre 5 3 'carre' 'Carre' 3+5 Le *Carre* 6 4 'le' 'Le' 0+3 *Le *CarreÌ 7 4 'carre' 'Carre' 3+7 Le *CarreÌ* yaz-5.31.1/test/test_ccl.c0000664000175000017500000005323714152153071012263 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include static int tst_ccl_query(CCL_bibset bibset, const char *query, const char *result) { CCL_parser parser = ccl_parser_create(bibset); int ret = 0; if (parser && bibset) { struct ccl_rpn_node *rpn; rpn = ccl_parser_find_str(parser, query); if (rpn) { /* parse ok. check that result is there and match */ WRBUF wrbuf = wrbuf_alloc(); ccl_pquery(wrbuf, rpn); /* check expect a result and that it matches */ if (result && !strcmp(wrbuf_cstr(wrbuf), result)) ret = 1; else { yaz_log(YLOG_WARN, "%s: result does not match", query); yaz_log(YLOG_WARN, " expected %s", result); yaz_log(YLOG_WARN, " got %s", wrbuf_cstr(wrbuf)); ret = 0; } ccl_rpn_delete(rpn); wrbuf_destroy(wrbuf); } else { if (result) { yaz_log(YLOG_WARN, "%s: parse failed", query); ret = 0; } else ret = 1; } } ccl_parser_destroy (parser); return ret; } void tst1(int pass) { CCL_bibset bibset = ccl_qual_mk(); char tstline[128]; YAZ_CHECK(bibset); if (!bibset) return; if (pass == 1) { CCL_bibset nbibset = ccl_qual_dup(bibset); ccl_qual_rm(&bibset); bibset = nbibset; } switch(pass) { case 0: ccl_qual_fitem(bibset, "term dc.title", "comb"); ccl_qual_fitem(bibset, "u=4 s=pw t=l,r", "ti"); ccl_qual_fitem(bibset, "1=1016 s=al,pw t=r", "term"); ccl_qual_fitem(bibset, "t=x", "reg"); ccl_qual_fitem(bibset, "t=z", "z"); ccl_qual_fitem(bibset, "1=/my/title", "dc.title"); ccl_qual_fitem(bibset, "r=r,omiteq", "date"); ccl_qual_fitem(bibset, "r=o", "x"); ccl_qual_fitem(bibset, "dc.title", "title"); ccl_qual_fitem(bibset, "s=ag", "ag"); ccl_qual_fitem(bibset, "s=sl u=2", "splitlist"); ccl_qual_fitem(bibset, "s=sl u=2 u=3", "s2"); break; case 1: strcpy(tstline, "ti u=4 s=pw t=l,r"); ccl_qual_line(bibset, tstline); strcpy(tstline, "term 1=1016 s=al,pw t=r # default term"); ccl_qual_line(bibset, tstline); strcpy(tstline, "reg t=x"); ccl_qual_line(bibset, tstline); strcpy(tstline, "z t=z"); ccl_qual_line(bibset, tstline); strcpy(tstline, "dc.title 1=/my/title"); ccl_qual_line(bibset, tstline); strcpy(tstline, "date r=r,omiteq # ordered relation"); ccl_qual_line(bibset, tstline); strcpy(tstline, "x r=o # ordered relation"); ccl_qual_line(bibset, tstline); strcpy(tstline, "title dc.title # alias"); ccl_qual_line(bibset, tstline); strcpy(tstline, "comb term dc.title # combination"); ccl_qual_line(bibset, tstline); strcpy(tstline, "ag s=ag"); ccl_qual_line(bibset, tstline); strcpy(tstline, "splitlist s=sl u=2"); ccl_qual_line(bibset, tstline); strcpy(tstline, "s2 s=sl u=2 u=3"); ccl_qual_line(bibset, tstline); break; case 2: ccl_qual_buf(bibset, "ti u=4 s=pw t=l,r\n" "term 1=1016 s=al,pw t=r\r\n" "\n" "reg t=x\r\n" "z t=z\r\n" "dc.title 1=/my/title\n" "date r=r,omiteq\n" "x r=o\n" "title dc.title\n" "comb term dc.title\n" "ag s=ag\n" "splitlist s=sl u=2\n" "s2 s=sl u=2 u=3\n" ); break; case 3: #if YAZ_HAVE_XML2 if (1) { xmlDocPtr doc; int r; const char *addinfo = 0; const char *xml_str = "\n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "\n"; doc = xmlParseMemory(xml_str, strlen(xml_str)); YAZ_CHECK(doc); r = ccl_xml_config(bibset, xmlDocGetRootElement(doc), &addinfo); YAZ_CHECK_EQ(r, 0); xmlFreeDoc(doc); } break; #else return; #endif default: YAZ_CHECK(0); return; } YAZ_CHECK(tst_ccl_query(bibset, "x1", "@attr 4=2 @attr 1=1016 x1 ")); YAZ_CHECK(tst_ccl_query(bibset, "k\xc3\xb8" "benhavn", "@attr 4=2 @attr 1=1016 k\xc3\xb8" "benhavn ")); YAZ_CHECK(tst_ccl_query(bibset, "k\xf8" "benhavn", "@attr 4=2 @attr 1=1016 ""k\xf8" "benhavn ")); YAZ_CHECK(tst_ccl_query(bibset, "(((((x1)))))", "@attr 4=2 @attr 1=1016 x1 ")); YAZ_CHECK(tst_ccl_query(bibset, "x1 and x2", "@and " "@attr 4=2 @attr 1=1016 x1 " "@attr 4=2 @attr 1=1016 x2 ")); YAZ_CHECK(tst_ccl_query(bibset, "ti=x3", "@attr 4=2 @attr 1=4 x3 ")); YAZ_CHECK(tst_ccl_query(bibset, "dc.title=x4", "@attr 1=/my/title x4 ")); YAZ_CHECK(tst_ccl_query(bibset, "dc.title=(x4)", "@attr 1=/my/title x4 ")); YAZ_CHECK(tst_ccl_query(bibset, "x1 and", 0)); YAZ_CHECK(tst_ccl_query(bibset, "tix=x5", 0)); YAZ_CHECK(tst_ccl_query(bibset, "a%b", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a%(b)", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "(a)%(b)", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a%1b", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a%2b", "@prox 0 2 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "(a)%2(b)", "@prox 0 2 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a%19b", "@prox 0 19 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "spid%\xe6serne", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 spid " "@attr 4=2 @attr 1=1016 \xe6serne ")); YAZ_CHECK(tst_ccl_query(bibset, "a!b", "@prox 0 1 1 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a!2b", "@prox 0 2 1 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a% (b or dc.title=c)", "@prox 0 1 0 2 k 2 " "@attr 4=2 @attr 1=1016 a " "@or @attr 4=2 @attr 1=1016 b " "@attr 4=2 @attr 1=/my/title c " )); YAZ_CHECK(tst_ccl_query(bibset, "(a b) % (c)", "@prox 0 1 0 2 k 2 @and " "@attr 4=2 @attr 1=1016 a @attr 4=2 @attr 1=1016 b " "@attr 4=2 @attr 1=1016 c " )); YAZ_CHECK(tst_ccl_query(bibset, "date=1980", "1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "(date=1980)", "1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date>1980", "@attr 2=5 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date>=1980", "@attr 2=4 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date<1980", "@attr 2=1 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date<=1980", "@attr 2=2 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234-1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234- 1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234 -1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234 - 1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=-1980", "@attr 2=2 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=- 1980", "@attr 2=2 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "x=-1980", "@attr 2=3 -1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "x=- 1980", "@attr 2=2 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "x= -1980", "@attr 2=3 -1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "x=234-1990", "@attr 2=3 234-1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "x=234 - 1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "ti=a,b", "@attr 4=1 @attr 1=4 a,b ")); YAZ_CHECK(tst_ccl_query(bibset, "ti=a, b", "@attr 4=1 @attr 1=4 \"a, b\" ")); YAZ_CHECK(tst_ccl_query(bibset, "ti=a-b", "@attr 4=2 @attr 1=4 a-b ")); YAZ_CHECK(tst_ccl_query(bibset, "ti=a - b", "@attr 4=1 @attr 1=4 \"a - b\" ")); YAZ_CHECK(tst_ccl_query(bibset, "a?", "@attr 5=1 @attr 4=2 @attr 1=1016 a ")); YAZ_CHECK(tst_ccl_query(bibset, "a b", "@and @attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "a b?", "@and @attr 4=2 @attr 1=1016 a " "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "title=a", "@attr 1=/my/title a ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=a?b#\"c?\"", "@attr 5=102 a.*b.c\\\\? ")); YAZ_CHECK(tst_ccl_query(bibset, "z=a?b#\"c?\"", "@attr 5=104 a?b#c\\\\? ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=\\(", "( ")); YAZ_CHECK(tst_ccl_query(bibset, "z=\\(", "( ")); YAZ_CHECK(tst_ccl_query(bibset, "z=a b#", "@attr 5=104 \"a b#\" ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=\\\"", "\"\\\"\" ")); YAZ_CHECK(tst_ccl_query(bibset, "z=\\\"", "\"\\\"\" ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=.", ". ")); YAZ_CHECK(tst_ccl_query(bibset, "z=.", ". ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=\".\"", ". ")); YAZ_CHECK(tst_ccl_query(bibset, "z=\".\"", ". ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=?\\?", "@attr 5=102 .*\\\\? ")); YAZ_CHECK(tst_ccl_query(bibset, "z=?\\?", "@attr 5=104 ?\\\\? ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=\"?\\?\"", "?? ")); YAZ_CHECK(tst_ccl_query(bibset, "z=\"?\\?\"", "?? ")); YAZ_CHECK(tst_ccl_query(bibset, "reg=\\\\", "\\\\ ")); YAZ_CHECK(tst_ccl_query(bibset, "z=\\\\", "\\\\ ")); YAZ_CHECK(tst_ccl_query(bibset, "\\\\", "@attr 4=2 @attr 1=1016 \\\\ ")); YAZ_CHECK(tst_ccl_query(bibset, "comb=a", "@or @attr 4=2 @attr 1=1016 a " "@attr 1=/my/title a ")); YAZ_CHECK(tst_ccl_query(bibset, "a? b?", "@and @attr 5=1 @attr 4=2 @attr 1=1016 a " "@attr 5=1 @attr 4=2 @attr 1=1016 b ")); YAZ_CHECK(tst_ccl_query(bibset, "\"a\"? \"b?\"", "@and @attr 5=1 @attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b? ")); YAZ_CHECK(tst_ccl_query(bibset, "@and", "@attr 4=2 @attr 1=1016 \\@and ")); YAZ_CHECK(tst_ccl_query(bibset, "a@and", "@attr 4=2 @attr 1=1016 a@and ")); YAZ_CHECK(tst_ccl_query(bibset, "}", "@attr 4=2 @attr 1=1016 } ")); YAZ_CHECK(tst_ccl_query(bibset, "{", "@attr 4=2 @attr 1=1016 \"{\" ")); YAZ_CHECK(tst_ccl_query(bibset, "\"a b c\"", "@attr 4=1 @attr 1=1016 \"a b c\" ")); YAZ_CHECK(tst_ccl_query(bibset, "\"a b c \"", "@attr 4=1 @attr 1=1016 \"a b c \" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a", "@attr 4=2 a ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a b", "@attr 4=2 \"a b\" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a b \"c d\"", "@and @attr 4=2 \"a b\" @attr 4=1 \"c d\" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a b \"c\"", "@attr 4=2 \"a b c\" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a b \"\"", "@attr 4=2 \"a b \" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=a \"b c\" d", "@and @and " "@attr 4=2 a @attr 4=1 \"b c\" @attr 4=2 d ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=\"a b c\"", "@attr 4=1 \"a b c\" ")); YAZ_CHECK(tst_ccl_query(bibset, "ag=\"a b c\" \"d e\"", "@and @attr 4=1 \"a b c\" @attr 4=1 \"d e\" ")); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a", "@attr 1=2 a ")); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a b", "@or " "@and @attr 1=2 a @attr 1=2 b @attr 1=2 \"a b\" ")); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a b c", "@or @or " "@and " "@attr 1=2 a " "@or @and @attr 1=2 b @attr 1=2 c " "@attr 1=2 \"b c\" " "@and @attr 1=2 \"a b\" @attr 1=2 c " "@attr 1=2 \"a b c\" ")); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a?", 0)); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a b?", 0)); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a b c?", 0)); YAZ_CHECK(tst_ccl_query(bibset, "splitlist=a b c d?", 0)); YAZ_CHECK(tst_ccl_query(bibset, "s2=a", "@or @attr 1=2 a @attr 1=3 a ")); YAZ_CHECK(tst_ccl_query(bibset, "s2=a b", "@or " "@and " "@or @attr 1=2 a @attr 1=3 a " "@or @attr 1=2 b @attr 1=3 b " "@or @attr 1=2 \"a b\" @attr 1=3 \"a b\" ")); YAZ_CHECK(tst_ccl_query(bibset, "s2=a? b", 0)); YAZ_CHECK(tst_ccl_query(bibset, "s2=a b?", 0)); YAZ_CHECK(tst_ccl_query(bibset, "s2=a b? c", 0)); YAZ_CHECK(tst_ccl_query(bibset, "z=(ti=b)", "@attr 4=2 @attr 1=4 b ")); YAZ_CHECK(tst_ccl_query(bibset, "z=(ti=b?)", "@attr 5=1 @attr 4=2 @attr 1=4 b ")); YAZ_CHECK(tst_ccl_query(bibset, "z=(a? and ti=b? and c?)", "@and @and " "@attr 5=104 a? " "@attr 5=1 @attr 4=2 @attr 1=4 b " "@attr 5=104 c? ")); ccl_qual_rm(&bibset); } void tst2(void) { CCL_bibset bibset = ccl_qual_mk(); YAZ_CHECK(bibset); if (!bibset) return; ccl_qual_fitem(bibset, "u=4 s=pw t=l,r", "ti"); ccl_qual_fitem(bibset, "1=1016 s=al,pw t=z", "term"); YAZ_CHECK(tst_ccl_query(bibset, "a?#", "@attr 5=104 @attr 4=2 @attr 1=1016 a?# ")); YAZ_CHECK(tst_ccl_query(bibset, "a b?#", "@and @attr 4=2 @attr 1=1016 a @attr 5=104 @attr 4=2 @attr 1=1016 b?# ")); YAZ_CHECK(tst_ccl_query(bibset, "a*", "@attr 4=2 @attr 1=1016 a* ")); YAZ_CHECK(tst_ccl_query(bibset, "a?", "@attr 5=104 @attr 4=2 @attr 1=1016 a? ")); ccl_qual_fitem(bibset, "*", "@truncation"); YAZ_CHECK(tst_ccl_query(bibset, "a*", "@attr 5=104 @attr 4=2 @attr 1=1016 a? ")); YAZ_CHECK(tst_ccl_query(bibset, "a?", "@attr 4=2 @attr 1=1016 a? ")); ccl_qual_fitem(bibset, "?", "@mask"); YAZ_CHECK(tst_ccl_query(bibset, "a?", "@attr 5=104 @attr 4=2 @attr 1=1016 a# ")); ccl_qual_fitem(bibset, "", "@mask"); ccl_qual_fitem(bibset, "", "@truncation"); YAZ_CHECK(tst_ccl_query(bibset, "a?#", "@attr 4=2 @attr 1=1016 a?# ")); ccl_qual_fitem(bibset, "og", "@and"); ccl_qual_fitem(bibset, "eller", "@or"); ccl_qual_fitem(bibset, "ikke", "@not"); YAZ_CHECK(tst_ccl_query(bibset, "a og b eller c ikke d", "@not @or @and @attr 4=2 @attr 1=1016 a " "@attr 4=2 @attr 1=1016 b " "@attr 4=2 @attr 1=1016 c " "@attr 4=2 @attr 1=1016 d ")); ccl_qual_rm(&bibset); } void tst3(void) { CCL_bibset b = ccl_qual_mk(); YAZ_CHECK(b); if (!b) return; ccl_qual_fitem(b, "2=102", "rk"); ccl_qual_fitem(b, "1=9903 r=r", "lex"); ccl_qual_fitem(b, "4=109 r=o", "st-numeric"); YAZ_CHECK(tst_ccl_query(b, "rk=(lex=9)", "@attr 2=3 @attr 1=9903 9 ")); YAZ_CHECK(tst_ccl_query(b, "rk=(lex>9)", "@attr 2=5 @attr 1=9903 9 ")); YAZ_CHECK(tst_ccl_query(b, "rk=(lex,st-numeric=300-600)", "@and " "@attr 2=4 @attr 4=109 @attr 1=9903 300 " "@attr 2=2 @attr 4=109 @attr 1=9903 600 ")); YAZ_CHECK(tst_ccl_query(b, "rk=(lex=9) and b", "@and @attr 2=3 @attr 1=9903 9 b ")); YAZ_CHECK(tst_ccl_query(b, "rk=(lex=9 and b)", "@and @attr 2=3 @attr 1=9903 9 @attr 2=102 b ")); ccl_qual_rm(&b); } void tst_addinfo(void) { const char *addinfo; int r; CCL_bibset bibset = ccl_qual_mk(); r = ccl_qual_fitem2(bibset, "u=4 s=pw t=l,r", "ti", &addinfo); YAZ_CHECK(r == 0 && addinfo == 0); r = ccl_qual_fitem2(bibset, "1=1016 s=al,pw t=z", "term", &addinfo); YAZ_CHECK(r == 0 && addinfo == 0); r = ccl_qual_fitem2(bibset, "x=", "term", &addinfo); YAZ_CHECK(r != 0 && addinfo != 0); r = ccl_qual_fitem2(bibset, "12=3", "term", &addinfo); YAZ_CHECK(r == 0 && addinfo == 0); r = ccl_qual_fitem2(bibset, "ab=3", "term", &addinfo); YAZ_CHECK(r != 0 && addinfo != 0); r = ccl_qual_fitem2(bibset, "x=ab", "term", &addinfo); YAZ_CHECK(r != 0 && addinfo != 0); r = ccl_qual_fitem2(bibset, "s=ab", "term", &addinfo); YAZ_CHECK(r == 0 && addinfo == 0); ccl_qual_rm(&bibset); } int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst1(0); tst1(1); tst1(2); tst1(3); tst2(); tst3(); tst_addinfo(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marccol4.u8.1.lst0000664000175000017500000000234114152153071013227 0000000000000001357nas a2200313 a 4500 001 2007210635 003 DLC 005 20071005153240.0 008 071005c200u9999ja | | d0jpn 010 $a 2007210635 035 $a (OCoLC)173684089 040 $a DLC $c DLC $d DLC 042 $a lc 043 $a a-ja--- 050 00 $a T27.J32 $b S83a 066 $c $1 110 2 $6 880-01 $a SangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo. $b Shikoku Sangakukan Renkei SentaÌ„. 245 10 $6 880-02 $a Shikoku Sangakukan Renkei Sentā̄ katsudo hokoku. 246 11 $a Activity report 260 $6 880-03 $a Kagawa-ken Takamatsu-shi : $b SangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo Shikoku Sangakukan Renkei SentaÌ„ 500 $a Description based on: 2005; title from cover. 610 20 $a SangyoÌ„ Gijutsu SoÌ„goÌ„ KenkyuÌ„jo. $b Shikoku Sangakukan Renkei SentaÌ„ $v Periodicals. 650 0 $a Technology $z Japan $v Periodicals. 650 0 $a Technological innovations $z Japan $v Periodicals. 850 $a DLC 880 2 $6 110-01/$1 $a 産業技術ç·åˆç ”究所. $b 四国産学官連æºã‚»ãƒ³ã‚¿ãƒ¼. 880 10 $6 245-02/$1 $a 四国産学官連æºã‚»ãƒ³ã‚¿Ì„̄ー活動報告. 880 $6 260-03/$1 $a 香å·çœŒé«˜æ¾å¸‚ : $b 産業技術ç·åˆç ”究所研究所四国産学官連æºã‚»ãƒ³ã‚¿ãƒ¼. 880 24 $6 610-00/$1 $a 産業技術ç·åˆç ”究所. $b 四国産学官連æºã‚»ãƒ³ã‚¿Ì„̄ー $v Periodicals. yaz-5.31.1/test/xml2marc3.xml.marc0000664000175000017500000000162214157607106013571 0000000000000000914naa a2200337 450 001001700000004000900017008002400026009001000050041000800060041000800068097000700076245003300083300002600116557003300142630001600175630001300191633001000204633000900214648006100223648001600284648005400300J01000600354BAS000500360LKR004200365CAT003000407CAT003000437CAT003000467CAT003900497CAT002600536UID001400562 aa00001508fa airn a1991bxxlnortav9 aagxx anor deng00a06 aByfornyelse ved Ibsen-Ringen bfarvefotobplanbsnit aByggekunstj1991v1/2k41-45 fbyfornyelse fsanering fNorge fOslo aTelje Torp Aasen ArkitektkontorcKristian Augustsgate 7B aEng, Dagfin ranlund, TomcKristian AugustsgatecPilestredet 19 aa 0 aITMlARK50b0000145y1991i1/2k41-45 abc20020111lARK01h2002 abc20020111lARK01h2116 abc20021002lARK01h1000 aICLLOADb00c20021122lARK01h1948 c20030618lARK01h1330 aa00001508yaz-5.31.1/test/xml2marc10.xml.marc0000664000175000017500000000502314157607106013646 0000000000000002579nam a22001810 450 0010009000000050017000090080041000260840015000672450045000822600012001275000237001395000358003765000132007345040275008665050082011415201031012235460143022542152877320180924151503.0000000s1996 dk |||| 00| | dan d a08.00002z00aTegnsæt-test til Indvandrerbiblioteket. b[S.n.]. a, Æ¡, Æ , ư, Ư, slavisk bødt tegn: ʹt, ʹ, ʹd, ʹT, ʹD,nyt:skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ , η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚. a(under stjerne) eller à (ved aigu)?, aigu: á, â, ñ, dobbelt tilde: ~%Tn, aÌ„ NYT: slavisk hÃ¥rdt tegn: ʺ, ʺo, ʺa, ʺO. ayn: ta%Ya. dobbelt tilde: ã%Ta, ~%T, ñ%Tn. ligatur: a︠a︡. aigu: med tegn (nederste) á, 'A, ú, í, 'I, ó, Ó, ý, Ã, é, É aigu med ̈á, ú, í, é. grave med tegn: à, À, ù, Ù, yÌ€ ò, Ã’, ì, ÃŒ,è, È med .̈ ağ, ȧ, ä, hacek: aÌŒ, Ã¥, ligatur: a︠ a︡, kÌ•, oÌ‹, ç Ç, sÌœ, aÌ, NYT skema 7: ↑, ↓, \, dobbelt understreg: k̳. askema 4: á, 'A, é, É, í, 'I, ó, ý, Ã, Ã, IÌ, Ú, grave: à, À, è, È, ì, ÃŒ, ò,NYT: aigu: Ã, Ú el 'A, 'U. hÃ¥rd blank: a a. promille: ‰. højrepil: →. 0303: ù, Ù, \ (backslash), promille: ‰, obb. aigu: oÌ‹, OÌ‹, uÌ‹, UÌ‹, ợ, ự, ở, Æ¡Ì.0 aaÌ®, højrekrog: ų ǫ, tÌ£, t̤, tÌ¥, k̳, Ë (trema), aÌ¥, a̳, a̦, ë8 aa, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r ,s, t, u, v, w, x, y, z, æ ,ø, Ã¥, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Æ, Ø, Ã…, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, +, !, "a", #, , %, &, /, (, ), =. ?, á, à, ü, £, $, [, ], {, }, â, ñ, <, >, \, ., -, ;, :, ,̲ ꜳ, Ꜳ, ü, Ü, ä, Ä, ö, Ö, ß, ĸ, ð, Ä‘, Ã, þ, Þ, Å“, Å’, Å‚, Å, ı % aÌ®, ą, aÌ£, a̤, aÌ¥, a̳, a̦, ë, , Ã’, 'u, Ù, yÌ€, circonflex: â, Â, ê, Ê, î, ÃŽ, ô, Ô, û, Û, tilde: ã, Ã, ñ, Ñ, õ, Õ, ë, Ë, Ï, ı̈, ÿ, Ë, Ï, ä, ç Ç, ş, blank: a a, !, ", ', (, ), ,, -, ., /, :, ;, ?, », «, [, ], {, }, ¿, ¡, —, ̉ủ, a a, skema 6: #, $, %, &, *, +, <, >, =, ≠, ·, â™­, ®, ±, £, aragraf kan ikke °, †, ‰, ∫, ∞, √, ÷, →, ×, skema 7: ↑. ↓, \, skema 1: Γ, Δ, Θ, Λ, Ξ, Π, Σ, Φ, Ω, α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν, ξ, ο, Ï€, Ï, σ, Ï„, Ï…, φ, χ, Ψ, ω, Ï‚ vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘. aslavisk hÃ¥rdt tegn: #2, ʺo, ʺO, alif: ʼ, ayn: Ê»a, taÊ»a, ̲, grave: 'a NYT: vietn: Ả, Æ¡, ư, ỏ, ờ, ừ, Æ¡Ì, ưÌ, Ã, Ä‘.yaz-5.31.1/test/marc6.json.marc0000664000175000017500000000055614157607106013147 0000000000000000366nam 22001698a 4500001001300000003000400013005001700017008004100034010001700075040001300092050001200105100001700117245003000134260001200164263000900176300001100185 11224466 DLC00000000000000.0910710c19910701nju 00010 eng  a 11224466  aDLCcDLC00a123-xyz10aJack Collins10aHow to program a computer1 aPenguin a8710 ap. cm.yaz-5.31.1/test/xml2marc9.xml0000664000175000017500000001561514157607106012665 00000000000000 02075cas a22005055a 4500 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara 2005336282-3-7-0709110002-p----- (OCoLC)1704901647undserialsuncip19n-oclcsercDLCDLCDLCarafrelcf-mr---IN PROCESS(3880-01Qaḍāʼ al-usrah :majallah mutakhaṣṣiṣah /Wizārat al-ʻAdl.Justice de la famille880-02Majallat Qaḍāʼ al-usrah<2006>880-03al-Rabāṭ :Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-Qaḍāʼīyah,2005-v. :ill. ;24 cm.Irregular (semiannual)880-04al-ʻAdad 1. (Yūlyūz 2005)-880-05Manshūrāt Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-QaḍāʼīyahSome issues have also a distinctive title.Latest issue consulted: al-ʻAdad 3. (Dujanbir 2006).Chiefly in Arabic; some French.Domestic relations (Islamic law)Morocco.Divorce (Islamic law)Marriage lawMorocco.Law reports, digests, etc.Morocco.880-06Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-Qaḍāʼīyah.880-07Morocco.Wizārat al-ʻAdl.DLC245-01/(3/rقضاء الأسرة :مجلة متخصصة /وزارة العدل.246-02/(3/rمجلة قضاء الأسرة<2006>260-03/(3/rالرباط :جمعية نشر المعلومة القانونية والقضائية،2005-362-04/(3/rالعدد 1. (يوليوز 2005)-490-05/(3/rمنشورات جمعية نشر المعلومة القانونية والقضائية710-06/(3/rجمعية نشر المعلومة القانونية والقضائية.710-07/(3/rMorocco.وزارة العدل.LC Cairo Office [we 45] yaz-5.31.1/test/marc4.xml.marc0000664000175000017500000000003214157607106012761 00000000000000000260091a2200025003370 yaz-5.31.1/test/tmarc9.xml0000664000175000017500000000751314157607106012244 00000000000000 02075cas a22005055a 4500 2005336282 DLC 20070911033614.0 070910c20059999mr uu p f0 0ara 2005336282 -3-7-0709110002-p----- (OCoLC)170490164 7 und serials u ncip 19 n-oclcserc DLC DLC DLC ara fre lc f-mr--- IN PROCESS (3 880-01 QadÌ£āʼ al-usrah : majallah mutakhasÌ£sÌ£isÌ£ah / WizaÌ„rat al-Ê»Adl. Justice de la famille 880-02 Majallat QadÌ£āʼ al-usrah <2006> 880-03 al-RabaÌ„tÌ£ : JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah, 2005- v. : ill. ; 24 cm. Irregular (semiannual) 880-04 al-Ê»Adad 1. (YuÌ„lyuÌ„z 2005)- 880-05 ManshuÌ„raÌ„t JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah Some issues have also a distinctive title. Latest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). Chiefly in Arabic; some French. Domestic relations (Islamic law) Morocco. Divorce (Islamic law) Marriage law Morocco. Law reports, digests, etc. Morocco. 880-06 JamÊ»iÌ„yat Nashr al-MaÊ»luÌ„mah al-QaÌ„nuÌ„niÌ„yah wa-al-QadÌ£āʼiÌ„yah. 880-07 Morocco. WizaÌ„rat al-Ê»Adl. DLC 245-01/(3/r قضاء الأسرة : مجلة متخصصة / وزارة العدل. 246-02/(3/r مجلة قضاء الأسرة <2006> 260-03/(3/r الرباط : جمعية نشر المعلومة القانونية والقضائية، 2005- 362-04/(3/r العدد 1. (يوليوز 2005)- 490-05/(3/r منشورات جمعية نشر المعلومة القانونية والقضائية 710-06/(3/r جمعية نشر المعلومة القانونية والقضائية. 710-07/(3/r Morocco. وزارة العدل. LC Cairo Office [we 45] yaz-5.31.1/test/test_rpn2solr.c0000664000175000017500000001762014152153071013277 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include static int compare(solr_transform_t ct, const char *pqf, const char *solr) { int ret = 0; ODR odr = odr_createmem(ODR_ENCODE); WRBUF w = wrbuf_alloc(); Z_RPNQuery *q = p_query_rpn(odr, pqf); if (q) { int r = solr_transform_rpn2solr_wrbuf(ct, w, q); if (r != 0) { /* transform error */ yaz_log(YLOG_LOG, "%s -> Error %d", pqf, r); if (!solr) /* also expected error? */ ret = 1; } else if (r == 0) { yaz_log(YLOG_LOG, "%s -> %s", pqf, wrbuf_cstr(w)); if (solr && !strcmp(wrbuf_cstr(w), solr)) ret = 1; else { yaz_log(YLOG_WARN, " expected: %s", solr ? solr : "null"); yaz_log(YLOG_WARN, " got: %s", wrbuf_cstr(w)); } } } wrbuf_destroy(w); odr_destroy(odr); return ret; } static void tst1(void) { solr_transform_t ct = solr_transform_create(); YAZ_CHECK(compare(ct, "@or a @and b c", "a OR (b AND c)")); YAZ_CHECK(compare(ct, "abc", "abc")); YAZ_CHECK(compare(ct, "\"a b c\"", "\"a b c\"")); YAZ_CHECK(compare(ct, "\"\"", "\"\"")); YAZ_CHECK(compare(ct, "@not a b", "a AND NOT b")); YAZ_CHECK(compare(ct, "@and @or a b c", "(a OR b) AND c")); YAZ_CHECK(compare(ct, "@and a b", "a AND b")); YAZ_CHECK(compare(ct, "@or a b", "a OR b")); YAZ_CHECK(compare(ct, "@or a @and b c", "a OR (b AND c)")); YAZ_CHECK(compare(ct, "@or @and a b @and c d", "(a AND b) OR (c AND d)")); YAZ_CHECK(compare(ct, "@or @or a b @or c d", "(a OR b) OR (c OR d)")); YAZ_CHECK(compare(ct, "@or @or @or a b @or c d @or e f", "((a OR b) OR (c OR d)) OR (e OR f)")); YAZ_CHECK(compare(ct, "@and @and a b @and c d", "(a AND b) AND (c AND d)")); YAZ_CHECK(compare(ct, "@attr 1=field abc", "field:abc")); YAZ_CHECK(compare(ct, "@attr 1=field \"a b c\"", "field:\"a b c\"")); YAZ_CHECK(compare(ct, "@attr 1=4 abc", 0)); /* should fail */ solr_transform_define_pattern(ct, "index.title", "1=4"); YAZ_CHECK(compare(ct, "@attr 1=4 abc", "title:abc")); solr_transform_define_pattern(ct, "index.foo", "1=bar"); YAZ_CHECK(compare(ct, "@attr 1=bar abc", "foo:abc")); /* Truncation */ YAZ_CHECK(compare(ct, "@attr 5=1 water", "water*")); YAZ_CHECK(compare(ct, "@attr 5=2 water", "*water")); YAZ_CHECK(compare(ct, "@attr 5=3 water", "*water*")); YAZ_CHECK(compare(ct, "@attr 5=100 water", "water")); YAZ_CHECK(compare(ct, "@attr 5=101 water", 0)); YAZ_CHECK(compare(ct, "@attr 5=104 w#ter", "w?ter")); YAZ_CHECK(compare(ct, "@attr 5=104 w#t?r", "w?t*r")); YAZ_CHECK(compare(ct, "@attr 5=104 w#te?", "w?te*")); YAZ_CHECK(compare(ct, "@attr 5=104 w\\#te?", "w?te*")); /* PQF eats # */ YAZ_CHECK(compare(ct, "@attr 5=104 w\\\\#te?", "w#te*")); /* reserved characters */ YAZ_CHECK(compare(ct, "@attr 5=104 \\\"\\\\\\\\", "\\\"" "\\\\")); YAZ_CHECK(compare(ct, "@attr 5=104 \\\"\\\\\\\\\\\"", "\\\"" "\\\\" "\\\"")); YAZ_CHECK(compare(ct, "@attr 5=104 \\\"\\\\", "\\\"\\\\")); YAZ_CHECK(compare(ct, "@attr 5=104 \\{:\\}", "\\{\\:\\}")); YAZ_CHECK(compare(ct, "@attr 5=104 \\\"\\\\\\\\\\\"", "\\\"" "\\\\" "\\\"")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=1 1980", "date:[* TO 1980}")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=2 1980", "date:[* TO 1980]")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=3 1980", "date:1980")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=4 1980", "date:[1980 TO *]")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=5 1980", "date:{1980 TO *]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=2 234 @attr 1=date @attr 2=4 1990", "date:[1990 TO 234]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=2 345 @attr 1=date @attr 2=4 234", "date:[234 TO 345]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=5 234 @attr 1=titl @attr 2=2 1990", "date:{234 TO *] AND titl:[* TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=5 234 @attr 1=date @attr 2=2 1990", "date:{234 TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=4 234 @attr 1=date @attr 2=2 1990", "date:[234 TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=5 234 @attr 1=date @attr 2=1 1990", "date:{234 TO 1990}")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=4 234 @attr 1=date @attr 2=2 1990", "date:[234 TO 1990]")); YAZ_CHECK(compare(ct, "@or @attr 1=date @attr 2=4 234 @attr 1=date @attr 2=2 1990", "date:[234 TO *] OR date:[* TO 1990]")); YAZ_CHECK(compare(ct, "@or @attr 1=date @attr 2=2 234 @attr 1=date @attr 2=4 1990", "date:[* TO 234] OR date:[1990 TO *]")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=1 1980", "date:[* TO 1980}")); YAZ_CHECK(compare(ct, "@attr 1=date @attr 2=2 1980", "date:[* TO 1980]")); YAZ_CHECK(compare(ct, "@and @attr 1=date @attr 2=2 234 @attr 1=date @attr 2=4 1990", "date:[1990 TO 234]")); solr_transform_close(ct); } static void tst2(void) { WRBUF w = wrbuf_alloc(); solr_transform_t ct = 0; const char *srcdir = getenv("srcdir"); if (srcdir) { wrbuf_puts(w, srcdir); wrbuf_puts(w, "/"); } wrbuf_puts(w, "../etc/pqf.properties"); ct = solr_transform_open_fname(wrbuf_cstr(w)); YAZ_CHECK(compare(ct, "@attr 1=4 abc", "dc.title:abc")); #if 0 YAZ_CHECK(compare(ct, "@attr 1=4 @attr 4=108 abc", "dc.title:abc")); #endif YAZ_CHECK(compare(ct, "@attr 1=4 @attr 3=1 @attr 6=1 abc", "dc.title:abc")); YAZ_CHECK(compare(ct, "@attr 1=4 @attr 4=1 @attr 6=1 abc", "dc.title:abc")); YAZ_CHECK(compare(ct, "@attr 1=1016 abc", "abc")); /* Date check */ YAZ_CHECK(compare(ct, "@attr 1=30 @attr 2=1 1980", "dc.date:[* TO 1980}")); YAZ_CHECK(compare(ct, "@attr 1=30 @attr 2=2 1980", "dc.date:[* TO 1980]")); YAZ_CHECK(compare(ct, "@attr 1=30 @attr 2=3 1980", "dc.date:1980")); YAZ_CHECK(compare(ct, "@attr 1=30 @attr 2=4 1980", "dc.date:[1980 TO *]")); YAZ_CHECK(compare(ct, "@attr 1=30 @attr 2=5 1980", "dc.date:{1980 TO *]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=2 234 @attr 1=30 @attr 2=4 1990", "dc.date:[1990 TO 234]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=2 345 @attr 1=30 @attr 2=4 234", "dc.date:[234 TO 345]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=5 234 @attr 1=4 @attr 2=2 1990", "dc.date:{234 TO *] AND dc.title:[* TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=5 234 @attr 1=30 @attr 2=2 1990", "dc.date:{234 TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=4 234 @attr 1=30 @attr 2=2 1990", "dc.date:[234 TO 1990]")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=5 234 @attr 1=30 @attr 2=1 1990", "dc.date:{234 TO 1990}")); YAZ_CHECK(compare(ct, "@and @attr 1=30 @attr 2=4 234 @attr 1=30 @attr 2=2 1990", "dc.date:[234 TO 1990]")); YAZ_CHECK(compare(ct, "@or @attr 1=30 @attr 2=4 234 @attr 1=30 @attr 2=2 1990", "dc.date:[234 TO *] OR dc.date:[* TO 1990]")); YAZ_CHECK(compare(ct, "@or @attr 1=30 @attr 2=2 234 @attr 1=30 @attr 2=4 1990", "dc.date:[* TO 234] OR dc.date:[1990 TO *]")); #if 0 YAZ_CHECK(compare(ct, "@attr 2=103 @attr 1=_ALLRECORDS 1", "solr.allRecords=1")); #endif YAZ_CHECK(compare(ct, "@attr 1=500 abc", 0)); solr_transform_close(ct); wrbuf_destroy(w); } int main (int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); YAZ_CHECK_LOG(); tst1(); tst2(); YAZ_CHECK_TERM; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/test/marccol3.u8.1.lst0000664000175000017500000000227314152153071013232 0000000000000001313cam a2200349ua 4500 001 82129893 003 DLC 005 20070808062021.0 008 841102s1980 cc a 000 0 chi 035 $a (DLC)5011703 010 $a 82129893 035 $a (CStRLIN)DCLP84-B3561 040 $a DLC-R $c DLC-R $d CStRLIN $d DLC 050 00 $a TL546.7 $b .S48 1980 066 $c $1 082 00 $a 629.4 $2 19 100 1 $6 880-01 $a Shen, Guoliang. 245 10 $6 880-02 $a Yu zhou hang xing he shu li hua / $c Shen Guoliang wen ; Chen Genxiang tu. 250 $6 880-03 $a Di 1 ban. 260 $6 880-04 $a [Canton] : $b Guangdong ren min chu ban she : $b Guangdong sheng xin hua shu dian fa xing, $c 1980. 300 $a 199 p. : $b ill. ; $c 19 cm. 440 0 $6 880-05 $a Ke xue zhi shi pu ji cong shu 650 0 $a Astronautics $x Popular works. 700 1 $6 880-06 $a Chen, Genxiang. 880 1 $6 100-01/1 $a 沈 国良. 880 10 $6 245-02/1 $a 宇宙 航行 和 数ç†åŒ– / $c 沈 国良 文 ; 陈 根祥 图. 880 $6 250-03/1 $a 第1版. 880 $6 260-04/1 $a [Canton] : $b 广东 人民 出版社 : $b 广东çœã€€æ–°è¯ã€€æ›¸åº— å‘行, $c 1980. 880 0 $6 440-05/1 $a 科学 知识 普åŠã€€ä¸›ä¹¦ 880 1 $6 700-06/1 $a 陈 根祥. 906 $a 0 $b cbc $c orignew $d u $e ncip $f 19 $g y-rlinjack 985 $a spacingreload yaz-5.31.1/test/tmarc11.xml.marc0000664000175000017500000000126614157607106013235 0000000000000000694nam a22002054 450 0010009000000050017000090080041000262450037000672600012001045050070001165050052001865050046002385050051002845050033003355050037003685050024004055050022004295050016004517400021004672028538920180924145927.0000000s1992 dk |||| 00| | dan d00ategnsæt test, diakritiske tegn. b[S.n.].0 a:;̲;Ì€;Ì;Ì‚~;;Ì„;̆;̇;̈;ÌŒ;ÌŠ;︠;︡;Ì•;Ì‹;̧;̨;Ì£;̳;̦;̈0 aaigu: á;Ã;é;É;í;IÌ;ó;Ó;ú;Ú;ý;Ã;nÌ;0 agrave: à;À;è;È;ì;ÃŒ;ò;Ã’;ù;Ù;nÌ€;0 acirconflex: â;Â;ê;Ê;î;ÃŽ;ô;Ô;û;Û;nÌ‚;0 atilde: ã;Ã;ñ;Ñ;õ;Õ;~m;0 atrema: ë;Ë;ı̈;Ï;ÿ;n̈;0 acedille: ç;Ç;ņ;0 aomlyd: ä;ë;n̈;0 asnabel a: @0 asnabel @ snabel.yaz-5.31.1/test/marc5.marc0000664000175000017500000000075414157607106012176 0000000000000000492nam a22001455a 450000100100000000500170001000800410002710000520006824501040012025000140022426000230023830000160026165000510027765000180032800027748520051026111436.0050413s1894 gr 000 0 gre d1 aΜαÏοÏδης, Κωνσταντίνος Ιω10aΕλληνικόν κÏυπτογÏαφικόν λεξικόν /cΚωνστ. Ι. ΜαÏοÏδης. 2η εκδ. aΑθήνα,c1894. a248 σελ. 0aGreek language, ModernxDialectsvDictionaries 0aCryptography.yaz-5.31.1/test/test_log_thread.c0000664000175000017500000000304214152153071013617 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #if YAZ_POSIX_THREADS #include static void *t_loop2(void *vp) { int i, sz = 10; for (i = 0; i #endif #include #include #include #include #include #include #include #include #if YAZ_HAVE_XML2 #include #include #if YAZ_HAVE_XSLT #include #endif yaz_record_conv_t conv_configure(const char *xmlstring, WRBUF w) { xmlDocPtr doc = xmlParseMemory(xmlstring, strlen(xmlstring)); if (!doc) { wrbuf_printf(w, "xmlParseMemory"); return 0; } else { xmlNodePtr ptr = xmlDocGetRootElement(doc); yaz_record_conv_t p = yaz_record_conv_create(); if (p) { const char *srcdir = getenv("srcdir"); if (srcdir) yaz_record_conv_set_path(p, srcdir); } if (!ptr) { wrbuf_printf(w, "xmlDocGetRootElement"); yaz_record_conv_destroy(p); p = 0; } else if (!p) { wrbuf_printf(w, "yaz_record_conv_create"); } else { int r = yaz_record_conv_configure(p, ptr); if (r) { wrbuf_puts(w, yaz_record_conv_get_error(p)); yaz_record_conv_destroy(p); p = 0; } } xmlFreeDoc(doc); return p; } } int conv_configure_test(const char *xmlstring, const char *expect_error, yaz_record_conv_t *pt) { WRBUF w = wrbuf_alloc(); int ret; yaz_record_conv_t p = conv_configure(xmlstring, w); if (!p) { if (expect_error && !strcmp(wrbuf_cstr(w), expect_error)) ret = 1; else { ret = 0; printf("%s\n", wrbuf_cstr(w)); } } else { if (expect_error) ret = 0; else ret = 1; } if (pt) *pt = p; else if (p) yaz_record_conv_destroy(p); wrbuf_destroy(w); return ret; } static void tst_configure(void) { YAZ_CHECK(conv_configure_test("" "", "Element : " "unsupported element ", 0)); #if YAZ_HAVE_XSLT YAZ_CHECK(conv_configure_test("" "" "" "", "Element : attribute 'inputformat' " "required", 0)); YAZ_CHECK(conv_configure_test("" "" "", "Element : attribute 'stylesheet' " "expected", 0)); #endif YAZ_CHECK(conv_configure_test("" "" "" "", #if YAZ_HAVE_XSLT 0 #else "Element : unsupported element " #endif , 0)); } static int conv_convert_test(yaz_record_conv_t p, const char *input_record, const char *output_expect_record) { int ret = 0; if (!p) { YAZ_CHECK(ret); } else { WRBUF output_record = wrbuf_alloc(); int r = yaz_record_conv_record(p, input_record, strlen(input_record), output_record); if (r) { if (output_expect_record) { printf("yaz_record_conv error=%s\n", yaz_record_conv_get_error(p)); ret = 0; } else ret = 1; } else { if (!output_expect_record) { ret = 0; } else if (strcmp(output_expect_record, wrbuf_cstr(output_record))) { ret = 0; printf("got-output_record len=%ld: %s\n", (long) wrbuf_len(output_record), wrbuf_cstr(output_record)); printf("output_expect_record len=%ld %s\n", (long) strlen(output_expect_record), output_expect_record); } else { ret = 1; } } wrbuf_destroy(output_record); } return ret; } static int conv_convert_test_iter(yaz_record_conv_t p, const char *input_record, const char *output_expect_record, int num_iter) { int i; int ret; for (i = 0; i < num_iter; i++) { ret = conv_convert_test(p, input_record, output_expect_record); if (!ret) break; } return ret; } static void tst_convert1(void) { yaz_record_conv_t p = 0; const char *marcxml_rec = "\n" " 00080nam a22000498a 4500\n" " 11224466 \n" " \n" " 11224466 \n" " \n" "\n"; const char *tmarcxml_rec = "\n" " 00080nam a22000498a 4500\n" " 11224466 \n" " \n" " 11224466 \n" " \n" "\n"; const char *iso2709_rec = "\x30\x30\x30\x38\x30\x6E\x61\x6D\x20\x61\x32\x32\x30\x30\x30\x34" "\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x31\x30\x30\x30\x31\x37\x30\x30\x30\x31\x33" "\x1E\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x36\x20\x1E\x20\x20" "\x1F\x61\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x36\x20\x1E\x1D"; const char *solrmarc_rec = "\x30\x30\x30\x38\x30\x6E\x61\x6D\x20\x61\x32\x32\x30\x30\x30\x34" "\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x31\x30\x30\x30\x31\x37\x30\x30\x30\x31\x33" "#30;\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x36\x20#30;\x20\x20" "#31;\x61\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x36\x20#30;#29;"; const char *raw_rec = /* raw is xml-string of marcxml_rec */ "<record xmlns=\"http://www.loc.gov/MARC21/slim\">\n" " <leader>00080nam a22000498a 4500</leader>\n" " <controlfield tag=\"001\"> 11224466 </controlfield>\n" " <datafield tag=\"010\" ind1=\" \" ind2=\" \">\n" " <subfield code=\"a\"> 11224466 </subfield>\n" " </datafield>\n" "</record>\n\n"; YAZ_CHECK(conv_configure_test("" "" "", 0, &p)); YAZ_CHECK(conv_convert_test(p, marcxml_rec, iso2709_rec)); YAZ_CHECK(conv_convert_test(p, tmarcxml_rec, iso2709_rec)); yaz_record_conv_destroy(p); YAZ_CHECK(conv_configure_test("" "" "", 0, &p)); YAZ_CHECK(conv_convert_test(p, iso2709_rec, marcxml_rec)); yaz_record_conv_destroy(p); YAZ_CHECK(conv_configure_test("" "" "" "", 0, &p)); YAZ_CHECK(conv_convert_test(p, solrmarc_rec, marcxml_rec)); yaz_record_conv_destroy(p); YAZ_CHECK(conv_configure_test("" "" "" "" "" "", 0, &p)); YAZ_CHECK(conv_convert_test(p, marcxml_rec, marcxml_rec)); yaz_record_conv_destroy(p); YAZ_CHECK(conv_configure_test("" "" "" "" "" "", 0, &p)); YAZ_CHECK(conv_convert_test(p, marcxml_rec, marcxml_rec)); yaz_record_conv_destroy(p); YAZ_CHECK(conv_configure_test("" ") Document record render parameters for ZOOM - including base64 --- 5.7.3 2015/01/06 Fix application/x-www-form-urlencoded + empty YAZ-810 A SEGV occurred if Content-Type was "application/x-www-form-urlencoded" and empty content was supplied. Fix yaz-iconv man page for typos and incorrect example. YAZ-809 Fail hard if Bison is not found and is needed YAZ-808 --- 5.7.2 2014/12/16 Enable YAZ backtrace for programs YAZ-802 Update NMAKE makefile to use Visual Studio 2013 along with ICU 54.1, Libxml2 2.9.2, Libxslt 1.1.28. Fix daemon: parent process stops before child YAZ-806 Try to fix the situation where parent process stops before child has acknowledged it .. SIGUSR2 back! daemon: log message when keepalive stops. --- 5.7.1 2014/12/03 Fix yaz-marcdump segfault YAZ-801. Problem in YAZ 5.6.0/5.7.0 and would make yaz-marcdump crash when from-character set was issued. --- 5.7.0 2014/11/24 Dump backtrace in case of SIGABRT, SIGSEGV YAZ-787 New function yaz_enable_panic_backtrace which enables backtrace handler for current process. The handler will call backtrace always, then gdb to provide as much detail as possible. --- 5.6.0 2014/11/17 When marc-8 charset is specified when decoding MARC records, yaz-marcdump and ZOOM record render will inspect leader 9 and switch to UTF-8 (Unicode) if that holds 'a'. This changes behavior, but is considered safe because only MARC21 with leader 9='a' are Unicode. YAZ-800 Fix cs_put may reconnect if send fails. YAZ-798 --- 5.5.1 2014/11/03 Fix cannot build YAZ on jessie : libgnutls-dev is gone YAZ-797 --- 5.5.0 2014/10/27 Extended comstack with outgoing IP YAZ-795. For cs_create_host + cs_create_host_proxy the vhost may be followed by a outgoing host/IP. Separator is blank. --- 5.4.4 2014/10/20 Add YAZ_EXPORT to cql_transform_r fixes YAZ-793 . This issue fixes linker error with yazpp on Windows. --- 5.4.3 2014/10/08 Fix uri array may overflow in yaz_solr_encode_request YAZ-775 Fix PQF to Solr conversion may produce invalid Solr query YAZ-792 0 ptr reference in handling Solr response with error YAZ-791 Fix annoying warning about wrbuf_putc on newer GCC YAZ-789 Fix documentation about --installa option YAZ-788 --- 5.4.2 2014/08/26 daemon: properly report when receiving SIGUSR2 from child YAZ-785 --- 5.4.1 2014/08/21 xmalloc: throw assert for clearly invalid calls to malloc and improve diagnostics YAZ-783 YAZ-784 --- 5.4.0 2014/08/19 Stop building debs for Ubuntu raring, quantal, oneiric. CCL YAZ-781: for multiple use attributes in a specification the generated RPN will perform @or on each term. For spec: term u=31 u=1016 the CCL: t will generate: @or @attr 1=31 t @attr 1=1016 t log YAZ-780: avoid mixed log files by perform only one write(2) per log entry. CCL YAZ-779: combo qualifier should allow for forward references Fix buildconf.sh, automake too old on centos5 YAZ-778 Achieved by adding AM_PROG_CC_C_O and requiring AM 1.9 instead. The AM_PROG_CC_C_O is obsolete for newer AM, but 1.14 (Debian jessie) accepts it without a warning. --- 5.3.0 2014/07/11 GFS: client_query_charset conversion YAZ-777 This is a feature for Z39.50 clients that sends queries that are not UTF-8 encoded. WIth client_query_charset, GFS will convert from the encoding given to UTF-8. Echoed SRU arguments support YAZ-776 This is achieved with new function yaz_srw_get_pdu_e. ZOOM: expire times set for redis/memcached YAZ-772 For both redis and memcached option --expire=seconds sets expire time for a result-set/search. Default time is 600 seconds (10 minutes). --- 5.2.1 2014/06/26 No [rest of output is omitted] limit for yaz_log YAZ-774 Optimize icu_iter_get_org_info. Reduce calls to u_strToUTF8. For ICU testing, pass -o to yaz-icu. This will test the icu_iter_get_org_info function. Fix null ptr reference for freeReplyObject YAZ-773 --- 5.2.0 2014/06/12 Allow ZOOM caching using redis. New ZOOM option "redis" controls it. RPM: do not build with libmemcached support. The libmemcached library on CentOS 5/6 does not work reliably for us (redis to the rescue). configure: only allow libmemcached version 0.40 or later. That's the version on Debian squeeze. We recommend libmemcached version 1.0 or later. If that's not an option, consider redis. --- 5.1.3 2014/06/04 Fix dup ZOOM_EVENT_RECV_RECORD events for SRU/Solr YAZ-768 Fix zoom+memcached: present request out of range YAZ-767 --- 5.1.2 2014/05/30 CCL: add new qualifier r=omiteq which will omit relation=equals for ordered relations. This should be used in combination with either r=r or r=o. YAZ-766 GFS: prevent truncation/overflow in retrieval phase. YAZ-763 Solr: simplify yaz_solr_decode_response Solr: use different local var for string manipulation Solr: Get rid of hardcoded limit of extra_args Solr: encode lucene query type YAZ-736 Make sure the queries are treated as traditional "lucene", because that's what YAZ generates. Fix ZOOM HTTP redirect failing on Windows+Solaris YAZ-755 --- 5.1.1 2014/04/22 Build packages for Ubuntu Trusty Tahr 14.04 LTS wrbuf_cstr: fix off by one error. wrbuf_buf: make it always return non-NULL Also, wrbuf_buf will return same buffer as previous call to wrbuf_cstr. --- 5.1.0 2014/04/17 Doc: move main YAZ manual to book.xml; use nxml YAZ-758 zoomsh: offer option -a apdulog As we're used to from yaz-client and GFS based servers. ZOOM: new setting apdufile. Sets name of APDU file. If not given, existing setting apdulog takes effect. Add odr_setprint_noclose. It's like odr_setprint, but does not fclose at odr_destroy. Add wrbuf_cstr_null. Add re-entrant CQL/Solr/RPN query conversion functions. The re-entrant functions are: cql_transform_r, cql_transform_rpn2cql_stream_r, solr_transform_rpn2solr_stream_r. These have same functionality as cql_transform, cql_transform_rpn2cql_stream, solr_transform_rpn2solr_stream. They return the additional infomration as WRBUF to make them re-entrant. Remove CQL to Solr conversion and base solr_transform_t on cql_transform_t. The RPN to Solr is indeed in use. It uses exact same data structure as cql_transform_t. cql2pqf utility allows RPN to Solr conversion Fix assert in ZOOM when http connect fails YAZ-757 --- 5.0.22 2014/04/09 ZOOM: Call cs_rcvconnect during HTTP redirect YAZ-754 wrbuf_cstr: make it thread safe YAZ-753 yaz_log_init_file may take fd= to open log file at the FD given. --- 5.0.21 2014/03/21 Offer new utility function zget_AttributeList_use_string. New conversion step, solrmarc, for record conversion module. --- 5.0.20 2014/03/13 Fix gcrypt initialization for threaded mode. On systems were GnuTLS did not initialize gcrypt for threaded mode, wrbuf_sha1_write could throw an assert. --- 5.0.19 2014/03/10 Fix ZOOM_connection_Z3950_search: Assertion YAZ-750 The standalone ZOOM sort was completely broken since 5.0.13. ZOOM: generate event Connect rather than None for partial connect (in fact getaddrinfo resolving). ZOOM: only supply clientIP for InitRequest. Rather than for all APDU types. GFS: peer_name adds X-Forwarded/Client-IP to value YAZ-749 COMSTACK flag CS_FLAGS_DNS_NO_BLOCK. This will enable non-blocking getaddrinfo . This flag is passed to cs_create macro and cs_create_host, cs_create_host_proxy functions. ZOOM C uses this flag. YAZ-744 New "Facets" section in the documentation. --- 5.0.18 2014/02/27 Call exsltRegisterAll in yaz_init_globals, so that all applications using YAZ will have EXSLT things enabled. Use extraArgs in key for memcached ZOOM C caching YAZ-747. Update various URLs to the re-organized SRU pages at LoC. --- 5.0.17 2014/02/26 Fix ZOOM_connection_connect SEGVs if host==NULL YAZ-746. Problem introduced in 5.0.12. Fix: Setting env YAZ_LOG makes YAZ hang YAZ-745 yaz_init_gloabsl calls yaz_log_init_globals calls yaz_log_mask_str_x . Do not call yaz_init_globals from log_mask_str_x. Problem introduce in 5.0.15. --- 5.0.16 2014/02/25 tcpip/SSL COMSTACK: connect tries all getaddrinfo addresses YAZ-743 --- 5.0.15 2014/02/24 Fix gcrypt not properly initialized YAZ-740. --- 5.0.14 2014/02/19 Describe memcached option for ZOOM. ZOOM: throw present request out of range again YAZ-739 Was removed in YAZ 5.0.13. --- 5.0.13 2014/02/18 yaz_log MUTEX protected and pthread_atfork is used to avoid dead-lock with localtime_r when threads + fork is used (such as Metaproxy). yaz-config: quote some RHS values (that might include blanks) zoomsh: shows SearchResult-1 zoomsh: sortby command zoomsh: use proper list of connections and result sets YAZ-725 Avoid yaz_log in sigterm handler for GFS YAZ-737 Logging is still performed, but outside sig handler. New ZOOM C feature: result-set caching with memcached. Example: zoomsh "set memcached --server=memcachehost" "connect zurl" "search query" Remove SSL via OpenSSL support YAZ-732 Also deprecate two functions from comstack that aren't working with GnuTLS: cs_get_ssl, cs_set_ssl_ctx. Revert "Bison: use %name-prefix directive rather than -p option" --- 5.0.12 2014/01/22 Prefix URL with http:// if sru setting hints SRU/Solr mode YAZ-731 SRU GET/Solr base URLs may hold additional ?args YAZ-729 ZOOM option extraArgs already does this, though. It seems useful when dealing with Solr targets to limit by filter, eg. http://lui.indexdata.com:8080/solr4/select?fq=database:3902 Remove #fragment for HTTP request encoding YAZ-730 Doc: Update list of DLLs/LIBs Doc: update href link to Unix utils and Git. --- 5.0.11 2014/01/15 ZOOM: fix "lost connection" problem with servers that uses both squid and another proxy behind it that returns Location headers with relative URIs. YAZ-724 zoomsh: do not use readline for stdin (no tty) YAZ-724 Just use fgets in that case. If the user hits Ctrl-D a new-line is also printed. zoomsh: empty command ignored YAZ-723 rather than performing exit of zoomsh. yaz-url utility offers option -v to enable verbose mode. yaz_url uses yaz_check_location and offers verbose mode. Add new function yaz_check_location. This function gets an absolute URI from Location (HTTP redirect). cookie API: introduce yaz_cookies_reset Update cql.y for newer bison YAZ-720 The important part is that YYLEX_PARAM and YYPARSE_PARAM are no longer supported. Instead one must use %lex-param and %parse-param . --- 5.0.10 2014/01/09 ZOOM/yaz-client: Cookie handling; deal with relative URI in Location header. YAZ-719 rpn2solr: support truncation left(2), left&right(3) YAZ-718 Mention SRU version 2.0 in yaz-client man page. --- 5.0.9 2013/12/20 ZOOM/yaz-client: allow SRU searchRetrieveResponse with incorrect namespace. --- 5.0.8 2013/12/20 Make cs_parse_host public.A Fix double HTTP dump (-a log would show HTTP packages twice). Bug introduced in YAZ 5.0.6. --- 5.0.7 2013/12/17 Fix buffer corruption for yaz-ztest record fetch. --- 5.0.6 2013/12/17 Allow yaz-ztest to return user-defined records (one record per file). This is enabled by defining environment variable YAZ_ZTEST_XML_FETCH. Prevent early truncatin of HTTP log. (ODR_PRINT for HTTP streams). Use the stream write instead of odr_printf which has a 4K tmp buffer. Fix encoding of 0x00a4 (unicode to danmarc) YAZ-713 --- 5.0.5 2013/12/09 Add support for MARC-in-JSON. yaz-marcdump and the record conversion module can read and write this format. For record format JSON, yaz-ztest returns MARC-in-JSON records. iconv: fixes and more tests for danmarc character set encoding. 0xa733 is converted to @Ã¥ , 0xa732 is converted to @Ã… instead of @a733, @a732 . --- 5.0.4 2013/11/22 Improve error reporting for ICU chains YAZ-707 Report config element+rule when ICU status is "failure". ZOOM: stop fetching if present response has no records YAZ-710 Some targets return less records than their hit count would suggest. This prevents ZOOM from continuing to fetch records if any present response has 0 records in the response. Ensure that GFS calls exit if any listener fails YAZ-710 Before, if XML config was in use, it would start the default listener @:9999! --- 5.0.3 2013/11/19 yaz-ztest: -V shows version (like yaz-client -V) New iconv encoding: danmarc YAZ-692 yaz-client: lslb, ssub, mspn are Odr_ints now YAZ-705 daemon: only wait for immediate child rather than all children. YAZ-704 yaz-client: fix setting of SRU record schema. If scheme was unset, it could lead to invalid memory reference. --- 5.0.2 2013/10/16 yaz-ztest returns schema for MARCXML test records. SRU require that recordSchema for records. GFS: make surrogate diagnostic when yaz_record_conv_record fails - instead of non-surrogate diagnostic. This is a per-record failure. GFS: Allow multiple listenrefs YAZ-554. A server in yazgfs configuration may refer to multiple listeners now. Attribute listenref is a comma separated list of listen IDs. GFS: Use xmlconfig path as prefix for fnames YAZ-702. When -f option is given for GFS, the dirname of filename (for -f) is used as prefix for options such as cql2rpn, ccl2rpn, etc. Content-Type charset fixes YAZ-701 . Do not inspect charset in Content-Type header for SOAP when decoding SRU. The payload (XML) itself tells what encoding it is. In response, never supply encoding in Content-Type. The response payload (XML) tells what it is (with no encoding in XML it's UTF-8). HTTP decoding: allow blanks in URL paths YAZ-700 --- 5.0.1 2013/10/04 Various fixes for how SRU 2.0 is encoded. Fix NS for SRU 2.0 diagnostics and facets. Ensure recordData and recordSchema are always present in record element, because they are required. Remove deprecated functions yaz_uri_val .. and yaz_uri_val_int. Never used outside YAZ. Simplify in a lot of places using odr_strdupn. odr_create_Odr_oct: null terminate the buffer. Some applications rely on it. --- 5.0.0 2013/10/01 Increase various buffers in GFS's statserv_options_block Change many 'unsigned char *' to 'char *' for ODR-related utilties. This change makes many type-casts redundant, and, thus simplifies code. Remove last bits of WAIS support. Remove member 'size' from Odr_oct. Slim down the public part of 'struct odr'. Most elements are not part of struct Odr_private. Add support for SRU 2.0. Since SRU 2.0 is incompatible with earlier versions of SRU, yaz-client and zoom C are using SRU 1.2 by default. In particular facets are supported in both client - and server side. Facets are also supported for Z39.50 and is carried in additionalSearchInfo of searchRequest/searchResponse with OID 1.2.840.10003.10.1000.81.5 AKA "Facet-1" in oid.csv. The info is defined in facet.asn (which covers both request/response). This is what a search handler in the GFS will see (regardless of whether operating in SRU mode or Z39.50). Changes to the srw.h (SRU/Solr) definitions include: - New element in Z_SRW_searchRetrieveRequest, queryType (char*) and query (char*), which replace union query and query_type (int). This is because SRU 2.0 supports a queryType parameter. This also means that, to carry PQF, in SRU we can now use queryType=pqf and query=PQFstring , rather than x-pquery=PQFstring (extention parameter). The extension parameter is still supported. - New element, packing, that has information about SRU 2.0 recordPacking (not to be confused with SRU 2.0 recordXMLEscaping). New element in Z_SRW_searchRetrieveResponse, resultCountPrecision. New element, packing, in Z_SRW_explainRequest. New elements in Z_SRW_scanRequest, queryType and scanClause. These replace query_type and scanClase untion. This is similar to what happend to search. --- 4.2.69 2013/10/01 GFS: log when closing down - at least SIGTERM YAZ-684 Also change formatting WRT PID logging a bit. Improve display of MARC records with multi-byte subfield IDs YAZ-695 In some rare cases subfield identifiers are multi-byte characters. This will try to deterime length of those and split accordingly. This affects display in line mode as MARCXML/MarcXchange. The encoding of ISO2709 is the same. Change inp argument to const for yaz_read_UTF8_char. yaz-marcdump: fix leaks for MARCXML parsing. YAZ-694 MARCXML parsing: avoid skipping 1st field if no leader. YAZ-693 Better check of marc leader info YAZ-691 Problem is that some systems generate MARCXML/MarcXchange with funny headers. These will not work if encoded as ISO2709. Some tests produce new output, due to updated warning messages cql2pqf: allow PQF queries from stdin (because CQL is also allowed) yaz-client: display MAB records YAZ-689. Thanks for Heiko Jansen for this patch. New utility z_get_HTTP_Response_server which allows both HTTP server name and HTTP server URL to be given in response. Debian: do not depend on obs tcl8.3. Debian: do not depend on obs libicu36-dev. --- 4.2.68 2013/09/23 GFS: pass additionalSearchInfo to search memeber search_input if given. Otherwise pass otherInfo. Request for facets and other search related things will be passed there in future versions of YAZ. New ZOOM setting, authenticationMode, which allows authentication paramters to be encoded in the URL rather than via HTTP Basic auth. YAZ-686 rpn2solr: fix nested AND/OR handling. YAZ-685 Add comparison routines for some Z-types, such as NamePlusRecord, RPNQuery, Query, RecordComposition and OtherInformation. --- 4.2.67 2013/09/19 Don't decode MAB as MARC. Just like we don't attempt to decode HTML/XML as MARC. Fixes MAB display problem that was introduced in 4.2.64. CCL: allow quoted terms for date ranges. YAZ-681 Introduce ccl_parser_qual_search. This function makes old function ccl_qual_search, from YAZ 2, available again. Add yaz_facet_list_to_wrbuf. YAZ-683 --- 4.2.66 2013/09/11 ZOOM: fix record handling for Solr. ZOOM_record_get would return 0, if schema was given for search. YAZ-675 Add Solr date range searches. YAZ-621 --- 4.2.65 2013/08/22 ZOOM: another fix for record caching (introduced in YAZ 4.2.64). --- 4.2.64 2013/08/21 (Broken WRT ZOOM C, do not use) ISO2709/MARC parse most octet aligned records; not just those that are known to be ISO2709/MARC. This makes ZOOM and yaz-client MARC parse more records instead of just dumping as is. YAZ-670 ZOOM: proper caching for variations of record schema. YAZ-671 Solr: Check for enging / and perhaps commands (select/term) YAZ-651 --- 4.2.63 2013/07/17 Add yaz_strcmp_null --- 4.2.62 2013/07/11 New utility z_get_HTTP_Response_details - an extended version of z_get_HTTP_Response. New utility yaz_url_get_error which returns error message of last failed yaz_url_exec call. yaz-url and url functions: allow max HTTP redirects to be controlled. New functions yaz_file_glob2, yaz_xml_include_glob. These functions takes a flags parameter, which, for now only controls whether to fail inclusion of a non-existing file (without glob pattern) - flags YAZ_FILE_GLOB_FAIL_NOTEXIST. --- 4.2.61 2013/06/20 For MARC XML parsing, allow record without leader. A fake/default leader is inserted and a warning is tagged with the record. ICU: fix leak in in icu_iter_get_org_info. --- 4.2.60 2013/06/14 ICU: fix bug in icu_iter_get_org_info (un-init variable). --- 4.2.59 2013/06/11 Implement z_HTTP_header_remove. --- 4.2.58 2013/06/11 ICU: Disallow 0 ptrs for some ICU string utilities. ICU: new utilities icu_iter_get_org_info and icu_chain_get_org_info: returns original tokens (before normalization). CCL: avoid z39.58/regex truncation when not needed. Apply only the conversion of those masks, when absolutely necessary. CCL: configurable masking character - @mask. Default masking character is # for CCL. HTTP encoding: remove Transfer-Encoding header. YAZ uses content_len and full response anyway, so a Transfer-Encoding header will obstruct the response. --- 4.2.57 2013/05/15 COMSTACK: @ uses AF_UNSPEC . But we prefer AF_INET6 over others when picking a socket. Problem is that some systems has IPV6 support, but we can't create sockets for them, so we pick AF_UNSPEC first. HTTP encode. Proper Content-Length YAZ-660. For yaz_encode_http_response use content_len to determine resulting Content-Length in HTTP response and NOT Content-Length supplied in headers by user. z_HTTP_header_add_basic_auth uses z_HTTP_header_set rather than z_HTTP_header_add, to avoid having two Authorization headers by mistake. Fix problem with HTTP decoding. For HTTP 1XX, 204, 304 assume no content-length. Fix yaz_base64decode to use proper signed. Problem occurred on platforms with big endian and unsigned char (by default). --- 4.2.56 2013/04/26 Fix yaz-client connect (crash in 4.2.55). --- 4.2.55 2013/04/26 Fix proxy/host problem for ZOOM that could occur if unix sockets was in use. New Debian package libyaz4-dbg. Fix problem with cs_close hang/wait in SSL mode. Invoke gnutls_bye differently in tcpip_close. --- 4.2.54 2013/04/17 Windows installer of YAZ includes YAZ4J as a component. CQL: allow "extra terms" again, by default. Thus, the CQL parser accepts a superset the standard. This reverts to CQL as of YAZ 4.2.51 and earlier. CQL parser may operate in strict mode where queries not conforming to the standard BNF are rejected (syntax error). Whether the CQL parser operates in strict mode is controlled with cql_parser_strict . Strict mode enabled with option -S for utilities cql2pqf and cql2xcql . yaz-ztest: returns OPACXML records for syntax=XML and element set=OP. --- 4.2.53 2013/04/10 New charset, MARC-8c, which is like MARC-8 but allows control characters 0x01 through 0x1F, except ESC to be passed through verbatim. Fix a problem with duplicate sub field character in MARC output. Problem happened only when output was MARC-8 encoded. --- 4.2.52 2013/04/03 yaz-ztest: Use hash for fake hit count. Before, random number was used. This is problematic for unit tests using yaz-ztest. This patch also makes a hash for CQL queries. For RPN, any term with a leading digit will be treated as pseudu hit count (to force any particular hit count by a client). yaz-ztest: return unique MARC dummy records. Beyond record offset 24, the author surname is patched with offset to make all records unique. COMSTACK: make @ bind to IPV6+IPV4 consistenly and avoid depending on system wide default (/proc/sys/net/ipv6/bindv6only). @4 binds to IPV4 only. @6 binds to IPV6 only. Update CQL API documentation a bit CQL: don't accept extra terms for queries. Makes the CQL parser stricly conformant to the standard. --- 4.2.51 2013/02/12 GFS: scan handler gets extra_args from request and may return extra response data . That's for SRU only. Solr scan support for ZOOM and yaz-client. Patch from Simon Jacob. --- 4.2.50 2013/01/30 New function, yaz_xml_to_opac, to convert from OPACXML to Z39.50 OPAC. OPACXML: sync spelling of availabilityDate in XML to that of Schema opacxml.xsd. The schema had the correct spelling of this member always. The ASN.1 was mis-spelled and still is (API change) - we are not changing this. However, the OPAC to XML conversion had yet *another* typo. GFS: Allow conversion between Z39.50 OPAC and OPACXML via retrieval element. New function, z_ext_record_oid_nmem, which is similar to z_ext_record_oid but takes NMEM rather than ODR --- 4.2.49 2013/01/18 ICU: New conversion element 'join' which joins tokens into one with a custom character given by rule attribute. --- 4.2.48 2013/01/10 New GFS search member: present_number. This is a hint to the search handler how many records are going to be fetched immediately following search. There's no guarantee that it's going to be the case, since it depends on hit count (for Z39.50 piggyback) and whether errors turn up. Make a few functions static (private). The functions getbyte_stream, ungetbyte_stream and yaz_gets are now private. They were never declared in a header file. yaz-marcdump: exit(5) for serious decoding errors ISO2709 decoding: be more picky WRT header GFS: bail out of fetch if last_in_set is set. Until now, last_in_set, was only used as to indicate that next-result-set-position should be set to zero. http://www.loc.gov/z3950/agency/markup/04.html#Next-result-set-position Based on patch from Ashley Sanders. Make some functions static/private in PQF parsing. Those functions were never declared in a public header and so should not be in use by applications based on YAZ. --- 4.2.47 2012/11/23 ZOOM: special options to control APDU logging. Using ZOOM_connection_option_set(c, "saveAPDU", "1") will enable logging of APDUs until "saveAPDU" option is set again. If logging is already enabled the effect is that current APDU buffer is cleared. Using ZOOM_connection_option_set(c, "saveAPDU", "0") disables logging (default behavior on new connection). The APDUs sent/received can be obtained by using Using ZOOM_connection_option_get(c, "APDU") or ZOOM_connection_option_getl(c, "APDU", &l). GFS: relay implementation_version from backend From 3.0.40 and later, implementation_version from backend was not used in init response at all. --- 4.2.46 2012/11/15 Fix cs_rcvconnect for SSL comstack GNUTLS. Did not work in non-blocking mode at all. Probably never did. Make a new version of ztest.pem that, at least, is not expired. --- 4.2.45 2012/11/13 Fix description of CCL directive 'case'. More tight checking of form arguments (yaz_uri_to_array). Makes YAZ better at rejecting big and/or bad POSTs. SRU decoding does not report more than up to 10 invalid arguments. rpn2cql: less quotes in generated terms. Semantics unchanged, but it's prettier this way. --- 4.2.44 2012/10/25 New utility yaz_decode_init_diag. Defined in proto.h. Allow HTTP protocol on unix local socket. Also Z39.50 database may be given for unix local socket. The COMSTACK string for doing so is: unix:: Examples: unix:/myfile:tcp:localhost:9999/mybase unix:/myfile:localhost:9999/mybase unix:/myfile:http://fakehost/mybase debian: Use dpkg-buildflags in build process. --- 4.2.43 2012/10/19 ZOOM C: don't trust recordPosition always. Some servers, such as IGI global's SRU service uses a recordPosition scheme starting from zero. First record's position should be one according to the standard. --- 4.2.42 2012/10/18 Allow more namespaces for SRU. This is to allow, for example, an incorrect namespace returned from server http://services.igi-global.com/sru . Minor fixes for compilation on Windows. --- 4.2.41 2012/10/11 daemon: log total number of bad signals from child on stop so that it is more easy to spot problems with child worker processes. retrieval: empty backend name attribute omits element set from being used in retrieval. --- 4.2.40 2012/10/04 Implement Solr sort strategy "solr", similar to sru11 sorting. This will implement the correct parameters on Solr requst to do native sorting. --- 4.2.39 2012/09/28 Implement ccl_qual_fitem2. Like ccl_qual_fitem but with diagnostic string returned. MARC: Extra/missing indicator handled for MARCXML. The indicator length is given in header and is the same for the whole record. If attributes ind1, ind2 are missing, then content character defaults to blank. Extra indicator attributes (beyond) indicator length are treated as an error. Reformat: delete trailing whitespace --- 4.2.38 2012/09/17 MARC: fix non-ASCII characters for leader. This is to ensure we can generate XML in UTF-8. CCL: new special attribute s=ag . Almost s=pw,al but preserves words in one node with structure word. --- 4.2.37 2012/09/04 yaz-json-parse: JSON output may be pretty printed by using option -p twice. Increase default value of max message for Z39.50 Init for GFS, ZOOM and yaz-client. Old value was 1 MB. New value is 64 MB. --- 4.2.36 2012/08/22 yaz-client: don't display bogus records from SRU servers. Some SRU servers return more records than given by *maximumRecords*. Skipping those in display! record_render: simplify buffer return handling and fix at least one bad memory reference, that broke the test_embed_record sometimes. Allow http://user:pass@host notation for yaz_url_exec. zoomsh: allow shell command to be executed. Via the system(3) call. yaz_poll: Allow num_fds == 0 yaz-client: fix bad encoding of "itemorder item". The itemorder item - command forgot to use length of encoded Item Request package. Error present since YAZ 3. yaz-ztest: fix bad usage of session handle. Bug was introduced when result sets were saved (271a9c83). SRU recordPacking: guess record packing in response rather than looking at the recordPacking element which, OF COURSE, changed semantics in SRU 2.0. Decode SRU 2.0 responses. The official namespace for responses, according to http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/cs01/schemas/sruRes appears to be http://docs.oasis-open.org/ns/search-ws/sruResponse . nature.com's server, however, usee namespace http://docs.oasis-open.org/ns/search-ws/sru-2-0-response . For this reason we are now using a glob-expr to match up the namespace. ZOOM C and yaz-client updated. Perhaps SRU 1.2 uses same namespace, I don't know. I can not find a single real example showing the "real" namespace in the documentation from OASIS. The namespace for requests is different from responses, but this is not added to YAZ yet, when we don't encode them yet. --- 4.2.35 2012/06/26 zoom/record_render: add support for Base64 decoding fo MARC records within XML element. For example: "xml; charset=marc-8; base64=/my/text()" which will decode base64 + ISO2709 marc-8 encoded material from text node under /my . --- 4.2.34 2012/06/07 Add missing definitions ZOOM_resultset_get_facet_field_by_index and ZOOM_resultset_facets_names. zoom: fix bad free for ZOOM_connect - happened when ZOOM connection options was in use. Change APDU dump printing to avoid long leading blanks. For levels 16 or larger the level is shown and the indentation is truncated but recursed with modula 8. This makes it still reasonable easy to read - even for nested BER dumps. Fix bug completeBER_n WRT too nested BER. Function completeBER_n could return 0 (incomplete package) in case where the BER package was considered too nested (return value of -2). dumpber: lines of level 15 are not indented further. Two spaces per indentation; indentation 15 or more is indented to a fixed indentation and augmented with a level= indication. zoomsh: increase max size of command+args GFS: No limit in RPN buf size in CQL to RPN conversion. --- 4.2.33 2012/05/09 New function for daemon utility, yaz_daemon_stop . Makes yaz_srw_sortkeys_to_sort_spec public on Windows. --- 4.2.32 2012/04/25 Add some Bib-1/SRU diagnostics + mappings. Bib-1: 1073 and Bib-1 1074: Proxy failure. SRU: 1074: Proxy failure --- 4.2.31 2012/04/23 YAZ daemon utility relays SIGUSR1 to child process. ZOOM: handle trailing slash for Z39.50 urls. Previously localhost:9999/ would result in en empty database list - which in turn would result in encoding failure for search. Fix reading beyond string in yaz_sort_spec. --- 4.2.30 2012/04/11 Add two new SRU diagnostics: 236: Access to specified database denied 1015: Init/AC: Maximum number of simultaneous sessions for Userid Document the very useful ZOOM-C option "apdulog". CQL to RPN: term may be passed through verbatim. This is enabled with truncation.cql . The assumption being that the term is already CQL. --- 4.2.29 2012/03/20 record_conv: leader spec may be given for marc element. The leader spec is given as attribute leaderspec for element marc. For example to convert a MARC21 record from MARC-8 to UTF-8: record_conv: allow user-XSLT params. For example: record_conv: fix error handling for missing marc charsets. CQL: fix extra terms in wrong order. --- 4.2.28 2012/03/06 record_conv: modify new API for conversion types. The conversion types may be passed in new functions yaz_record_conv_configure_t and yaz_retrieval_configure_t. Removing yaz_record_conv_add_type . Avoid mixed statement/variable declare; fixes compilation with Visual Studio. --- 4.2.27 2012/02/28 Add non-standard SRU diagnostic: 235: "Database does not exist". Couldn't live without it. HTTP 404: "Not found" is just so anonymous. Update SRU to Bib-1 diagnostic maps accordingly. CCL: add two new diagnostics for unsupported masking. The new diagnostics are: "Embedded truncation not supported" and "Single charcacter mask not supported". --- 4.2.26 2012/02/23 CCL: fix use of "term" field in sub queries. Bug introduced in YAZ 4.2.25. --- 4.2.25 2012/01/11 Build YAZ for Ubuntu Oneiric. CCL: allow parantheses for proximity operands. For example CCL query (a) % (b) is now allowed. GFS: fix bend_assoc_is_alive. When cs_get returns 0 the association is marked dead, rather then being destroyed. If not, the session memory is being free'd before the search/scan handler is finished. Also destroy 'request' memory in request_release rather than in various places, which resulted in leaks from time to time. --- 4.2.24 2011/12/21 cql_sortby_to_sortkeys: honor sort prefix. RPN to CQL: always quote resulting terms. For bizarre reasons, JSTOR's SRU server returns 0 hits on ISSN searches unless a CQL term is quoted. The rpn2cql family of functions now always returns quoted CQL terms. Fix CQL to CCL conversion for multiple terms. Add two test cases as well. --- 4.2.23 2011/12/15 Allow =val to be omitted for yaz_uri_to_array. Also, multiple &'s in sequence is treated as one. For example, &&a=b&&&c& is identical to a=b&c= . --- 4.2.22 2011/12/05 Add ZOOM_connection_save_apdu_wrbuf. This function may be used to save APDUs for a connection to a WRBUF. --- 4.2.21 2011/11/23 Fix cql_sortby_to_sortkeys. Completely broken before. Make CCL's @truncation work again. --- 4.2.20 2011/11/09 New ZOOM connection setting: tproxy. It's like proxy, but does not set Z39.50 proxy OID or change HTTP for proxy behavior. Can be used to set resolved address + port for a connection outside ZOOM itself. Fix atoi_n_check digit test. Thanks to Giannis Kosmas for spotting it. --- 4.2.19 2011/11/07 Fix uninitialized variable in Solr spell support (could cause SEGV for SRU response decoding). Error handling for Z_APDU_close uses ZOOM_set_dset_error() to pass back-end's addinfo through into the ZOOM response addinfo. When ZOOM_set_dset_error() is passed an addinfo2 as well as addinfo, they are separated by a colon and a space rather than simply concatenated. --- 4.2.18 2011/10/28 Add support for Solr spell-checking/suggestions through ZOOM. If a Solr target has been configured correctly for spelling-checking and suggestions, these will now be returned on the ResultSet option "suggestions". zoomsh has been extended to show this with the cmd suggestions. --- 4.2.17 2011/09/28 Fix function nmem_strsplit_escape2 which extends nmem_strsplit_escape with a flag whether to substitute escape sequences or not. --- 4.2.16 2011/09/22 Fix nmem_strsplit_escape to substitute escape char properly. New option for zoomsh -e , which makes it abort on first error and return process exit code to indicate success/failure. YAZ options utility supports special option -- which makes all it treat all following arguments as non-options. --- 4.2.15 2011/09/16 Fix yaz_file_path_resolve/yaz_path_fopen/yaz_fopen so that path is not searched if absolute filename is given. Fix conv_xslt() error-reporting when stylesheet is not found. (The value of fullpath is meaningless in this situation.) --- 4.2.14 2011/09/07 Fix problem in CQL sort node creation: un-initialized memory. New ZOOM utility ZOOM_query_sortby2. That takes a strategy parameter: one of "z3950", "type7", "cql", "sru11" or "embed". The "embed" chooses type-7 or CQL sortby depending on whether Type-1 or CQL is actually sent to the target. New sortspec utilities: yaz_srw_sortkeys_to_sort_spec, yaz_sort_spec_to_srw_sortkeys, yaz_sort_spec_to_type and 7yaz_sort_spec_to_cql. rpn2solr supports Z39.58 truncation (104). Thus, CCL truncation mode t=z will make it possible to use both single-character mask (#) and wildcard (?) in CCL . Throw diagnostic for left truncation because that is not supported by Solr. --- 4.2.13 2011/09/01 Fixes for cql2rpn, cql2ccl and ccl2rpn; mostly in the area of special cases using escapes (\-sequences) and masking. PQF parse fix: A trailing backslash followed by end-of-string (\0) would result in a read one byte beyond string. rpn2ccl may use Z39.50 masking for terms (t=z). ICU check fix. Don't include library -lCrun on Solaris, unless present. ICU check fix: Use --cppflags-searchpath to determine ICU include files; not --cppflags (which seeems like an error in icu-config). --- 4.2.12 2011/08/27 RPM package only cql2ccl: fix conversion of terms: operator characters were not quoted/escaped. --- 4.2.11 2011/08/25 RPM package only ccl2rpn: Conversion to regexp-1 terms (trunc=102). For mode t=x, the CCL parser will map both # and ? to their regular expression quivalents (. and .*). rpn2cql: deal with truncation=102 (regexp-1). And ensure proper quoting of reserved CQL characters. cql2ccl: deal with both * and ? in conversion. Also leave escaped ones as is, so that they are passed through. --- 4.2.10 2011/08/24 ZOOM SRU mode: more aggressive re-connect. Private function prox_unit_name() renamed to yaz_prox_unit_name() and made available as a utility function, declared in rpn2cql_structure() supports proximity nodes (except that the Type-1 proximity node's "exclusion" binary is ignored, as there is no way to express that in CQL). Fixes bug #4564. --- 4.2.9 2011/08/18 Fix SEGV that could occur if set command of zoomsh was given without value (2nd argument). Fix SEGV that could occur if unsupported transport was given for COMSTACK - say https (when SSL was unavailable). Build yaz-url on Windows too. --- 4.2.8 2011/08/11 New utility to get web content. Header is url.h. A command line tool yaz-url is part of the distribution and packages. Fixes for SSL COMSTACK (when gnutls is in use). New functions yaz_base64{encode,decode}. Header is base64.h. --- 4.2.7 2011/08/03 ZOOM C includes HTTP response buffer as additional info if it fails to decode the SRU response. Make wrbuf_json_puts available. --- 4.2.6 2011/07/28 zoom: throw diagnostic for invalid value for option "sru". Before a bad SRU request was sent. Adding new utility wrbuf_vp_puts. Add cclxmlconfig.obj to win/makefile. It was missing completely. --- 4.2.5 2011/07/21 ZOOM HTTP: use absoluteURI's in proxy mode as required by RFC 2616 (HTTP). Fix a bug in handling of cookies. Fix a bug that would occur if proxy + redirect was used at the same time. MARC line mode decoding: be less picky about length given - first 5 digits of header that is. CQL to CCL conversion: deal with CQL proximity (cql_to_ccl function). Changes to decoding of SRU records: a record with recordPacking=xml is modified with a new root element if the recordData contains multiple children elements. This is to make the record XML parseable afterwards. RPN to Solr conversion: encode special characters. Generic Frontend Server: fix uinitialized member, stepSize. --- 4.2.4 2011/06/21 Fix a bug in SRU decoding of records.. The database records stored had un-initialized memory, but it would only be seen with yaz_record_render and type_spec="ext" . Fix a bug in ccl_qual_dup introduced in 4.2.3. --- 4.2.3 2011/06/17 Add new CCL utility, ccl_qual_dup, which makes a copy of a CCL bibset. --- 4.2.2 2011/06/10 Add new utilities to convert from CQL to CCL . These utilities have prefix cql_to_ccl defined in cql.h. Defensive coding for an off-by-one bug in ucol_getSortKey. This could lead to memory heap corruptions when ICU utilities were in use. --- 4.2.1 2011/06/07 Make compilation work without Libxml2. yaz-client: remove redundant blanks in display of searchResult-1 term hit counts. --- 4.2.0 2011/05/18 CQL: parse CQL sortby spec. The resulting sort spec is stored in the resulting CQL node (tree) in a new node CQL_NODE_SORT. CQL and GFS: add utility cql_sortby_to_sortkeys which converts CQL sortby 1.2 node tree to CQL 1.1 spec. This in turn allows the generic frontend server to only consider srw_sortkeys and support both SRU 1.1 and 1.2. Note that the CQL sortby spec is only converted when the GFS is already converting from CQL to RPN (cql2rpn element). New function nmem_strsplitx. This is like nmem_strsplit but allows us to specify whether to collapse delimitors or not. The existing nmem_strsplit do collapse (collapse parameter = 1). Windows installer: For NSIS, set InstallDir depending on x86/x64. Rename internal func yaz_use_attribute_create. While non-static, this function is not declared in a public header. --- 4.1.7 2011/03/15 Add -lCrun when linking with ICU on Solaris. More quicks character set conversions for OPAC records. --- 4.1.6 2011/03/10 fix problem with record_render: records were converted (character set wise) even if no charset was given. Problem introduced in YAZ 4.1.5. --- 4.1.5 2011/03/08 SRU: add methods for handling DADS SRU-proxy facets. Separate OPAC record character set for ZOOM_record. yaz_record_render allows a character set given as charset=from/opacfrom,to where 'from' is the character set of a bibliographic record, 'opacfrom' is character set of OPAC record and 'to' is the target character set. --- 4.1.4 2011/02/21 yaz-client: show may XML format records. Command show followed by 'format' will format XML records retrieved using Libxml2's xmlDocDumpFormatMemory function. src/stemmer.c: Avoid using unnamed union. It is not supported by some older C compilers. For PHPYAZ: set YAZVERSION, not YAZ_VERSION. --- 4.1.3 2011/01/27 Update yaz.spec to operate on both SLES11 / Centos 5.5. RPM: Release includes 'indexdata' name. Use indexdata in release name so this package can be distinguished from other vendors. yaz-config: Use exec_prefix, libdir, includedir . Use these variables as determined by configure yaz-config: set YAZ_VERSION env. php_yaz relies on it. GFS: Z_PresentStatus_partial_4 for missing record. If bend_fetch handler returns no error and no record, the present request is considered partial (only a subset of the records could be returned by backend), and so it is appropriate to set Present Status to partial-4. --- 4.1.2 2010/11/02 Move yaz-config man pages to section 1. More documentation about Solr. tcp comstack: change behavior for @-specs (anyaddr). @ listens on AF_INET (IPV4) peers, and @6 listens to AF_INET6 (ipv6) peers. Previously @ listened on AF_INET6 which accepted both IPV4 and IPV6 peers on some Linux systems. However, in general that does not work so YAZ can not rely on that to work. Debian changed behavior in this respect from Debian lenny to Debian squeeze (still testing as of Oct 2010). Refer to: http://www.mail-archive.com/debian-devel@lists.debian.org/msg277726.html zoomsh: remove "debugging" output. Was added by mistake in 4.1.0. --- 4.1.1 2010/10/05 Fix yaz-config output: echo_source not set correctly by configure. --- 4.1.0 2010/10/05 Solr Web Service support for yaz-client and ZOOM. Define record syntax JSON. OID: 1.2.840.10003.5.1000.81.3 . --- 4.0.12 2010/08/17 Z39.50 facet support. Facet specifications are passed for search in other-information with ASN.1 as defined in facet.asn and OID .10.1000.81.5 . Facets are expressed as an Attribute list as known from Type-1/RPN queries. Type 1 is field. Type 2 is sort order. Type 3 is limit (number of entries to get in response). yaz-ztest returns dummy facets if a client asks for them. --- 4.0.11 2010/07/09 CCL fixes: bug 2895 and bug 3539. GR1-display: add comma in display - was removed by mistake in version 4.0.0. Windows installer: bundle MSVCP90.dll - used by icuuc42.dll. SRU: Merge cookies on HTTP redirects (Giannis Kosmas ). --- 4.0.10 2010/06/18 ZOOM C: Add ZOOM_resultset_release. ZOOM_resultset_release releases a result set from a connection. The result set will be on its own thereafter; no operations on it will perform retrievals from a target. Only cached copies are returned. ZOOM C:fix case for HTTP servers responding with Connection:close. Ensure that if there is a current task it is resumed (like fetching more records in a result set) . Bug #3484. PQF parser: use odr_atoi for Odr_int (not atoi) Minor PQF encoding and decoding changes; reformat. PQF decoding: attribute values that contain any non-digits are treated as string attributes (previously decoding only checked for leading character ([0-9]). PQF encoding: attribute string values are not surrounded by double-quotes. --- 4.0.9 2010/05/21 New utility for managing threads - thread_create.h. Add socket pipe utility - spipe.h. The socket pipe has same purpose as Unix pipe . Unfortunately Windows pipes do not work on select/poll - but YAZ' implementation do. Fixes for yaz_cond-functions on Windows 7. DLL export more symbols. zoomsh: show record do NOT render opac. Remove *.la files from Debian and RPM packages. --- 4.0.8 2010/05/11 Debian package libyaz-dev depends on libgnutls-dev again (was removed in YAZ 4.0.6, but due to Libtool it is still needed even though yaz-config do not list libgnutls libs). ZOOM: Use only one WRBUF for returning string results for ZOOM_resultset. Reduces memory usage for ZOOM in general. ZOOM: ZOOM_connection do not use a shared pointer to ZOOM_resultset after ZOOM_resultset is destructed by user. Reverts to YAZ 4.0.4 behavior. --- 4.0.7 2010/05/04 record-conv: fix problem with at least one XSL conversion - due to probably incorrect usage of XML XSL documents. --- 4.0.6 2010/04/29 Fix yaz-config for static mode and the use of SSL (gnutls). --- 4.0.5 2010/04/29 Forward decl timeval struct in mutex.h and gettimeofday.h. yaz-config: fix 'static' mode linking. --- 4.0.4 2010/04/28 Add functions yaz_cond_{create,destroy,wait,signal,broadcast}. These are wrappers for pthreads or Windows. For Windows these are put in a separate DLL: yaz_cond4. libyaz.la (whole source) is compiled with thread. If thread support is enabled enabled, all source of YAZ is compiled with treading support. This allows core utilities such as yaz_log to use thread facilities. Previously (YAZ 3 and YAZ 4 releases), only libyaz_server.la was using thread utilities. This commit moves mutex utilities (mutex.c) from libyaz_server.la to libyaz.la. yaz-json-parse displays leading text until error. --- 4.0.3 2010/04/09 Handle HTTP redirect for SRU GET in yaz-client and ZOOM C. Based on patch from Giannis Kosmas. SRU: no longer URL encode SRU database. The URL for an SRU server is a URL and such is alreeady encoded - at least when given with leading http:// or https://. This reverts behavior to YAZ 3.0.50. Support for new MARC XML notation TurboMARC which like MARCXML is a complete representation of MARC/ISO2709.. This one, however, is more compact and allows for faster processing with XSLT. TurboMARC can be used in the marcdisp.h API, from the yaz-marcdump utility and from the API of ZOOM C. yaz-ztest can be configured - via the database - to perform certain delays when it performs operations search, present and single record fetch. This allows testers to make yaz-ztest act as a real or even slow Z39.50 server. Refer to the yaz-ztest man pages for details. --- 4.0.2 2010/03/09 wrbuf_destroy allows NULL WRBUF passed to it. Fix CCL qualifier aliases (did not work since YAZ 2.1.56). Add ZOOM_connection_close. No fixed size buffers for ZOOM shell - bug #3257. tstodr: make it work on s390 platform. New icu iterator-functions. The new icu_iter-functions makes it possible to use ICU chains from many threads. yaz-client: better syntax check for show command. --- 4.0.1 2010/01/26 New glob file pattern utility. Like POSIX glob. For Windows too. Refer to yaz/file_glob.h. New simple local-file XML include facility which allows file glob-patterns. Refer to yaz/xml_include.h. Utility yaz-json-parse which parses JSON and demonstrates the JSON parser API. ZOOM_record_get supports new parameter "format" which makes it format XML record content. Fix JSON parser WRT start symbol. The start grammar symbol (referred to as JSONText in ECMA-262) is JSONValue, not JSONObject. --- 4.0.0 2010/01/20 Windows binaries for YAZ now compiled with Visual Studio 2008 (VC9). Older versions of YAZ was compiled with Visual Studio 6.0 (1998). Update so/DLL to version 4. Windows version builds YAZ4.DLL. POSIX/Unix builds .so with major version 4. Remove old LOG_-defines from log.h. They have been obsolete and undefined by default for the last 5 years. Odr_int is now of type 'long long'. Used to be 'int' in YAZ 3 series. GFS: Remove socket (int *fd) from search_rr handler. The socket descriptor ptr is a facility that allowed a search handler to supply a socket which would serve as a callback - when search was complete. This facility has now been in use for years. COMSTACK API changes: cs_stackerr, cs_addrstr. COMSTACK method cs_stackerr removed. It is not implemented by tcpip or unix COMSTACK, perhaps for ISO SR which was removed 7 years ago. COMSTACK macro / method cs_addrstr now returns 'const char *' rather than 'char *. The returned string is read-only and should not be modified by applications. COMSTACK cs_close is now a void function - it no longer returns int. No applications check for the value and the implementations has always returned 0. ZOOM: use size_t for scan hit counts and str size. Functions ZOOM_scanset_term and ZOOM_scanset_display_term have changed, so that occ (hit count) and len (string length) are now of type size_t pointer rather than int pointer. This is to be able to represent large hit counts and to also just to use the proper type for string length (strlen result). New JSON parser. Refer to include/yaz/json.h . WRBUF API changes.. For size parameters for WRBUF size_t is now used .. Used to be int in some cases. Many wrbuf_-functions used to return an int indicating some length.. These return values were never used. And so they are now void. ODR: odr_malloc, odr_total now takes size_t for size. clone_z_type: fix leak; occurred for encoding failures. --- 3.0.52 2009/12/03 tcpip comstack: fix use of uinitialized variable in cs_straddr. This bug was introduced in 3.0.51. --- 3.0.51 2009/12/02 tcpip comstack: Remove TCP receiver buffer optimizations for Solaris. tcpip comstack: fix leak for getaddrinfo. Encoding of SRU database is performed by yaz_encode_sru_dbpath_odr or yaz_encode_sru_dbpath_buf. Now used by yaz-client and the ZOOM API. Decoding of SRU "path" database is performed by private function yaz_decode_sru_dbpath_odr . This in turn is used by yaz_srw_decode and yaz_sru_decode in server applications, GFS, yazproxy, metaproxy. yaz-client: honor base command for SRU. Change when database setting is applied for SRU and ensure it is kept when a connection is reset. Change also the way errors are displayed or SRU (decoding of packages). --- 3.0.50 2009/11/02 Add support for extra request / response data for SRU codecs and GFS. The Z_SRW_PDU structure has two new members extraResponseData_{buf,len} for extra data response buffer and length. For the GFS, both request and response data (XML) is carried in extra_args and extra_response_data for the search handler. Patch by Ko van der Sloot. ZOOM: For queries that cannot be converted to the specified rpnCharset, ZOOM now returns a diagnostic on the client-side ('invalid query' / 10010). This fixes bug #2113. yaz-client fix: If cmdfile is passed to yaz-client (option -f) and that cmdfile included a 'quit' command that would result in a memory violation. --- 3.0.49 2009/10/01 Make a number of functions defined in xmlquery.c static. These have never been declared in a public header file (yaz/xmlquery.h) and was made public by mistake. Improve speed of character conversions (iconv utilities). This makes conversions from MARC-8 faster. ZOOM_record_get returns 0 pointer if a MARC record can not be decoded - unless type desired is "raw". This will prevent type "xml" from returning ISO2709 .. Which obviously can not be XML parsed. Fix memory leak in ZOOM that would occur if option apdulog was used on a re-used connection. Frontend server logs HTTP requests. Frontend server now sends Z39.50 close when it times out (sesssion has been idle for too long). Versions 2.0.30 and earlier also sent close. But due to a mistake this was disabled in all versions after that, i.e. the server would just close the socket immediately. yaz-client emits a better message when receiving an unrecognised userInformationField. Skip zero-length subfields when decoding ISO2709. This rare case happens if a record has two FS characters in a sequence. Without this patch there would be a reference beyond char array in using_code_len fragments in marcdisp.c. Fix yaz-marcdump error that would occur if option -n was used (bug #3028). --- 3.0.48 2009/08/28 The show command offered by the zoomsh command now takes a 3d optional parameter type which is what is passed to ZOOM_record. If the type argument is omitted, "render" is used. RPN to CQL conv may use USE string attributes (bug #2978). MarcXchange NS is now info:lc/xmlns/marcxchange-v1 . --- 3.0.47 2009/07/08 Function yaz_xml2query allows a diagnostic element in the PQF XML representation .. diagnostic@code and diagnostic@addinfo is diagnostic code and additional info respectively. The BER BOOLEAN is now the integral type Odr_bool which still happens to be an 'int'. The BER INTEGER which used to be a plain 'int' is now typedef'd to Odr_int. This is still an integral 'int', but it may be changed to 64-bit via a one-liner in nmem.h (NMEM_64=1). The documentation, ASN-1 compiler as well as programs has been updated to use the new types. --- 3.0.46 2009/06/08 zoom: ZOOM_record_get now renders OPAC records when type=xml. Previously only the bibliographic record was rendered. For type=opac, an OPAC record is only returned if it is present. iconv: small fix for encoding of advancegreek. yaz-client: avoid double display of SRU/SRW records (bug #2798). yaz-client: option auto_reconnect=on really reconnects. yaz-client: fix bug #2770 - avoid length limit for auth parameters. server: avoid null ptr ref for for yaz_poll errors. build: fix RPM build for RHEL 5.3. comstack: prefer IPV6 addresses over IPV4 - should refix bug #2350 --- 3.0.45 2009/03/31 Fixed bug #2709: TCP connect returns Invalid argument. Fixed compilation for mingw. Honor charset for raw records (ZOOM_record_get). Fixed use of errno for threaded mode that was seen on Solaris 10. Fixed argument passing with blanks in value for Windows Service. Disable YAZ' own log rotate by default (no 1 GB limit). The variable l_max_size which specifies the log file limit is set to 0 (DISABLED): This is due to the fact that YAZ is most often deployed using logrotate. Also YAZ can not perform log rotate because of unsufficient permissions (setuid). --- 3.0.44 2009/02/17 List supported encodings in man page for yaz-iconv. Fixed missing SSL libs for --libs output Re-established OID record syntax application-xml. Nobody should use it but we don't want to change soname because of this symbol being absent. --- 3.0.42 2009/02/02 YAZ' RPM spec works for both SUSE Linux Enterprise and RedHat Fedora. Added member named_result_sets for init handler struct for the GFS. This allows a server to disable named result sets. Removed OID record syntax application-xml. Added support for rule-based transliterator for ICU wrapper of YAZ. Fixed bug #1902: yaz-icu XML output. Make YAZ checks Emacs friendly. BITSTRING value shows value. Bug #2346. ISO2709 decoding: skip control characters from indicator data. Omit sort key by default in yaz-icu's output. Allow combined single char options (again) for YAZ' options function. Utility yaz-marcdump got option to display YAZ version (-V). Allow YAZ to use ICU 3.4. Added new ICU test case which illustrates removal of diacritics. --- 3.0.41 2008/12/29 Fixed Fixed test that makes VERSION_SHA1 appear on dist versions too. --- 3.0.40 2008/12/29 For configure, using option --without-xml2 also disables Libxslt/Libexslt support. Fixed bug #2352: yaz-marcdump crashes for certain record. Added man page 'bib1-attr' which includes list of common Bib-1 attributes. Added support for Danmarc2 to UTF-8 conversion. Added support for ISO5426 to UTF-8 conversion. zget_InitRequest/zget_InitResponse returns GIT SHA1 hash as part of implementation version. Function yaz_version returns GIT SHA1 hash for parameter sha1_str. --- 3.0.38 2008/11/10 ZOOM C now only fires one ZOOM_EVENT_SEARCH per search-task. Previously, ZOOM_EVENT_SEARCH was fired for each searchRetrieve Response received. ZOOM C now interprets databaseName option for ZOOM connection as path (SRU "database"). Windows version bundled with Libxml2 2.7.1 / Libxslt 1.1.24 / ICU 4.0. Fixed CCL to RPN/PQF conversion which could result in invalid PQF. Dummy Libxml2 types no longer defined in headers of YAZ'. Fixed memory violation for ZOOM C - could occur when SRU diagnostics was received. --- 3.0.36 2008/09/26 Various ODR chapter fixes. Windows version uses libxml2 2.6.32+, libxslt 1.1.23+ and ICU 4.0. Added missing source for Windows compilation, mutex.c. Fixed compilation of YAZ for Visual Studio 2008. Bug #2256. For SRU connections in ZOOM all records up to "count" are now fetched. Fixed crash in generic frontend server (and yaz-ztest) which occurred in Windows due to bad error handling for Libxml2. Added facility for sending arbitrary records (ASN.1 any) using ZOOM C's Extended service update. Patch by Sam Reynolds. New options for ZOOM C's connection, logapdu which makes ZOOM log APDUs. --- 3.0.34 2008/06/18 YAZ uses GNU TLS without the OpenSSL compatibility wrapper. --- 3.0.32 2008/06/12 Fixed memory violation that could occur when decoding UTF-8. This bug was only present in 3.0.30 of YAZ. --- 3.0.30 2008/06/06 Implemented SSL sockets using GNU TLS. OpenSSL is still supported, but GNU TLS is used by default (if found). yaz-ztest returns OPAC records if a client asks for OPAC. Improved speed of MARC-8 encoding. Added support for lossy and loss-less MARC-8 encoding. Changed yaz_record_conv_record to be reentrant for XSLT conversions. Added new Windows Service wrapper (sc). yaz-client's itemorder command may now send a file. Fixed yaz-marcdump to allow the use of NS prefix for record element. Added new function yaz_log_xml_errors. Allow (but warn) unknown XML attributes in MARCXML parsing. Handle G1 sequneces in MARC-8 decoding. Bug #2115. The UTF-8 to MARC-8 conversion now uses a different set of characters for Greek symbols. Bug #2120. --- 3.0.26 2008/02/21 Added yaz_daemon (daemon.h). Fixed bug #2068: pkg-config trouble Fixed bug #395: ZOOM_record / OPAC record encoding problems. --- 3.0.24 2008/01/28 Document --with-xml2 option. Added OPAC XML XSD (etc/opacxml.xsd). Allow glob mask for name attribute in retrieval element for the generic frontend server's retrieval facility. Changed yaz_poll_poll to return yaz_poll_except for all returned events except POLLIN/POLLOUT. Fixed error handling in cs_listen. Bug #2037. --- 3.0.22 2008/01/20 Fixed version in yaz/yaz-version.h. Fixed bug #2027: Crash when closing connection. Changed configure so that ICU support is only enabled if only ICU and Libxml2 is available (because the ICU chain is XML based). --- 3.0.20 2008/01/15 YAZ now makes ICU utilities for Windows. A separate DLL, yaz_icu3.dll, is built. Only this DLL depends on the ICU runtime. yaz-ziffy is no longer part of YAZ. It is distributed separately by Index Data because ziffy's license is GPL2 rather then 'Revised BSD'. Changed license of CCL module to 'Revised BSD'. After consultation with remaining members of the original EUROPAGATE consortium, we are re-issuing the CCL module without a separate license. The software was developed by Index Data as part of a research project. The special license was included to help feed usage information back to the project consortium to support project evaluation. At this time, the project consortium has long-since disbanded, and the majority of the original principals have retired. At the same time, we have significantly modified the software during the following years, to the point where very practically no original code remains. To simplify re-use of the software, we have contacted those members of the consortium who could be reached, and agreed to re-issue the module as a proper part of the YAZ package. Tcl scripts uses /usr/bin/tclsh as preferred shell. CQL closer to being version 1.2 compliant. CQL also allows free-form terms, such as 'title=a b', and thus, make the CQL parser more CCL-like and user-frendly. Fixed bug in ZOOM_options_getl WRT setting of parameter lenp. This bug could make Extended services handling crash in the ZOOM layer. This bug was only present in YAZ 3.0.18. --- 3.0.18 2007/12/19 ziffy uses YAZ' options rather than getopt; getopt is unavailable on some systems. yaz-marcdump reads and writes collection wrapped records. Handle OPAC for record conversion module. Fixes for ICU wrapper. Allow ICU libs to be controlled with --with-icu . --- 3.0.16 2007/11/12 Added yaz_poll which is a wrapper for select/poll. When poll is available and non-buggy, it is used, by yaz_poll . This allows more than 1024 sockets to be in use. Added ICU wrapper library which exposes ICU http://www.icu-project.org/ functionality through an XML based configuration (ICU chain). This system is useful for search facilities such as Pazpar2 and Zebra that needs to perform tokenization of indexed material. The ICU code in a separate library libyaz3_icu.a. Added HTTP tunnel facility for COMSTACK, bug #1752. This is a facility that allows a Web proxy, such as squid, to tunnel Z39.50 traffic. This facility is "transparent" to must applications using YAZ. It's enabled by using pseudo transport connect: followed by the proxy address, followed by command, then follwed by he regular "virtual" addresss. For example, connect:webproxy.com:3128,tcp:z3950.loc.gov:7090/voyager . More MARC-8/UTF-8 conversion fixes. Bugs #1666, #1667, #1778. --- 3.0.14 2007/09/21 Fixed bad memory reference in ZOOM_record - cuased by member not being initialized. This was a problem only in YAZ 3.0.12. Fixed bug in conversion from MARC to XML: Non-XML characters in control fields were not removed. Changed the way C code is generated from codetables.xml. Made a MARC-8 conversion trie for each characterSet section rather than codeTable. This is ensure the code can deal with G0/G1 sequences. Use of a newer version of codetables.xml from Larry Dixson, LOC. Bug #1464. --- 3.0.12 2007/09/12 ZOOM C now handles SRU surrogate diagnostics (i.e. errors returned from ZOOM_record_error). ZOOM C function ZOOM_record_get returns record schema for type="schema". Implemented HTTP Basic authentication to SRU/GET, SRU/POST and SRW requests. Added new ZOOM C connection option 'sru_option' which specifies SRU version. Better SRW-to-Bib-1 diagnostic mapping. ZOOM C and yaz-client announces SRU version 1.2 by default. yaz-client 'sru' command may specifiy both SRU version and transport (SOAP, GET or POST). Fixed in yaz_sru_decode to allow other version than 1.1. --- 3.0.10 2007/08/22 Added support for SRU scan for ZOOM. Added support for the use of the older versions or Extended Service Update in ZOOM. To faciliate this, an option "updateVersion" may be set to the version , 1=first, 2=second, 3=third. The third version is what ZOOM C has used so far. And that, obviously, is the default. Added support for CCL queries in Z39.50 queries sent to the GFS (and therefore in Zebra and in SimpleServer-based applications). The new element in a GFS configuration file, if present, names a CCL qualifier file used to transform incoming CCL queries into Type-1 RPN, which is passed into the back-end search callback function. Added support for HTTP Basic authentication in clients: the SRU/W codec encodes the username/password elements of the PDU structure appropriately, and these may be set using the "user" and "password" options in ZOOM-C applications (the same options that are used for Z39.50 authentication). --- 3.0.8 2007/06/25 Fixed bug #1208: SSL appears to be broken in ZOOM. Fixed bug #1206: Libxml2 include path weirdness. Added oid_name_to_dotstring. Allow elementSetName to be specified for ZOOM C record update. Allow waitAction to be specified for ZOOM C based for Extended Services. Fixed NULL ptr reference bug in yaz-ztest - caused by omitted record syntax OID. Bug introduced in YAZ 3 series. Updated WIN32 build to include Libxml2 2.6.28 / Libxslt 1.1.19. --- 3.0.6 2007/06/06 Fixed bug #1157: yaz-client does not read .yazclientrc from current directory. yaz-client now reads commands from file given by option -f if specified; then tries to read .yazclientrc in current directory. Failing that, it reads .yazclientrc from user's home directory. Added support for correlationInfo Note and ID for Record Update via ZOOM C. Added yaz-client command querycharset which specifies character set for query terms for Z39.50 RPN queries and Z39.50 Scan Requests (termListAndStartPoint). Charset ISO5428:1984 is an alias for ISO5428-1984. Implemented a way to perform scan in a result set using Z39.50. This is achieved by attaching the result set name in the characterInfo (type InternationalString) of OtherInformation in the Scan Request PDU. The result set is identified in the otherinformation by the new OID: USERINFO, Z3950_PREFIX.10.1000.81.4, "Scan-Set This allows for scan in result set and faceted search . Zebra did some of this in the APT term using attribute type 8 and value being result set. Using the OtherInformation approach for this is cleaner and easier to work with in proxies and the like. This facility can be used in yaz-client using new command setscan which takes a result set as first argument, start position (APT) as second. Changed decoding of SRU XML packed records to deal with servers that have recordData with XML data with multiple root nodes. Also make comparison for recordPacking case insensitive. Again, one server returns "XML" where others return "xml". For SRU responses allow Content-Type application/xml as well as text/xml. --- 3.0.4 2007/05/21 Fixed bug in character set conversion of BER strings. Bug introduced in 3.0.0. --- 3.0.2 2007/05/08 For OIDs use Odr_oid type everywhere, i.e. do not assume Odr_oid=int. For OID class, use oid_class consistently. Fixed external handling for SUTRS and Explain records (bug appeared in 3.0 series). Added partial support for ISO5428-1984, which is the "Greek alphabet coded character set for bibliographic information interchange". By Giannis Kosmas. Added documentation on new OID API. --- 3.0.0 2007/05/02 Changes to generic frontend server interface: added new member 'query_charset' for bend_initrequest structure. A backend init handler should set this member to its native character set for query terms. When defined, the frontend server logic will announce this character set to a client if the negotiationModel bit is set by the client. All server implementors are encouraged to specify this. If a backend server does not specify this a warning is issued using yaz_log(YLOG_WARN,..). Added CCL utility to remove terms (stop words) from resulting RPN tree. This is handled by functions with prefix ccl_stop_words_ . New ZOOM C option, "rpnCharset", which allows client-side conversion of terms in RPN queries. Clean-up the CCL API. Moved some internal structures from ccl.h to private header cclp.h. Changed ccl_parser_create so that a Bibset must be supplied. Removed tokenize API from ccl.h - including ccl_parser_find. This is replaced by ccl_parser_find_str which takes a string instead. Split YAZ library into two libs : libyaz.la and libyaz_server.la. libyaz.la is the core of YAZ except the generic frontend server and does not depend on POSIX threads anymore. libyaz_server.la is the generic frontend server facilities and uses POSIX thread functionality if available. The libyaz.la no longer depends on POSIX threads because the number of global structures is limited. NMEM no longer re-uses blocks between threads ; it simply free's memory immediately but allocates in "large" chunks as usual. We don't expect any performance penalties because of this. The yaz_log system is still using a global log_level so caution must be taken when modifying it with yaz_log_init_.. + yaz_log_mask_str. This, however, should not cause any trouble because these functions are called during initialization of application code anyway. `yaz-config --libs server` returns libs for server applications; `yaz-config --libs` returns libs for non-server applications. New OID database - with public definitions in oid_db.h. Removed old OID database including the head oid.h and definitions such as enum oid_value and struct oident. The new OID database uses the same string names as before but the 'protocol' is gone. There are now only two representations raw OID (int *) and string. Functions with prefix yaz_string_to_oid converts from string to OID; functions with prefix yaz_oid_to_string converts the other way. Change to emit_term() in CQL-to-PQF query translation: when a term has the /regexp relation modifier, do not process it for leading and trailing "^" and "*", which have quite different meanings in regular expressions. Attempted fix of bug #976: Segfault in yaz_iconv. The yaz_iconv function write handlers no longer carries a 'last' parameter. This will make yaz_iconv flush "less" characters. A flush is performed by call to yaz_iconv(cd, 0, 0, &outbut, &outbytesleft) . Definition of wrbuf_diags moved to querytowrbuf.h. Function wrbuf_put_zquery removed, because function yaz_query_to_wrbuf does the same. API changes to WRBUF. wrbuf_free removed; replaced by wrbuf_destroy. And wrbuf_puts no longer appends '\0'. Use wrbuf_cstr to get C-string out. Deprecated MARC utility functions removed. Changed prototype of yaz_marc_decode_buf: const char for result and size_t for rsize. Branch split: YAZ_2_1_55_branch --- 2.1.54 2007/03/16 Fix to ZOOM-C so that transparent reconnection is properly handled on connections that are in asynchronous mode. Fixed compilation on OpenBSD 4.0. Large strings in GRS-1 records are now properly displayed in yaz-client. Added character conversion support for "advancegreek"; based on patch from Giannis Kosmas. Fixed yaz_iconv to return YAZ_ICONV_EINVAL if an incomplete MARC-8 combo sequence is met. Before the error was not set so it would be unknown. Adjust yaz-marcdump MARC reader so that it skips until record separator is read --- 2.1.52 2007/03/07 ZOOM-C: Removed hardcoded limit of 1024 sockets in ZOOM_event_sys_poll(). Note that ZOOM_event_sys_select() still has the limit due to the fixed-size fd_set structure used as a bitmask for the FDs to be selected on. Using ACX_PTHREAD macro to check for POSIX threads. Fixed have-vsnprintf check. --- 2.1.50 2007/02/23 Fixes for configure on BSD. Bug #900. Added snprintf/vsnprintf wrappers for systems that don't have limits (heavens forbid). Fixed bug in ZOOM-C's event and task handling. If a ZOOM task was created before all previous tasks were completed and removed from the task queue, the new task could be removed by a mistake. Fixed bug #615: Document retrievalInfo facilities for Frontend Server. Implemented pass-through CQL-to-PQF conversions. Bug #861. Fixed bug #832: Problem with MARC/charset in yaz-client. Fixed bug #668: save command line history for yaz-client. Fixed bug #830: pkg-config support. --- 2.1.48 2007/01/23 Extended ZOOM result set options with two options that may be read by a client: resultSetStatus and presentStatus with values as specified for the ASN.1. See: http://www.loc.gov/z3950/agency/markup/04.html#Search-status Fixed bug #827: Using SSL fails on Debian etch. Fixed bug #826: Weird looking chars for set of MARC records. Implemented alternative Item Order package for ZOOM. If option "doc" is set, that is treated as an ItemOrder with itemRequest being an XML document external. The value of "doc" is the content. Extended the GFS search facility. New member of bend_search_rr 'estimated_hit_count' signals that hits is known to be an estmate (higher or lower than real hit count). New member 'partial_resultset' signals that the search was partial (hit count is lower or equal than real hit count). For Z39.50, the information is stored in resultSetStatus member of SearchResponse APDU. For SRU, the information is signalled via SRU diagnostic 59: "Result set created with valid partial results available". Switched from jade/pdfjdaetex to dblatex for Docbook documentation in PDF. --- 2.1.46 2007/01/13 Implemented bug #806: Deal with HTTP clients sending LF in HTTP headers. Added ZOOM_connection_peek_event. Implemented Generic select hook for ZOOM (bug #803). This is achieved with the following new functions: ZOOM_event_nonblock, ZOOM_connection_process, ZOOM_connection_get_{socket,mask,timeout}, ZOOM_connection_fire_event_{timeout,socket}. The existing blocking event handler, ZOOM_event, is a wrapper for the + blocking ZOOM_event_sys_{poll,select}. Implemented function ccl_xml_config which parses XML version of CCL configuration (bug #798). Fixed bug #797: yaz_marc_write_xml does not honor character conversion. Added timings utility (yaz/timing.h) --- 2.1.44 2007/01/03 Added yaz_marc_write_xml which creates MARCXML/MarcXchange record as Libxml2 tree. Fixed bug #779: Rotation of apdu.log fails. Fixed for character set conversions: Unicode to MARC-8 conversion for certain less preferred UTF-8 sequences. Honor G1 set in MARC-8 decoding. --- 2.1.42 2006/12/17 Fixed bug #775: char conversion does not handle Alternative UTF-8 sequences. Implemented function yaz_marc_read_line which parses MARC line format records. There is a wealth of formats out there. So far, this function reads line records produced by yaz_marc_write_line. yaz-marcdump's options -x, -X, -I, -e have been replaced with the more generic and easier to remember(!) options: -i format and -o format which specifies input format and output format respectively - where format is one of "marc", "marcxml", "line", "marcxchange". Added 'check only' option for MARC utilities. Option -n for yaz-marcdump does not print anything except warnings for records. For yaz-marcdump, added support for MARC split into files (-s) with a given chunk size (-C). Changed the SRU update structures and codecs to reflect the SRU pre 1.0 spec, at http://www.loc.gov/standards/sru/record-update/ This has changed the binary layout of the following structs: Z_SRW_extra_record, Z_SRW_updateRequest, Z_SRW_updateResponse and bend_update_rr . Patch by Ko van der Sloot. Added GFS utility function bend_assoc_is_alive which returns 1 if association is still alive (client is connected); 0 otherwise (client closed connection). This allows busy servers to stop working for impatient clients. Added ziffy: the promiscuous Z39.50 APDU sniffer. until now, ziffy has been a separate piece of software. This version of ziffy has been modified to fit with YAZ. ziffy is copyright Rocco Carbone and covered by GPL v2. Fixed bug #740: Handle SRU records referring to xmlns's outside recordData. Fixed bug #722: Allow Z39.50 Init Options to be specified / retrieved. Client code may now interrogate options such as "init_opt_sort" to find out whether the server claims to support various options. --- 2.1.40 2006/11/27 Added utilities yaz_{set,get}_esn to set/get element set name from record composition. Removed the build of libyazthread.la. The libyaz.so is the threaded version of YAZ and has been so since YAZ 2.1.10. Implemented ZOOM_record_error which returns error information for record (surrogate diagnostic). --- 2.1.38 2006/10/31 Updates for SRU Update by Ko van der Sloot: 1. Changed name from "operation" to "action" 2. Fixed that that "recordIdentifier" was called "recordId". Kept the old versions in the code, marked as 'backward compatible'. 3. Added diagnostics for SRU Update. Fixed bug #709: Records are fetched in wrong format when tasks are queued. Fixed bug #707: CQL->RPN ignores lines with leading spaces. Fixed bug #706: XML hex encoding UTF-8 chars out of range 0-255. For GFS, fixed problem with SRU diagnostic 'First record position out of range' being issued for 0 hits. zoomtst10 part of Windows Build. --- 2.1.36 2006/10/13 Implemented yaz_filepath_comp which splits a path into file path components (required by Zebra 2.0.3+). Change wording of YAZ license to the 'Revised BSD License'. YAZ has used a BSD inspired license until now so this should not have any real impact on anybody. See http://www.opensource.org/licenses/bsd-license.php Fixed bug #687: Missing log lines. Fixed bug #678: CQL to PQF translation does not preserve double-quote escaping. Fixed bug #689: SRU diagnostics to be added. Implemented new ZOOM function, ZOOM_connection_is_idle, which checks whether a connection is idle (no more work do do). --- 2.1.34 2006/10/04 Change type of optval from long to int for invocation of setsockopt with the SO_REUSEADDR option. Thanks to Ateeq A. Altaf, Talis. Added support for specifying the max log file size for the Generic Frontend Server. The size is given with option -r. --- 2.1.32 2006/09/21 Fix problem introduced in YAZ 2.1.28 WRT unix sockets in the ZOOM code. --- 2.1.30 2006/09/17 Fixes for getaddrinfo use, Bugs #655 + #660. These bugs were introduced in YAZ 2.1.28. Fixed bug in Generic Frontend Server that could cause a server to stop accepting new connections. Bug only seen on dual CPU Windows 2003 server. For the generic frontend server, the maximum record size is used as maximum size of incoming packages (SRU + Z39.50). The value until was previously only used in Z39.50 Init negotiation and, later, in a session controlled sizes of records returned. This is controlled using -k option. It can be specified, per server, with element maximumrecordsize in YAZ' GFS XML config. --- 2.1.28 2006/09/04 TCP/IP comstack uses getaddrinfo now to resolve names. It should be IPV6 friendly now. Fixed bug #644: Using Non Reentrant gethostbyname causes SIGSEGV. New option for yaz-marcdump -lpos=value which allows setting a portion of MARC header to a certain value. Fixes for MARC generation when encoded as MARC-8 (bug 642, 643). ZOOM-C reads option extraArgs. If set the value of extraArgs is appended to SRU URI (POST/GET). Value must be URL encoded, such as x-id-a=v1&x-id-b=v2 . --- 2.1.26 2006/08/15 Fixed problem with SRU mode type (soap, get, post) for yaz-client and ZOOM-C. Fixed problem another problem with ZOOM_EVENT_RECV_RECORD . Bug #626. --- 2.1.24 2006/08/08 Fixed MARC ISO2709 encoding routines to deal with character set conversion. Minor changes to GFS logging. Database included in search request log line. Fixes for ZOOM-C: event ZOOM_EVENT_RECV_RECORD was not generated for cached/multiple records. Shared libraries are built by default on Unix+configure. Changed cql2pqf transformation to use a different evaluation order. The new order is: always, relation, structure, position, truncation, index and relationModifier. Old order was: always, relation, relationModifier, structure, index, position, truncation. Note that the the latter ones override former ones for identical attributes.. The new scheme means that it is possible to override any existing attribute with a relationModifier. And also that it is possible to override everything for the index rule (except the ones listed in relationModifier). No order is perfect but this one, we believe, covers more real cases.. The "always" should have been called "default", since the attributes there can be overridden with all the rest. For Libxml2 and friends, YAZ defines YAZ_HAVE_{XML2,XSLT,EXSLT) in the compilation phase, but also for yaz-config --cflags output. This allows us to have public headers with Libxml2 stuff in them . It should also, eventually, make Libxml2 checks redundant in packages using YAZ, such as yazproxy. --- 2.1.22 2006/06/15 Changed SRU update structure bend_update_rr so that SRU diagnostics are stored in uri, message and details.. Previously diagnostics were stored in errcode, errstring. Patch by Ko van der Sloot. Breaks binary compatibility.. but he's probably the only one affected, so. Added support for CCL, compiled on the client side, in ZOOM-C. This is invoked using ZOOM_query_ccl2rpn() with the CCL configuration as input; the resulting query objects can be used for for searching with ZOOM_connection_search() and scanning with ZOOM_connection_scan1(). YAZ' configure searches for OpenSSL by default. SSL comstack uses SL_CTX_use_certificate_chain_file rather than SL_CTX_use_certificate_file. See http://lists.indexdata.dk/pipermail/yazlist/2006-June/001615.html for more info. Thanks to Ko van der Sloot. --- 2.1.20 2006/06/02 Bug #600: SRU GET, POST support for yaz-client. Introduced command 'sru' which selects method SOAP/GET/POST. Allow missingValueAction to be specified for the sortspec string - function yaz_sort_spec. By default, the missing value action is null. Use ! to specify "abort". Use = followed by stringvalue to specify default value. Ensured that Present-handler (if defined) is called in GFS before any call to fetch-hhndler. This now includes piggy-backed presents as well as SRW/U searchRetrieve requests. Documentation for YAZ is now based on the Docbook XML/XSLT using xsltproc + N Walsh's stylesheets. It means that the CVS version of YAZ is no longer depending on jade/openjade or docbook-to-man scripts. PDF is no longer part of the distribution - but can optionally be made using DSSSL/jadetex or FOP. Added retrieval handling support in Generic Frontend Server to support conversion between MARC/XML as well as XSLTtransforms. See etc/yazgfs.xml for an example. Added Authentication support to Generic Frontend Server in SRU mode. Authentication using HTTP Basic is supported, as is the use of 'x-username' and 'x-password' parameters in the request itself. Added support for a new character set MARC8s identical to MARC8 except that it converts combined characters to single Unicode characters in the Latin-1 range (when possible). --- 2.1.18 2006/04/24 ASN.1 compiler 0.4: generates brief Doxygen file header for generated .h/.c files. Utility yaz_iconv now supports conversion to MARC-8. New facilities for the MARC module. The reading - and writing of content are separate methods for the yaz_marc_t handle. The following read functions are available: yaz_marc_read_iso2709 (Reads MARC in ISO2709 format), yaz_marc_read_xml (reads MARC in MARCXML/MarcXchange format). Write functions have prefix yaz_marc_write_.. The existing utilities yaz_marc_decode_wrbuf and yaz_marc_decode_buf are still available. Removed support for OAI-MARC and simplexml (not the simplexml from PHP5). Added a new ZOOM event type ZOOM_EVENT_END which signals no more events to be returned for this connection. --- 2.1.16 2006/03/31 Allow multiple languages and charsets to be specified with yaz-client. Each item must be separated by comma (NO BLANKS). E.g. negcharset iso-8859-1,utf-8 Translation of proximity nodes from CQL into PQF now works. Moved to automake 1.8, 1.9. Added function yaz_log_set_handler which allows a log handler to be installed. This handler will be called for all log messages. Output to file is also produced; but that can be disabled by passing NULL fname to yaz_log_init_file. Fixed another problem with MARC-8 -> ISO-8859-1 conversions. Bug #537. For SRW (including GFS), accept application/soap+xml as content-type for SOAP msg. For GFS in SRU mode, an empty stylesheet in SRU URL (&stylesheet=&) produces NO stylesheet reference even if a default stylesheet is specified in GFS XML config. --- 2.1.14 2006/03/14 Updated Windows package to include yazd.dll + yazd.lib for the Development component. If the environment variable YAZ_LOG is set, then it is used as a string indicating the default level of logging to use if not overridden by calls to yaz_log_init() or yaz_log_init_level(). If it's not defined, then the manifest constant YLOG_DEFAULT_LEVEL is used as before. So, for example, to omit warnings from YAZ logging, export YAZ_LOG=-warn cql_transform() now map structure and other attributes before indexes, so that index-specific structures and other attributes can override defaults. So now a combination of mapping specifications such as: structure.* = 4=1 index.dc.date = 1=date-modified 4=5 does the right thing. cql_transform() now also respects the "always" mapping specification, which establishes an initial set of attributes to be used for all terms except where overridden by more specific attributes associated with the index, relation or modifier. Added SRU-GET and SRU-POST support for ZOOM C. Option "sru" specifies which mode to use; one of "post", "get" or "soap" (SRW, default). Fixes for yaz_iconv routines: changed trie-based character set conversions to use only non-negative values for bit fields due to Sun's C compiler not supporting negative values. Fixed bug in character set conversion yaz_iconv. Some three byte UTF-8 sequences where not read correctly. Fix by Rustam Usmanov. Updated win/makefile to use options, settings which makes things compile with VS C 2005. --- 2.1.12 2006/02/01 Fixed bug in yaz_oi_update which used incorrect value for categoryValue. In ZOOM socket code, use select instead of poll on MacOSX. ZOOM-C now support client-side compilation of CQL into RPN that is sent to the server, enabling CQL to be used against all Z39.50 servers. Use ZOOM_query_cql2rpn() to set the compiled CQL into a ZOOM_query object, and submit it using ZOOM_connection_search(). The CQL-to-RPN translation uses a configuration file, the name of which must be specified in the Connection's "cqlfile" option. ZOOM-C also support CQL scanning, via the new ZOOM_connection_scan1() function, which takes as its start-term parameter a ZOOM_query object (which may have had either CQL or RPN set into it). --- 2.1.10 2005/11/29 Added ZiNG Update Support. New codecs are defined in srw.h. Extended the GFS to support this as well. Backend handler, bend_srw_update, does the update work. Code contributed by Ko van der Sloot. Allow retrieval of Search Result-1 information in ZOOM by the use of options that are attached to a result set. ZOOM documentation updated accordingly. Fixed bug #416: First/second comb characters not handled in the MARC-8 to UTF-8 conversion. Patch by Raj Patel. Added option -m to GFS to control formatting of timestamps in log file. Added 'exit' as synonym for 'quit' in yaz-client Added support for specifying SRW resultSetId + resultSetIdleTime in a Generic Frontend Server's search handler. Refer to include/yaz/backend.h for the new members. Patch by Ko van der Sloot. Added support for SRU POST. It is supported for content-type application/x-www-form-urlencoded only. Patch by Ko van der Sloot. Do not build the separate Multi-threaded (MT) library libyazthread.la. Instead make the library libyaz.la multi-threaded. Threading as a whole can still be disabled by configure option --disable-threads. Previosly, with older GLIBCs there were problems with MT libs under Apache. This has now been fixed a long time ago. Fixed bugs in yaz_log that occurred on Sparc Solaris in Multi-threaded applications. CQL module modified to be case insensitive for relations/indexes/operations. Fixed bug in CQL transform code: incorrect value relationModifieder was used. Added 'show all' command for yaz-client which retrieves all results for last search. Added new yaz-client, xmles, which takes a (private) OID and a document to be sent as an extended service request. Describe new yaz-client commands wait_response and set_auto_wait. Increase TCP/IP listener backlog from 3 (which I am guessing was copied from the SunOS manual entry way back when) so SOMAXCONN, so that the socket will queue as many incoming connections as it's able to handle ongoing connections. In other words, it will never now refuse a connection that it would be able to handle merely because it's not got around to accepting() enough of the pending connections yet. This is the behaviour anyway under Linux, where the listen() argument is ignored; but not under BSD and on systems such as MS-Windows that use BSD-derived TCP/IP stacks. The behaviour of YAZ-based servers should now be uniform across operating systems in this respect. yaz-marcdump uses 64-bit file access on some systems. This is enabled on Linux and other Unix variants where _FILE_OFSET_BITS=64 is supported. This allows yaz-marcdump to read large MARC batches (>2 GB). Modified all YAZ source files - except the source which is auto-generated by tools - to use spaces rather than TABS. Emacs/VIM trailer added to all source files. Add ZOOM_connection_option_getl() and ZOOM_options_getl(), corresponding to the existing *_setl() function. These allow option values containing arbitrary valuues. Add ZOOM_resultset_sort1(), which should ALWAYS be used in place of ZOOM_resultset_sort() in new applications. Its behaviour is identical except that it returns an indicator of whether or not the sort criterion was accepted (0 for OK, -1 for invalid). --- 2.1.8 2005/06/07 Fixed bug in yaz_marc_decode_buf. By mistake the routine appended MARC output rather than returning "new" buffer. yaz-client warns about unknown init options. Fixed bug #371: "options concurrentOperations ignores concurrentOperations" --- 2.1.6 2005/05/24 Added support for SRW sort in Generic Frontend Server. Patch by Ko van der Sloot. Member srw_sortKeys in bend_search_rr holds sortKeys - or NULL if none is provided. Fixed bug #307: It was impossible to specify indefinite/no timeout for ZOOM_event. Special timeout value -1 now means indefinite timeout (i.e. no timeout). Added support for multiple languages and charsets to be specified in ZOOM. Each charset/language is separated by a blank. If negotiation is in effect in init-response, Option "negotiation-charset-in-effect-for-records" set to 1(true) or 0(false). Code based on patch by Vasiliy Osadchuk. Fixed bug #306: infinite recursion that occurred when calling yaz_log_level_init as the first call (before other log level or nmem_init calls) Fixed bug in scan handling in front end server: if preferred-Position-In- Response was non-present, a NULL pointer referece was performed. --- 2.1.4 2005/04/26 Changed include/yaz/diagbib1.h and added include/yaz/diagsrw.h with diagnostic messages+codes for Bib-1 and SRW. Preprocessor defines are now defined for all those error codes. So instead of putting 109 in your program you'd use YAZ_BIB1_DATABASE_UNAVAILABLE. The messages are generated from a .csv - file. See src/bib1.csv and srw/srw.csv. Modified the yaz-marcdump utility to skip garbage bytes between MARC records in a file. Fixed bug - uninitialized memory - due to bad code for fix of bug #272. Program yaz-client now exits and produces an error message if multiple Z39.50 servers are specified on the command line (none or one allowed only). Program yaz-marcdump skips garbage bytes between ISO2709 records rather than abort. --- 2.1.2 2005/03/16 Fixed bug #273: Update for recent MARC-8 -> UNICODE changes. Fixed bug #272: Preserve spacing for CCL terms. --- 2.1.0 2005/03/14 Added support for virtual hosts and multiple backend servers for the YAZ frontend server. The configution is XML based and support specificition of CQL to RPN mappings and explain information. See section "Virtual Hosts" in the YAZ manual. Extended OPAC display utility. OPAC display utility renders bibliographic (MARC) record as well. Added yaz_opac_decode_wrbuf to supplement yaz_marc_decode_wrbuf. Fixed a bug in MARC decoder that could caused it to crash for some invalid MARC records. More diagnostics and warnings where added in XML output (warnings, etc are stored in comments). --- 2.0.34 2005/02/08 Fixes for UNIX domain sockets. Bug #261. Fixes for MARC-8 to UTF-8 conversion. Bugs #258 and #260. Fixed bug #263: YAZ MARCXML dump shows extra spaces after control fields. Added yaz_marc_subfield_str which defines subfield lead string which is used in YAZ_MARC_LINE format. Default string is blank+$. Added yaz_marc_endline_str which defines end of fields string used in YAZ_MARC_LINE format. Default string is newline. Experimental support for MarcXChange. This format can be produced by yaz-marcdump and is implemented in yaz_marc_decode - functions. http://www.bs.dk/standards/MarcXchange.xsd Added yaz-client commands scansize that sets maximum number of entries to be returned by scan. --- 2.0.32 2005/01/11 Added support for SRW scan in yaz-client and Generic Frontend Server. * Added whereInList member to SRW Scan Term. * Changed Z_SRW_scanRequest to be able to carry both CCL and PQF. Fixed NMEM system to return aligned blocks on the smallest boundaries that are suitably aligned for all possible types on the particular architecture YAZ is being built for. --- 2.0.30 2005/01/04 Fixed numerious warnings that was issued with newer versions of GCC. Fixed NMEM system to return aligned blocks on 8 byte boundaries rather than 4 bytes, since 4 may not be enough on some systems such as GCC 3.4.3 on Solaris. Make YAZ Generic Frontend Server slightly faster. Enhance (and reduce) logging for Generic Frontend Server. Revert YAZ log system so that it flushes every write operation by default. (YAZ 2.0.26 and earlier verisons did that). Bug #240. Modified the YAZ logging system. The LOG level defines use YLOG_ prefix instead of LOG_, due to name clash with syslog(3). LOG_ are still present. New applications should define YAZ_USE_NEW_LOG=1 - this will effectively disable old definitions. --- 2.0.28 2004/11/09 Added yaz_log_time_format which specifies log format using strftime(3). Added yaz_log_module_level which returns mask for a module. Value is non-zero mask a if module is enabled; zero if disabled. * Fixed bug #148: CQL parser may leak. A few prototypes were changed in include/yaz/cql.h. Fixed bug #176: Dont throw diagnostics on empty SRU args. Fixed bug #175: surrogate diagnostics in SRW lacking NS. Fixed bug #172: RPM builds does not enable SSL. Doxyfile.in part of dist. Doxyfile generated by configure. Configure aborts if any of --with-xml2, --with-openssl, --enable-tcpd are given and the corresponding component does not exist. Extend CCL documentation in YAZ reference. Describe r=r. --- 2.0.26 2004/10/01 Fixed MARC->MARCXML conversion to properly deal with fields, subfields, indicators having non-ASCII characters. Fixed MARC->MARCXML conversion so that ASCII control characters except TAB,CR,LF are removed from resulting XML (XML 1.0 does not support these). Added YAZ GFS support for conversion from Z39.50 surrogate diagnostics to SRW surrogate diagnostics. Bug fix: YAZ GFS did not return schema in explainResponse. --- 2.0.25 2004/09/30 The YAZ GFS when converting SRW/SRU requests to Z39.50 structures now converts recordSchema to elementSetName as well as schema URI. Fixed bug in COMSTACK that prevented HTTP request packages from being decoded properly. --- 2.0.24 2004/09/29 Added CCL facility r=r "range" which is similar to r=o "ordered" but does not require white-space before and after the dash in a range, e.g. x=-1990 is equivalent to x <= 1990 iff r=r, but equivalent to x= -1980 iff r=o. Fixed a few AC_TRY_LINK configure tests that did not operate properly due to new GCC removing "redundant" code. Added yaz-client commands scanpos and scanstep that sets preferred position and step-size for scan. Macro YAZ_INIT in yaz.m4: option --with-yazconfig renamed to --with-yaz. Added CCL utility ccl_qual_buf which parses one or more CCL spec lines in a buffer. Added CCL utility ccl_qual_line which adds CCL qualifier line consisting of name and value - ignoring empty lines and comments. On Windows, the debug DLL/import lib is now named yazd.{dll,lib}. Added odr_get_element_path which returns current element path for an ODR handle. This utility is useful in error handling or user-defined ODR_PRINT stream. Added ODR_PRINT utility odr_set_stream which is is a more generic alternative to odr_setprint. odr_set_stream takes a stream handle, pointer to a write function and pointer to close function. The close function - if non-NULL - will be called during odr_destroy. Fixed bug in CCL parser where truncation char was not removed from right side when truncation=both was in effect. Fixed CQL parser to use unsigned chars for isxxx from ctype.h due to VS.NET. --- 2.0.23 2004/08/11 Fix buffer overrun in CQL parser when dealing with proximity (%). Fixes for MARC-8 in yaz_iconv character set utilies. The MARC-8 to UTF-8/UCS conversion is now only based on codetables.xml. yaz_marc_decode_buf sets leader pos 9 to "a" for MARCXML output. --- 2.0.22 2004/08/06 Add support for more "commit changes" in ZOOM (uses Extended Services). For yaz-client, command set_marcdump / -m dumps SUTRS/XML/.. records as well. Yet another small fix for configure of SSL. --- 2.0.21 2004/05/14 Fix SSL libs for configure when --with-openssl=DIR is given. --- 2.0.20 2004/05/10 Add autoconf m4 macro YAZ_DOC for YAZ documentation setup (docbook). SSL comstack now uses yaz.pem certificate file on server side by default. Certificate filename can be configured by calling comstack function cs_set_ssl_certificate_file before cs_bind is used. Fix bug regarding multiple calls to ZOOM_connection_connect. Implement cs_set_ssl_ctx which sets SSL_CTX for SSL comstack. Do not create SSL_CTX in cs_create (ssl_type). Create in tcpip_bind, tcpip_rcvconnect instead. This allows user to set custom SSL_CTX. ZOOM now allows inspection of X509 peer certificate for verification. The X509 buffer is retrived by reading ZOOM option "sslPeerCert". Removed libyazssl.la. When SSL is enabled, libyaz.la has SSL support and all programs have too (yaz-ztest, yaz-client, zoom..). May not be as "modular" but it simplifies things. Added cs_get_peer_certificate to that returns peer X509 PEM. Added cs_get_ssl that returns SSL handle (SSL *) for SSL comstack; returns NULL if SSL is unavailable. Documentation about MARC decoding tools. Fix --disable-tcpd to really disable tcpd. Patch by Robin H. Johnson. --- 2.0.19 2004/03/30 Rename CHANGELOG to NEWS to follow GNU style packing. Fix bug with missing initialization of member in init_diagnostics. This bug affects threaded version of GFS server. --- 2.0.18 2004/03/20 Use wrbuf_xmlputs_n instead of wrbuf_write_cdata to avoid clash with Zebra symbol. Ensure zlib.dll is packed with Windows install. --- 2.0.17 2004/03/17 Fix encoding of xsd:string to use text instead of CDATA. Fix endless loop in CQL parser with unbalanced ". Use a more compact way to store MARC-8 conversion tables. --- 2.0.16 2004/03/16 Debian only Oleg Kolobov Fixed a bug in yaz_iconv regarding conversion to UCS4 / UCS4LE. Update CQL parser to use new CQL 1.1 modifiers for booleans and relations. Add CQL test cases. --- 2.0.15 2004/03/01 Another fix for decoding of XML packed records. --- 2.0.14 2004/02/25 Fixes for Chunked encoding. White space not ignored after length spec. Update NS and use default NS for SRW diagnostic elements. --- 2.0.13 2004/02/23 Implement ZOOM_resultset_cache_reset which resets record cache. Implement ZOOM_resultset_sort which sorts a result set. Implement chunked HTTP transfer. For SSL, use -lssl -lcrypto on systems that don't have pkg-config. --- 2.0.12 2004/02/16 Added member 'schema' to bend_explain_rr structure so that backend can specify explain record identifier. Defaults to Zeerex 2.0. Fix encoding of OID's of form 1.0.X. Bug introduced in 2.0.11. --- 2.0.11 2004/02/16 * SRW/SRU 1.1 updates: updated diagnostic in srw.h to use uri instead of code. Added init command for yaz-client which sends "extra" init request. Fixed two bugs in OID codec - ber_oidc. Throw error when encoding/decoding bad truncated OID. Fix decoding of OID X.Y... when X=2 and Y>39. Fixed a bug in ASN.1 compiler that caused Type-1 Operator codec to fail. Make ZOOM error code for "invalid query". Fixed compilation for SSL which wasn't properly enabled for all platforms. --- 2.0.10 2004/02/05 For yaz.m4, allow second argument for YAZ_INIT to hold minimal version of YAZ required. * SRW/SRU 1.1 updates. Diagnostic code now a URI. Added option -p to make Generic Frontend Server to write PID file. Added option -D to put Generic Frontend Server in background on its own. Make ZOOM C recognize option "password". If unset, "pass" is used (for backwards compatibility). Fixed a bug in Generic Frontend Server that could make it crash if a client sets characterSetNegotation bit, but didn't pass negotiation stuff in InitRequest. New YAZ client command, zversion, that sets Z39.50 version (1,2,3..). Must be issued before open, in order to be in effect. --- 2.0.9-6 2004/01/12 Debian/Windows Make the SRU server more picky WRT unknown params, etc. Bug fix: ZOOM scan response didn't return displayTerm - when present. New YAZ client command, options, that sets Z39.50 options. New utility functions yaz_init_opt_{encode,decode} to encode/decode Z39.50 options from a string of tokens (one token for each option bit). Update SRW diagnostic code messages. --- 2.0.9-5 2004/01/07 Debian/Windows Handle user defined stylesheet for SRW/SRU. --- 2.0.9-4 2004/01/06 Debian/Windows Fix bug in decoding of Content-Length. --- 2.0.9-3 2004/01/06 Debian/Windows Fix a bug with decoding of XML packed records. --- 2.0.9-2 2004/01/05 Debian only Allow empty ODR (NMEM=0) for odr_oiddup and odr_getoidbystr. Fix bug in SRW/SRU diagnostics decoding. --- 2.0.9 2004/01/05 Fixed bug in Generic Frontend Server which could drop records exceeding preferred message size. Reported and fixed by Irina Dijour. Fixed calculation of package size for structured records in Generic Frontend Server. Reported and fixed by Irina Dijour. Fixed namespace for SRW/SRU diagnostics. Fixed SEGV in yaz-client that occured for HTTP connection errors. --- 2.0.8 2003/12/22 * SRW/SRU 1.1. Since the Namespace has changed for SRW/SRU, it means that this version is incompatible with version 1.0 and older YAZ SRW/SRU implementations. CQL changes to reflect recent changes to the specification: * Documentation talks about context sets instead of index sets. * Documentation talks about indexes instead of qualifiers. * The CQL-to-PQF transformer's configuration file now uses "index.set.name = " instead of the old form "qualifier.set.name = ". (Both forms are still understood but the latter is deprecated.) * CQL terms with no explicit index specified are now interpreted as cql.serverChoice instead of srw.serverChoice (which of course behaves exactly the same.) --- 2.0.7 2003/12/16 MARC conversion can now generate ISO2709 output in another character set. yaz-marcdump uses this facility if you invoke it with option -O. Added missing C decl macros for include/yaz/{soap.h,srw.h,cql.h}, so that functions from there can be used from C++. --- 2.0.6 2003/12/04 Frontend server now transfers memory from decoded packages to stream ODR for search. NMEM now clears freed blocks with 'Y' (hex 59) to force bad memory references to show up. ZOOM-C now supports standard ZOOM option names as described in v1.4 of the ZOOM Abstract API. The older names for the same options are still also supported for the benefit of old applications. ZOOM-C supports "implementationId" and "implementationVersion" options to go along with "implementationName". These allow the user code to specify identification strings to be sent to servers. Add OID for the new ExtLite attribute set. Add OIDs for NACSIS-CATP, FINMARC2000 and MARC21-fin record-syntaxes, as requested/supplid by Ere Maijala For generic frontend server, reverse the order of "toolkit-supplied / application-supplied" strings sent as implementationId, Name and Version. Also, remove the spaces around the slash. This brings the GFS in line with the behaviour of ZOOM-C on the client side. Add function ZOOM_scanset_display_term. yaz-client shows scan displayTerm if present. Utility yaz-iconv is now installed by default along with the man page yaz-iconv.1. Extend configure check for OpenSSL to use pkg-config where available (such as RedHat 9). Incorporate patch by Morten Bogeskov which allows a Unix file socket server to specify uid/gid/mask for socket using the format unix:[user=uid,][group=gid,][umask=mask,]file=path If file= is omitted the existing format is assumed, e.g. unix:path in which case the mask is 0666 (rw for everybody). Major restructure of YAZ source. All source in libyaz is in src directory. Programs in client (yaz-client), ztest (yaz-ztest), zoom (zoom programs), util (utility programs such as ASN.1 compiler, yaz-marcdump). Added man page for utility yaz-marcdump (used to be called marcdump). yaz-marcdump is installed by 'make install'. Fixed a memory leak in Generic Frontend Server that occurred when decoding of incoming package failed. Fixed a potential DOS attack vulnerability in COMSTACK/ODR. Change prototype of odr_perror: add const to message string. New function yaz_log_reopen which reopens log file (for log rotate, etc.) * Blocking parameter for COMSTACK cs_create is now a bit mask rather than a blocking flag. Bit 0 is set for blocking, reset for non-blocking. Bit 1 is set if cs_addrstr should avoid DNS lookup; reset for full DNS lookup. There should not be any compatibility problems with this assuming that blocking=1 or 0 is used. Fix bad reference in UNIX comstack in function cs_addrstr. Fix for compilation on AIX. The generic front-end server (server/seshigh.c) now supports returning Init diagnostics to the client in User-information-field, in accordance with Z35.90 Implementor Agreement 5 (Returning diagnostics in an InitResponse) --- 2.0.4 2003/09/04 Allow any CQL relation (not just all,any,exact,scr). Fixes for OCLC UI ASN.1 to make it work with SilverPlatter targets that features the same UI. Implemented command update0 in YAZ client which is equivalent to update but uses old of Ext Update ASN.1. Use OID 1.2.840.10003.15.1000.81.1 for privately defined charsets in charset negotiation. Added VAL_ID_CHARSET in oid.h. Previously no OID was used for this info. ZOOM uses smallSetUpperBound=1 instead of 0 for piggyback searches. It apparantely upsets EBSCO Publishing IR Z39.50 Server which returns 'malformed search term' otherwise. SortResponse member resultCount now set to NULL in sort handler of frontend server. OPAC support ZOOM. ZOOM_record_get returns OPAC info (as XML) if type is "opac". Add three new utility functions for translating OIDs between various formats -- symbolic name such as "Usmarc", minus-1-terminated int arrays and dotted strings such as "1.2.840.10003.9.5.1": int *oid_name_to_oid(oid_class oclass, const char *name, int *oid); char *oid_to_dotstring(const int *oid, char *oidbuf); char *oid_name_to_dotstring(oid_class oclass, const char *name, char *oidbuf); Reverted modifications for ES Update definition for z_IU0Update (OID 1.2.840.10003.9.5.1 and 1.2.840.10003.9.5). The definition is back to YAZ 2.0.2. String value attributes for CCL parser. Support for OCLC's locally registered "OCLC-UserInformation" PDU, which their FirstSearch server returns in Init responses, sometimes carrying useful diagnostic information when Init fails. This has the OID 1.2.840.10003.10.1000.17.1 and is defined in the file "z39.50/oclcui.asn", where its definition is somewhat different from what OCLC document on their web-site, as required to interoperate with their servers. Support for anonymous authentication in yaz-client. Use the command "auth -". * Fix the OID of the Index Data-local "admin" Extended Service from 1.2.840.10003.9.81.1 to 1.2.840.10003.9.1000.81.1. The omission of the 1000, which indicates a locally-defined OID, was a mistake. --- 2.0.3 2003/06/20 Fix CCL directive @case handling so that it affects string match for both CCL keywords and qualifiers. * ESFormat-Update updates. Packages with OID 1.2.840.10003.9.5.1 and 1.2.840.10003.9.5 are now handled by the same decoder z_IU0Update . Decoder has been updated with ASN.1 changes as listed in http://lcweb.loc.gov/z3950/agency/defns/updateES.html Note that the "latest" DB Update, OID 1.2.840.10003.9.5.1.1 , handler z_IUUpdate, remains unchanged. ZOOM_record_get may now return a record in a specific character set. For type use "form; charset=from[,to]" where form (render, xml, ..) , "from" is the character set of record as returned by target. "to" is the character set to be returned. If omitted, "to" is UTF-8. YAZ ASN.1 compiler renamed from yaz-comp to yaz-asncomp New ODR utility, odr_getelement, which returns name of element for which encoding/decoding failed. Fixed ODR so that it returns error code OREQUIRED rather than ONONE in cases where a required element was omitted. Bug fix: some MARC8 sequences were not converted. New ZOOM option "step" which specifies number of records to be retrieved in one chunk. Used in conjunction with "start" and "count". SRW support for yaz-client. Use scheme http: to use it, e.g. http://host:port/db yaz-client no longer does (un)intelligent character set conversions by default. Can be enabled with charset and marc_charset commands. xmalloc trace fix for 64-bit systems such as DEC alpha. Solaris 2.6 compile fix. New function, cql_strerror() translates SRW error codes, as returned by cql_transform_error(), into human-readable English strings. Used in yaz-client diagnostics when appropriate. New CQL2RPN query-type for the command-line yaz-client, parses CQL and converts it into a type-1 query which is sent to the server. This makes CQL available for use with all Z-servers, as opposed to the tiny minority that can handle CQL queries themselves. --- 2.0.2 2003/04/28 New Debian package layout similar to the Redhat Package layout. New ZOOM events ZOOM_EVENT_RECV_{RECORD,SEARCH} for receiving a record and search result respectively. --- 2.0.1 2003/04/25 Redhat package is now several packages: libyaz (runtime libraries), libyaz-devel (development and documentation, and yaz (utility programs). Package spec file by Morten Bogeskov. New member 'schema' in struct bend_fetch_rr which the name of requested schema (SRW/SRU) for record (or NULL if none was given). The fetch handler MAY set this to reflect the schema of the returned record. New member 'display_term' in struct scan_entry. GFS now sets member entries and allocates scan entries to be filled by user scan handler. In previous version, entries member was allocated by the scan handler. That still works, but the GFS will ignore member display_term - assuming it was NOT set by the handler. The fact that the GFS now allocates the entries both allows for new members and makes a scan handler easier to write. Fix CQL lex buffer overflow. SRW/SRU recordPacking. For SRW default recordPacking is string. For SRU default recordPacking is string. SRU protocol support for frontend server. Fix compile bug for systems that have nl_langinfo but CODESET undefined. Added missing PQF transform rules for <= and >= . Thanks to Peter Popovics. Added scan for the ZOOM shell (zoomsh). --- 2.0 2003/02/23 * String Identifers for Schemas (Amendment 5). http://lcweb.loc.gov/z3950/agency/amend/am5.html Old definition for schema Odr_oid *schema; /* OPT */ New: int which; union { Odr_oid *oid; Z_InternationalString *uri; #define Z_Schema_oid 1 #define Z_Schema_uri 2 } schema; /* OPT */ * resultCount parameter to Sort Response (Amendment 1). http://lcweb.loc.gov/z3950/agency/amend/am1.html Support for SRW 1.0 over HTTP. This is an optional feature and requires libxml2 to operate. Enable SOAP by specifying --with-xml2 for configure. Generic frontend server supports HTTP/SOAP/SRW and Z39.50/BER on the same port. SRW SearchRetrieveRequests are mapped to bend_init,bend_search,bend_fetch,bend_close. Z39.50 Query Type-104 added - to facilitate CQL within Z39.50. CQL support. Source is directory 'cql'. CQL is supported in ZOOM (both SRW and Z39.50) and the YAZ client (Z39.50 only). ZOOM connections are SRW based if schem http is used for hostname in connect, e.g. z = ZOOM_connection_new("http://myserver"); ZOOM_query may be of type CQL, e.g. ZOOM_query_cql(q, "dc.title=x"); CCL proximity operators !n, %n converts to PQF @prox 0 n 1 2 k 2 and @prox 0 n 0 1 k 2 respectively, meaning: exlusion=false, distance=n, order=true/false, relation=le, prox unit=word. If n is omitted, distance 1 is used. Fixed problem with C compiler include path in wrong order. For TCP/IP COMSTACK, set recv buffer to an appropriate "large" value on Solaris. Patch from Ko van der Sloot. New MARC decode API. All new functions operate on a yaz_marc_t handle. The most important new functions are: yaz_marc_create, yaz_marc_decode_{buf,wrbuf}, yaz_marc_destroy, .. to create handler, decode and destroy respectively. Decoder can produce formats MARC line, simple XML, OAI MARC and MARC XML (LoC). See include/yaz/marcdisp.h. YAZ Iconv utility now supports MARC8 decoding (marc8.c). Converts to UTF-8, UCS-32, wchar_t or Latin-1. * Prototypes for yaz_iconv_-functions moved to separate header include/yaz/yaz-iconv.h. Make a few private functions 'static' in unix.c. This prevents duplicate unix_close in PHP with YAZ and imap. PHP Bug 20977. For ZOOM connection, the options targetImplementation{Id,Name,Version} are set when Init Response is received. New function ZOOM_connection_error_x similar to ZOOM_connection_error but returns diagnostic set as well. New function yaz_strerror which is a portable wrapper for strerror/strerror_r/GetLastMessage. * ZOOM_record_get supports type "xml" in which case MARC XML (from LOC) is returned for MARC. If type is "oai", then OAI MARC is returned. Fix creation of lib/yaz-config so it works if srcdir != objdir. Patch from Kang-Jin Lee. --- 1.9.2 2002/11/26 yaz_marc_decode uses OAI MARC as XML format for ISO2709 records. Fix bad race conditions on SIGTERM and terminate gracefully in frontend server. Move retrieval (data1) module to Zebra since nobody seems to be using it. Add GRS-1 render for ZOOM using same format as yaz-client. --- 1.9.1 2002/10/05 Added man pages: yaz-client(1), yaz-ztest(8), yaz(7), zoomsh(1). Fix broken ESpec handling in data1 module. SGML reader parses comments and makes them part of the data1 tree. Added several type casts so that YAZ compiles as C++ code. ZOOM didn't handle PDU encoding failures properly. Added more Bib-1 diagnostics (approved extensions). GNU configure: better check for iconv. More portable use of accept, getpeername. Check for socklen_t. Use int/size_t if socklen_t is not defined. --- 1.9 2002/09/06 PQF parser rejects bad queries - including those with extra characters in them. PQF parser used to silently ignore that. Cleaner API for PQF added, which allows you to get detailed error information for bad queries (see yaz/pquery.h). Fixed bug in ZOOM_record_get for type "database". Implemented mini iconv library supporting conversions between UTF-8, UCS4, UCS4LE and ISO-8859-1. Implemented in util/siconv.c. * Removed XML reader (d1_expat.c). It's part of Zebra instead. --- 1.8.9 2002/08/20 Fixed ZOOM C record cache so that preferredRecordSyntax and elementSetName is used to check for already fetched records. --- 1.8.8 2002/08/02 Added three members in bend_initrequest structure to facilitate character set negotiation. Fixed a bug in frontend server that could cause indefinite loops under rare conditions. Revised character set utilities (charneg.h) so that encoding UCS-4, UCSA-4, UTF-16 and UTF-8 are encoded non-privately. For PQF, directive @term sets term type for Scan/Search. Here is general, string, numeric, null. The term type is inherited - just like @attr. New call odr_set_charset that sets character set conversion for international-strings on a ODR stream. Prototype is: int odr_set_charset(ODR o, const char *to, const char *from); The InternationalString is still represented as C string in YAZ so native strings of type UTF-8, ASCII, etc. will work (UTF-16 won't). On the protocol level, you can use any encoding. Support for UNIX sockets in ZOOM. Solaris recv sometimes returns errno == ENOENT. It is treated as EINPROGRESS. COMSTACK patch by Ko van der Sloot. New COMSTACK of type UNIX Socket. Use "unix:/path" as address for both client and server. Code by Morten Bogeskov. --- 1.8.7 2002/05/22 On Windows ZOOM functions are of type __stdcall rather than __cdecl, so that they can be used directly from Visual Basic. You must recompile your windows APP if you're using ZOOM. Character Set and Language Negotiation(3) for ZOOM API and YAZ client. Commands "lang" and "charset" sets language and character set respectively. Options "lang" and "charset" is interpreted by the ZOOM API. Note, these are not part of the official ZOOM spec) All is due to Oleg Kolobov. Attributes from multiple CCL fields may be OR'ed rather than merged using directive "@field or". Fields are still merged by default - equivalent to "@field merge". Fixed bug in ZOOM connect that occurred on OpenBSD (maybe others). Patch by Oleg Kolobov. Fixed bug in zget for parameter ExtendedServicesResponse. Fix OID for ILL. --- 1.8.6 2002/03/25 Added PQF feature: '@attr type=value' may be written as '@type=value'. Client displays USR.1:SearchResult-1 (hits per term). Additional Search Info for search in Generic Frontend Server. Fixed CCL parsing of "field=s". WIN32 installer - using the excellent NSIS software from nullsoft. Fixed CCL parsing of "field = - ". Added function yaz_marc_decode that decodes MARC for line mode display or XML (similar to that used by JZKit). Fixed BER decoding of OPTIONAL CHOICE. The bug didn't affect the Z39.50. But ISO/ILL was, however. Added patch by Rustam T. Usmanov that implements Z39.50 duplicate detection service (Z39.50-1995 Amendment 2) and Language Negotiation (3). See: http://lcweb.loc.gov/z3950/agency/amend/am2.html http://lcweb.loc.gov/z3950/agency/defns/charneg-3.html --- 1.8.5 2002/02/03 New YAZ client features: Command completion and new commands: push_command, set_apdufile, set_marcdump, set_cclfields, register_oid. Code provided by Jacob Poulsen. New call oid_trav, that visits all registered OIDs via callback. Function ZOOM_record_get now returns const char pointer rather than void pointer. It saves a lot of type casts. For YAZ client, command "auth" now allows you to set authentication in IdPass style. It is enabled when three tokens are given - order is user, group and password. Fix memory leaks in MARC record handling for ZOOM. New option for YAZ client, -k that sets maximum record size. Similar to -k option for generic frontend server and yaz-ztest. More fixes for scan. Non-zero stepSize handled. OID's fixes. Prefix query parser reports "fail" when bad attribute set is given. Fix in MARC decoder. Proximity logging. Fix for attribute set in scan handler for server. Patches by Shigeru Ishida. SSL/COMSTACK updates. cs_rcvconnect completes SSL handshake. ZOOM works with SSL. Configure option --with-openssl= now works when a directory is specified. Patch provided by Morten Bogeskov. New option for YAZ client, -u , that sets authentication. ZOOM fix: error information was sometimes "missing", since error was cleared/reset too when it shouldn't. ZOOM_record_get returns ISO2709 buffer when "raw" is given. --- 1.8.4 2002/01/04 Scan for ZOOM API. New object ZOOM_scanset. New functions ZOOM_connection_scan, ZOOM_scanset_size, ZOOM_scanset_term and ZOOM_scanset_destroy. New ZOOM function, ZOOM_connection_last_event, that returns type of last event (such as "receive data", "send data", "apdu received", etc. New ZOOM option, schema, that specifies schema for retrieval. New CCL feature. Qualifiers can be aliases for one or more other qualifiers (if more than one is given, OR is used). ZOOM uses named result sets if target supports it. Two new YAZ client commands: . (dot, which sources a script of YAZ client commands), and ! (to execute shell command.). Implemented by Jacob Poulsen. Working on Debian packages. --- 1.8.3 2001/11/19 YAZ client enables named result sets only if target supports it. *** ZOOM. Prefix for ZOOM definitions changed from Z3950_ to ZOOM_. * ZOOM. Removed Z3950_connection_host. Use Z3950_connection_option_get with key="host" to get same result. * ZOOM. Added Z3950_record_clone and removed Z3950_resultset_get. Function Z3950_resultset_record(s) returns references to records "owned" by resultset. To become owner use Z3950_record_clone. Function z_ext_record handles Extended Services. Thanks to Irina Dijour. --- 1.8.2 2001/11/12 CCL Parser fix: ignore token comma when dealing with and-lists. Documentation updates for COMSTACK. * ZOOM changes. Query object renamed from Z3950_search to Z3950_query. Changed prototype Z3950_records. For some functions, int parameters were changed to size_t. TCP/IP COMSTACK no longer uses getprotobyname to avoid memory leak on some Unices. New MARC decode/display function, marc_display_exl, which properly rejects non-ISO2709 records. YAZ client uses it. --- 1.8.1 2001/10/29 Fix bug: local attribute set wasn't set correctly in PQF strings. --- 1.8 2001/10/25 * Old Z39.50 codecs no longer supported. Added ZOOM C binding. See http://zoom.z3950.org/ Renamed states for COMSTACKs to avoid confusion with events. Implemented cs_look and proper cs_rcvconnect. Fixed COMSTACK error that occurred on HPUX. Fix by Giannis Kosmas. Configure detects POSIX threads on OpenBSD. When sort flag 'i' was specified in yaz-client the caseSensitivy flag was set to a wrong value. Thanks to Robert Sanderson for reporting this. When error is returned from present handler, non-surrogate diagnostic is returned in present response (and fetch handler is no longer called). * Minor adjustments to pquery parser (PQF). Token characters may be escaped by using backslash (C-style). PQF parser allows string attribute values to be specified. For @attr, non-numeric characters after the equal-sign are treated as strings (e.g. @attr 9=title). CCL trunction character may be defined (@truncation in file) * function zget_ExtendedServicesRequest sets waitAction to waitIfPossible (was wait). Added cs_set_blocking to set change blocking mode of a COMSTACK. Thanks to Matthew Carey. CCL operator names may be set in field definition files (CCL_bibset). See ccl/bib1 for an example. Fixes in ASN.1 compiler for C++ compatibility. * Renamed members "and" and "or" in struct Z_Operator to "op_and" and "op_or" to avoid conflict with C++. Fixed problem with GNU readline detection on Redhat 7.0. Added step-size for Scan backend handler. Fixed bug that made the frontend server crash when no attribute set was specified for scan. Front-end server automatically switches to original working directory when installed as an NT service. Previously -w had to be specified to make it work. Added extended attributes for retrieval module (data1), so that data1 records carry d1_readXML/SGML attributes. d1_read also supports null-data rules ( ) On UNIX when POSIX threads are available, a separate library libyazthread is created. Programmers should link with that library and the yaz library when using threads. The reason for the split was that some applications on Linux, such as Apache, doesn't work well when using shared objects that relies on threads. Added SSL support for the COMSTACK. You start yaz-client and yaz-ztest (or any frontend server) in SSL mode by specifying ssl: followed by address. Only tested on UNIX. Added feature for CCL module. Virtual structure s=al or s=ol generates and-list and or-list respectively instead of phrase search. Added some OID's. * Added prefix "yaz_" for the functions log_init.., log_file.. and log_mask_str. This was done to avoid name conflicts with other libraries (such as other PHP extensions). Added raw OID member for preferred record syntax (request_format_raw) and returned record syntax (output_format_raw) for backend fetch method. Config file yaz-config now accepts options so that it returns specific compile settings, etc. Thanks to Morten Bogeskov Shared library support for UNIX using GNU libtool. * Modified backend interface. Request/Response struct's replaced by one read/write C struct. For example bend_fetchrequest and bend_fetchresult have been replaced by single bend_fetch_rr struct. Every handler - even search has to be registered in bend_init handler. This means that the YAZ library no longer refers to external functions and it makes it possible to make the whole thing a single DLL/SO. Added Segment handler for backend server. Added Zmbol/Zebra administrative functions to YAZ client. Threaded frontend server on UNIX (when POSIX Threads are available). Starting the server with option -T enables multi-threading. --- 1.6 2000/03/03 Added configure option --enable-comp/disable-comp to control use of YAZ ASN.1 compiler. Use --disable-comp to use the old *coders located in sub directory asn. YAZ ASN.1 compiler renamed to yaz-comp in sub directory. It's installed in ${exec_prefix}/bin along with the other programs yaz-client and yaz-ztest. GNU automake used to maintain makefiles. Added several OID's. Changed retrieval module so that we can load records with no abstract syntax defined. Tagpaths in these records are fully composed of string tags. Implemented ISO ILL protocol. Refer to stuff in sub directory ill. --- 1.5 1999/12/10 On UNIX, the generated makefile now supports a proper 'make install'. The prefix can be set via GNU configure to set the install location (default is /usr/local). * YAZ programs client and ztest were renamed to yaz-client and yaz-ztest to avoid conflicts when users install YAZ in "standard" locations, such as /usr/bin,/usr/local/bin,etc. * YAZ Header files were moved from include to include/yaz. YAZ Header files are referred to as include rather than . The YAZ include path (-I ..) is therefore the same as before. Programmers should update their #include statements or use -Ipath/include/yaz instead. The main motivation for doing this change is that YAZ header files can be installed in "standard" locations /usr/include,/usr/local/include without introducing conflicts, since ALL YAZ header files are stored in subdirectory yaz (under /usr/include for example). Compilation of YAZ for WIN32 is now handled by an nmake-style makefile rather than project/workspace files. We switched because project files are incompatible between Visual C++ 5 and 6. Refer to windows.txt for details. Changed name of logging function, logf, to yaz_log, to prevent name clash with some math-log functions. The YAZ header log.h defines logf to yaz_log (#define) so there should be no incompatibilities by this modification. Added bend_start/bend_stop handlers for server. These handler are called on start/stop of server. For windows they are called whenever a service is started/stopped. * YAZ now auto-generates decoders/encoders for the Z39.50 protocol using a fairly small ASN.1 compiler written in Tcl. The compiler is located in util/yc.tcl. The auto-generated C code structures are, in a few cases, incompatible with the old decoders. There are differences in the following C structures Z_DiagRec, Z_External, Z_SortRequest, Z_SortResponse, Z_AttributesPlusTerm, Z_ProximityOperator, Z_DefaultDiagFormat. The preprocessor variable ASN_COMPILED is defined when the compiled ASN.1 is being used. Encoder/decoder routines as well as the Z39.50 protocol ASN.1 is located sub directory z39.50. If you wish to use the old encoders/decoders you can specify --disable-yc for configure. Assigned OID for old DB Update (VAL_DBUPDATE0). Updated YAZ compiled version so that it supports both new - and old version of DB Update * Added 'name' parameter to ODR encoder/decoder routines to facilitate pretty ODR print. Updated whole Z39.50 encoder/decoder to reflect the change. The name parameter can be set to 0 in which no name is specified for the construction. The macros odr_implicit and odr_explicit sets name parameter to zero for the construction involved. New macros odr_implicit_tag and odr_explicit_tag are similar to the others, except that a name parameter is added. For programmers' that don't use ODR they probably only need to change the call to z_APDU and z_External. Added access control facility by interfacing the TCP wrapper library. YAZ automatically attempts to find the TCP wrapper Library (-lwrap) and tcpd.h on Unix systems. For the server, option -d specifies the name of the daemon and enables the access control as specified in hosts.allow/hosts.deny. Refer to man pages tcpd(8) and hosts_access(5). Fixed memory leak in ccl_find_str and ccl_qual_rm. Thanks to Hans van den Dool . Added reference ID parameter to most functions in server API - refer to backend.h. Thanks to Hans van den Dool . Changed name of ccl library to libccl.a (was ccl.a). Fixed bug in decoder for Explain (Category TargetInfo). Added support for GNU readline in client. Thanks to Jacob Poulsen . GNU configure attempts to detect if readline is available. * CHANGED DEFINITION OF ES: UPDATE (INCLUDING THE OID) to reflect the new definition from the ZIG. NOTE THIS IF YOU HAVE AN UPDATE IMPLEMENTATION! This change was made to the development version before the ZIG decided to retract the amendment. If any users MUST be compatible with the original Update definition, PLEASE CONTACT US, and we will include a separate definition corresponding to the old Update ES. Note that because of the change to the ASN.1 of the TaskPackageRecordStructure we cannot define a single structure that will support both versions. * Added const modifier to buffer parameter for some ODR/BER encoding routines: ber_dectag, ber_declen, odp_more_chunks, completeBER, completeWAIS, odr_dumpBER. Fixed bug in client.c which caused a crash when a scanResponse didn't contain positionOfTerm. * Fixed inconsistency in the ScanResponse/ListEntries protocol. This * will cause an error in a client if a non-YAZ target sends both a * list of Scan entries and non-surrogate diagnostics. Retrieval module enhancements. Tag sets may be typed in the reference to it. From the .abs-file the "tagset" directive takes a third optional integer type for the tag set referenced. From a .tag-file the "include" directive takes a third optional type as well. The old "type" directive in the tag set itself is still recognized but acts as the default type for the tag set. Backend interface change. Individual Scan terms returned from bend_scan may also be tagged as Surrogate Diagnostics. Refer to struct scan_entry in include/backend.h. Retrieval module enhancements. Multiple tag sets and attribute sets may be specified in abstract syntax specs. Revised the error/warning for logging messages reported by the retrieval module when reading the various spec files. Object Identifier system (oid_..) changed. The API is backwards compatible but the oid-routines now allocates new OID's when needed. Raw OID's may be specified in oid_getvalbyname. YAZ now uses GNU configure to generate Makefile(s). * Minor changes in some of the member names of DeleteResultSetRequest and DeleteResultSetResponse. See include/proto.h. * Changed some C definitions regarding EXPLAIN record syntax (prt-exp.h) and added member 'languages' in TargetInfo (which was missing). Changed the way attribute sets are handled in the retrieval module. These are now cached, just like the abstract syntaxes (schemas). Changed YAZ so that it links with compiled ASN.1. Added Explain-schema definitions and mapping routines. The following Explain categories have been implemented: AttributeDetails, AttributeSetInfo, DatabaseInfo, CategoryList and TargetInfo. Fixed minor bug in Windows version of Server Library. --- 1.4pl2+ 1998/4/17 (Released with Zebra) Added Extended Services to server (backend.h). Thanks to Charles Woodfield. Added EXTERNAL: UNIverse Resource Report (non-standard). Implemened odr_enum and odr_set_of functions to handle ASN.1 types ENUMERATED and SET OF. * Added 'const' to some of the char pointer arguments for the functions, data1_read_node, data1_getelementbytagname, data1_insert_taggeddata, data1_getesetbyname, data1_getelementbyname, data1_get_absyn. Fixed bug in data1_insert_taggeddata - the last_child member of parent wasn't initialised. * Changed data1_read_record and data1_read_node so that the supplied "SGML"-buffer is read-only. In particular the resulting data1 - tree doesn't refer to any parts of the "SGML"-buffer. Fixed bug in server library (Windows version of statserv_remove). * Changed code so that it compiles as C++. The type definition of Odr_fun which is a member of Odr_arm was changed. The result is, that an explicit typecast is needed for the fun pointer when using Odr_arm - as in: {1, -1, -1, Z_IdAuthentication_idPass, (Odr_fun)z_IdPass}, Updated TagSet-G and -M definitions (tagsetm.tag and tagsetg.tag). Implemented the new structured date and time definition as approved by the ZIG. Added schemaId element to the specificTag in Espec-1 (also approved at the last ZIG). Thanks to RVDM. Added some Object identifiers (RVDM). Changed the Update Extended Service (RVDM). Added command "refid" to client which specifies referenceId for the following requests. Implemented extended service handling for server. See ztest.c for an example as well as backend.h. New handlers are registerd in the Init handler. * Changed interface for sort in server. Added new members to statserv_options_block. It allows a server to read options from another source than just the command line. Thanks to Charles Woodfield. * Changed definition of Z_Triple in file prt-grs.h - member boolean renamed to zboolean. Some C++ compilers complained about the name. Minor changes to gils.abs. Added index 's' (sort) on title and date/time-last-modified. --- 1.4pl2 1998/1/30 Fixed bug in server library regarding inetd mode (-i). This bug was introduced by release 1.4. --- 1.4pl1 1998/1/29 Added sort facility in client and backend server interface. Fixed problem with dependencies in Makefile(s). Fixed bugs for encoders/decoders of extended services and SearchInfoReport. Implemented sub-tree feature for schemas. Sub-trees are referenced in *.abs-files. See explain.abs for an example of the use of this feature. Modified bib1.att; local attributes for ANY didn't include ANY itself (only affects use of the retrieval module). Fixed bug in plain SGML reader in function data1_read_node: tags with prefix "var" was incorrectly interpreted as variants. Added feature "sub-schemas" to enable references to - and definitions of - group of elements. * Removed member parent from type data1_element (in data1.h). Implemented function odr_nullval() that returns the value of ODR_NULLVAL. * Removed member num_children from data1_node (in data1.h). Made NT service interface part of the server library. The function statserv_main uses the NT service when required and calls the statserv_start / statserv_close routines. Routine zget_SearchRequest and zget_PresentRequest fills resultSetName/Id member with "default" instead of "Default". Fixed memory leak in server. Request queue member wasn't freed. Fixed nmem_exit so that memory is freed. --- 1.4 1997/10/2 Revised the CCL parser utility to be thread safe. Added function, oid_ent_to_oid, to replace the function oid_getoidbyent, which is not thread safe. * Added nmem_init and nmem_exit to initialize and release NMEM resources. Function nmem_init should be called once in the initial thread before NMEM/ODR is used. statserv.c and client.c have been changed accordingly. The change was necessary to make NMEM thread safe. The NMEM memory pool is shared amongst threads in a process. Unix-based applications will still work fine without calling this. Added NT Services interface for the the Z39.50 (statserv) Server. Refer to the ztest.c source on the usage. Windows 95/NT port using MSVC5.0. Project files are included in the distribution. * Defined new 'global' handle for the retrieval (data1) system. The new handled, data1_handle, describes the state of the data1 system. This handle is passed as first argument to virtually all data1 related routines. The functions data1_create and data1_destroy creates and destroys a data1 handle respectively. Added ODR encode stream member to all backend request structures init, search, scan etc. This stream should be used to allocate all memory used for the response when thread safe operation is needed. Changed the comstack utility, cs_addstr, to be thread safe. The returned hostname string returned by the function is now part the COMSTACK instance. Added comstack utility, cs_straddr, which replaces the tcpip_strtoaddr function. The cs_straddr takes a COMSTACK handle as argument, so this function must be used after cs_create and before bind/connect. This function is thread safe. Moved test server to 'ztest' directory - generic server code still in 'server' directory. Made prefix query (pquery.c) utility thread safe. Added new function modifier YAZ_EXPORT to 'export' public DLL functions when using windows (see include/yconfig.h). Added definitions to the OID database (util/oid.c) (RVDM). Added new BIB-1 diagnostic messages to the handler diagbib1_str. Added call to ccl_rpn_delete in client program. Added ODR argument to ccl_rpn_query and ccl_scan_query to provide release of RPN structure. Added support for C++, headers uses extern "C" for public definitions. With input from RVDM. In handling of SEQUENCE OF: Counter set to zero when SEQUENCE OF is absent. Thanks to Ronald van der Meer (RVDM). Added initializers (zget_ routines) for a number of PDUs. Thanks to RVDM. Added support for private extensions to the OID database (oid_setprivateoids()). Thanks to RVDM. Added optional, physical ANY (key replication) Fixed null-reference problem in GRS-1 output filter. Proximity operator added to Prefix Query Format (PQF). In test client command "base" accepts multiple databases. Fixed bug in cs_close stack that caused trouble with WINSOCK. --- 1.3 1996/10/11 Fixed tagging bug in ResourceReportResponse PDU encoder/decode. Smallish bug-fixes in the new encoders/decoders (explain). Bug fixed in DeleteRequest. Fixed tagging bug of type 101 query in SearchRequest-Query PDU encoder/decoder. Fixed tagging bug in ResourceReportResponse PDU encoder/decode. Added SOIF syntax (using private OID for now) to retrieval module and client. Added Update extended service. Added SearchResult-1 additional info structure. Added optional CCL (ISO8777) interpreter as separate module. Available in linemode client. --- 1.2 1996/6/10 (1st anniversary release) Added Summary record syntax. Lightly tested. Added OPAC record syntax. Untested. Added ResourceReport service encoders/decoders. Untested. Fixed bug in z_Unit - wrong tagging on unitSystem. Fixed bug in the DiagRecs decoder. Added options for max PDU size and session timeout to frontend-server. Added documentation of query-language parsers and other supporting utilities. [frontend-server] Added Attribute set to the bend_scanrequest API. [frontend-server] NextResultSetPosition was sometimes set incorrectly when surrogate diagnostics were generated. [retrieval] Allow multiple local values for attribute. [retrieval] Allow multiple attributes per element in .abs files. index type. [retrieval] Added Summary tagset, abstract syntax, and d1-node/ASN filter. --- 1.1pl2 1996/4/10 Minor changes, mostly specific to Zebra's requirements (retrieval) --- 1.1 1996/2/20 Repaired bug in frontend server when running multiple listening endpoints in dynamic mode. z_External() now won't break if a known, ASN.1 value comes encapsulated in an octet-string. The value will pass through unmodified in an Odr_oct. Added a bit of code to the demo client to decode & display ASN.1-structured records represented in the octet-aligned branch of the EXTERNAL CHOICE. Thanks to CAS for prodding us to finally do this. Added z_ext_getentbyref() to the ASN module. Doc updated. * Completed the SCAN definition in the ASN module. This may break SCAN code based on older YAZ-versions at compile-time. The fix is easy - look in proto.h. * Added 'displayTerm' and OtherInformation to the TermInfo structure under the SCAN definition. Remember to initialize this, server-people. Comstack should now support the WAIS protocol in TCP/IP mode. Note that this does not extend to ODR and ASN. Comstack allows insertion of established socket (primarily for inetd-operation of servers). Doc updated. Front-end server can now start from the inetd in TCP mode. Doc updated. --- 1.0pl4 1996/1/24 Added Sort PDU. Fixed small problem in SUTRS-filter. A newline was sometimes inserted before the rank and record number. Adjustments to the frontend server. Fixed diagnostic BER dumper. It ignored the file argument. --- 1.0pl3 1996/1/2 Various changes to retrieval module. Changed the union discriminators of the protocol files from enums to ints paired with #defines. *Changed oident.class to oident.oclass to avoid a reserved word in C++ compilers. *Changed operator in the RPN structure to 'roperator', again to avoid a conflict with C++. Fixed problems in Explain decoders/encoders. --- 1.0pl2 1995/12/6 Memory bug in log module fixed. --- 1.0pl1 1995/12/5 Occasional malloc() of 0 bytes fixed in d1_espec.c. Bug in Explain DatabaseInfo module fixed. Some '\r' snuck into one or two of the ret'l config tables. A curse on Windows. --- 1.0 1995/11/28 The shift to v1.0 signals that we now consider the *core* functionality of YAZ reasonably stable (the core being more or less equivalent to Z39.50-1992). Some of the really nifty v3 stuff is still not heavily tested (Explain not at all - though that will happen soonish). Minor changes to code to support Windows port. Various minor changes after we're getting to use GRS-1 & co. more. Added Espec-1 format. Added VisibleString field body type to GRS-1. It is illegal acc. to my copy of the protocol and it cannot be selected when encoding (maps into 'string' when decoding). Needed to talk to some servers. Demo client can request simple element set names. Added Diagnostic Format encoders/decoders. Added simple Close handling to frontend server (no hooks for resource reporting yet), and demonstration client. Added cs_addrstr() command to COMSTACK to retrieve peer hostname/address. --- 1.0b3 1995/08/24 Fixed bug in the frontend-server. The numberOfRecordsReturned field was handled incorrectly when records were requested in the searchResponse. This will only affect you if you use the frontend-server. Added GRS-1 encoders/decoders to the service-level API. Lightly tested. Test-client will ask for and print GRS1. Ztest will return dummy records on request. Added Explain encoders/decoders to the service-level API. Untested. Added Extended Services: Item Order encoders and decoders to the Service- level API. Untested. We could use a recent copy of the pertinent bits of the ILL protocol to add those bits. Added diagnostic format 1 encoders/decoders to the service-level API. Untested. Moved pretty-printing of structure-wrappers ({..}) from odr_seq.c to odr_cons.c, which causes a more correct output. Fixed handling of searchRequest in frontend server. NextResultSetPosition was always set to 0 when no records were requested in the searchRequest. * Added better external-handling. This shouldn't harm old code that *encodes* externals. It can break code that looks for a 'single-ASN1-type' representation, since those types that are known are now decoded immediately. Look at the SUTRS sample code in seshigh.c and client.c. Documentation updated. Handling of structured records in bend_fetchresponse. Length -1 marks structured record, type is deduced from format field. --- 1.0b2 1995/06/27 Fairly quick maintenance release to add SUTRS support. Fixed handling of SUTRS records in the demonstration client. * Added format field to the bend_fetchrequest and bend_fetchresponce structures of the backend API (frontend server). When the record is returned, the value of the format field is mapped to an OID. The value VAL_SUTRS will also cause a slightly different ASN.1 packaging of the record. The special value VAL_NONE in the bend_request means that no specific format was requested by the client. Documentation updated accordingly. Test server (ztest) will return a fixed dummy SUTRS record if your client requests SUTRS. Documentation updated accordingly. You can now set external libraries and RANLIB support in the top-level Makefile. --- 1.0b 1995/06/19 First public release. yaz-5.31.1/Makefile.in0000664000175000017500000007603314157607075011421 00000000000000# Makefile.in generated by automake 1.16.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_check_icu.m4 \ $(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/yaz.m4 $(top_srcdir)/m4/yaz_libxml2.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = yaz-config yaz.pc yaz-icu.pc yaz-server.pc \ Doxyfile win/version.nsi src/yaz/yaz-version.h CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(aclocaldir)" \ "$(DESTDIR)$(pkgconfigdir)" DATA = $(aclocal_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir distdir-am dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Doxyfile.in $(srcdir)/Makefile.in \ $(srcdir)/yaz-config.in $(srcdir)/yaz-icu.pc.in \ $(srcdir)/yaz-server.pc.in $(srcdir)/yaz.pc.in \ $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ $(top_srcdir)/config/config.sub \ $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ $(top_srcdir)/config/missing \ $(top_srcdir)/src/yaz/yaz-version.h.in \ $(top_srcdir)/win/version.nsi.in ChangeLog NEWS README.md \ config/compile config/config.guess config/config.sub \ config/install-sh config/ltmain.sh config/missing \ config/ylwrap DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip # Exists only to be overridden by the user if desired. AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSSSL_DIR = @DSSSL_DIR@ DSYMUTIL = @DSYMUTIL@ DTD_DIR = @DTD_DIR@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ HIREDIS_LIBS = @HIREDIS_LIBS@ HTML_COMPILE = @HTML_COMPILE@ ICU_CFLAGS = @ICU_CFLAGS@ ICU_CONFIG = @ICU_CONFIG@ ICU_CPPFLAGS = @ICU_CPPFLAGS@ ICU_LIBS = @ICU_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_COMPILE = @MAN_COMPILE@ MEMCACHED_LIBS = @MEMCACHED_LIBS@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PDF_COMPILE = @PDF_COMPILE@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ READLINE_LIBS = @READLINE_LIBS@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SSL_CFLAGS = @SSL_CFLAGS@ SSL_LIBS = @SSL_LIBS@ STRIP = @STRIP@ TCLSH = @TCLSH@ TCPD_LIBS = @TCPD_LIBS@ TKL_COMPILE = @TKL_COMPILE@ VERSION = @VERSION@ VERSION_HEX = @VERSION_HEX@ VERSION_SHA1 = @VERSION_SHA1@ WIN_FILEVERSION = @WIN_FILEVERSION@ XML2_CFLAGS = @XML2_CFLAGS@ XSLTPROC_COMPILE = @XSLTPROC_COMPILE@ XSL_DIR = @XSL_DIR@ YACC = @YACC@ YAZ_CONFIG_CFLAGS = @YAZ_CONFIG_CFLAGS@ YAZ_CONF_CFLAGS = @YAZ_CONF_CFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgconfigpath = @pkgconfigpath@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src util test client ztest zoom doc etc aclocaldir = $(datadir)/aclocal aclocal_DATA = m4/yaz.m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = yaz.pc yaz-icu.pc yaz-server.pc SPEC_FILE = $(PACKAGE).spec EXTRA_DIST = $(SPEC_FILE) IDMETA README.md LICENSE NEWS m4/id-config.sh \ m4/yaz.m4 m4/yaz_libxml2.m4 buildconf.sh \ m4/acx_pthread.m4 m4/ac_check_icu.m4 m4/common.nsi m4/mk_version.tcl all: all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): yaz-config: $(top_builddir)/config.status $(srcdir)/yaz-config.in cd $(top_builddir) && $(SHELL) ./config.status $@ yaz.pc: $(top_builddir)/config.status $(srcdir)/yaz.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ yaz-icu.pc: $(top_builddir)/config.status $(srcdir)/yaz-icu.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ yaz-server.pc: $(top_builddir)/config.status $(srcdir)/yaz-server.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ Doxyfile: $(top_builddir)/config.status $(srcdir)/Doxyfile.in cd $(top_builddir) && $(SHELL) ./config.status $@ win/version.nsi: $(top_builddir)/config.status $(top_srcdir)/win/version.nsi.in cd $(top_builddir) && $(SHELL) ./config.status $@ src/yaz/yaz-version.h: $(top_builddir)/config.status $(top_srcdir)/src/yaz/yaz-version.h.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt install-aclocalDATA: $(aclocal_DATA) @$(NORMAL_INSTALL) @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(aclocaldir)'"; \ $(MKDIR_P) "$(DESTDIR)$(aclocaldir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(aclocaldir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(aclocaldir)" || exit $$?; \ done uninstall-aclocalDATA: @$(NORMAL_UNINSTALL) @list='$(aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(aclocaldir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-zstd: distdir tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ *.tar.zst*) \ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-aclocalDATA install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-aclocalDATA uninstall-pkgconfigDATA .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \ distclean-generic distclean-libtool distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-aclocalDATA install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-aclocalDATA \ uninstall-am uninstall-pkgconfigDATA .PRECIOUS: Makefile dist-hook: if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi test -d $(distdir)/win || mkdir $(distdir)/win -cp $(srcdir)/win/* $(distdir)/win .PHONY:debian debian: dpkg-buildpackage -rfakeroot # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: yaz-5.31.1/yaz.pc.in0000664000175000017500000000042614152153071011064 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: YAZ Version: @VERSION@ Description: YAZ library for building Z39.50 applications Requires: libexslt Libs: -L${libdir} -lyaz Libs.private: @LIBS@ Cflags: -I${includedir} @YAZ_CONFIG_CFLAGS@ yaz-5.31.1/yaz-server.pc.in0000664000175000017500000000037514152153071012373 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: YAZ server Version: @VERSION@ Description: YAZ server library for building Z39.50 applications Requires: yaz libexslt Libs: -L${libdir} -lyaz_server @PTHREAD_LIBS@ yaz-5.31.1/ztest/0000775000175000017500000000000014157607106010567 500000000000000yaz-5.31.1/ztest/dummy-words0000664000175000017500000002371314152153071012717 000000000000000:44 0OK:2 0SUCCESS:2 1:41 10:5 2:2 210:4 3:2 301024:4 3536:2 45:2 7:2 8:2 99:2 A:249 ABLE:4 ABOUT:13 ABOVE:2 ABSENT:4 ACCESS:10 ACCORDING:2 ACTUAL:3 ACTUALLY:2 ADAPT:2 ADD:4 ADDED:4 ADDINFO:2 ADDING:3 ADDITION:3 ADDRESS:19 ADDRESSES:6 AFTER:10 AGAIN:8 AGAINST:2 ALL:21 ALLOCATE:9 ALLOCATED:14 ALLOCATES:2 ALLOCATING:2 ALLOCATION:2 ALLOW:5 ALLOWED:3 ALONG:2 ALREADY:7 ALSO:9 ALTERNATIVE:2 ALTHOUGH:6 ALWAYS:7 AN:69 AND:161 ANY:22 APDUS:2 API:12 APIS:2 APPEAR:2 APPLICATION:10 APPLICATIONS:7 APPROACH:4 ARCHIVE:2 ARE:63 ARGUMENT:6 ARISES:3 ARM:5 AROUND:2 ARRAY:11 AS:75 ASN:12 ASN1:23 ASSOCIATION:9 ASSUME:8 ASYNCHRONOUS:5 AT:40 ATTRIBUTESET:2 AUTHORS:2 AVAILABLE:5 AWARE:3 B:4 BACKEND:18 BACKENDH:4 BADN:2 BASE:2 BASED:5 BASENAME:2 BASIC:3 BE:123 BECAUSE:6 BEEN:21 BEFORE:12 BEGINNING:5 BEHAVIOR:2 BEING:2 BELONGING:2 BELOW:5 BEND:3 BENDDELETEREQUEST:4 BENDDELETERESPONSEVOID:2 BENDDELETERESULT:6 BENDDELETEVOID:2 BENDFETCHREQUEST:4 BENDFETCHRESPONSEVOID:2 BENDFETCHRESULT:6 BENDFETCHVOID:2 BENDINITBENDINITREQUEST:2 BENDINITREQUEST:3 BENDINITRESULT:4 BENDSCANRESULT:2 BENDSEARCHREQUEST:6 BENDSEARCHRESPONSEVOID:2 BENDSEARCHRESULT:8 BENDSEARCHVOID:2 BER:4 BERENCODED:3 BETTER:2 BETWEEN:9 BEYOND:3 BIT:6 BITMASK:5 BITNO:3 BITS:5 BLOCK:4 BLOCKING:6 BOOLEAN:7 BOOLT:4 BOOLTNULL:3 BOOLTTRUE:3 BOOLVAL:4 BOTH:3 BRIEF:2 BUF:11 BUFFER:20 BUFFERP:3 BUT:15 BY:58 BYTES:4 C:21 CALL:41 CALLED:8 CALLING:8 CALLS:6 CAN:61 CANGROW:4 CANNOT:3 CANT:3 CAPABILITIES:3 CARE:4 CASE:9 CASES:4 CERTAIN:2 CHANGE:3 CHANGES:3 CHAR:39 CHARACTER:6 CHARINDEX:2 CHARYAZ:2 CHECK:2 CHOICE:11 CHUNKS:2 CLASS:10 CLEAN:2 CLEAR:2 CLIENT:11 CLOSE:3 CODE:3 COMES:3 COMMAND:2 COMMANDLINE:2 COMMON:3 COMMUNICATION:10 COMMUNICATIONS:2 COMPACT:3 COMPILE:2 COMPILER:6 COMPLETE:4 COMPLETED:3 COMPLEX:9 COMPLEXITY:2 COMSTACK:14 COMSTACKH:2 CONDITION:7 CONFIGNAME:2 CONNECT:4 CONNECTION:14 CONNECTIONS:3 CONSISTS:4 CONST:4 CONSTANT:3 CONSTANTS:3 CONSTRUCT:2 CONSTRUCTED:6 CONSTRUCTION:3 CONSTRUCTIONS:2 CONTAIN:3 CONTAINED:2 CONTAINS:4 CONTENTS:4 CONTEXT:3 CONTROL:4 COPY:2 COPYRIGHT:3 CORRECT:3 CORRESPONDING:9 CORRESPONDS:2 COULD:7 COURSE:2 CRASH:2 CREATE:8 CREATED:3 CSACCEPTCOMSTACK:2 CSBINDCOMSTACK:2 CSCLOSECOMSTACK:2 CSCONNECT:2 CSCONNECTCOMSTACK:2 CSCREATECSTYPE:2 CSERRLIST:2 CSERRNO:2 CSGET:8 CSGETCOMSTACK:2 CSLISTEN:3 CSLISTENCOMSTACK:2 CSLOOKCOMSTACK:2 CSMORE:6 CSMORECOMSTACK:2 CSPERRORCOMSTACK:2 CSPUTCOMSTACK:2 CSRCVCONNECT:2 CSRCVCONNECTCOMSTACK:2 CSSTACKERRCOMSTACK:2 CURRENT:9 CURRENTLY:4 DAMAGES:2 DATA:54 DATABASE:24 DATABASENAMESCHARNULL:2 DATABASES:2 DATAYAZ:2 DEBUGGING:2 DECODE:11 DECODED:2 DECODES:2 DECODING:18 DEFAULT:9 DEFAULTS:2 DEFINE:3 DEFINED:14 DEFINITION:11 DEFINITIONS:10 DELETE:3 DEMO:2 DEPENDING:5 DERIVED:3 DESC:2 DESCRIBED:4 DESCRIPTOR:2 DESIGNED:2 DESIRED:2 DETERMINE:4 DETERMINES:2 DEVELOPMENT:2 DIAGNOSTIC:8 DIFFERENT:14 DIFFERENTLY:2 DIGITS:2 DIRECT:2 DIRECTION:2 DIRECTORY:13 DISCONNECT:2 DISCRIMINATOR:5 DISTRIBUTION:3 DN:2 DO:7 DOCUMENT:2 DOCUMENTATION:5 DOES:4 DOESNT:6 DONE:7 DONT:9 DURING:4 EACH:18 EASILY:3 EFFECT:2 EFFICIENT:2 EG:6 EITHER:17 ELEMENT:4 ELEMENTS:10 EMPTY:4 ENCODE:6 ENCODED:8 ENCODERS:2 ENCODING:21 ENCODINGDECODING:2 END:3 ENDPOINT:7 ENSURE:3 ENSURES:2 ENTRIES:2 ENUM:7 EQUIVALENT:2 ERRCODE:7 ERROR:31 ERRSTRING:7 ESTABLISH:2 ESTABLISHMENT:2 ETC:4 EVEN:4 EVENT:9 EVENTHANDLING:2 EVERYTHING:5 EXACTLY:2 EXAMINED:2 EXAMPLE:3 EXAMPLES:2 EXCEPT:2 EXCHANGE:5 EXISTING:5 EXPECTED:4 EXPLAIN:2 EXPLICIT:4 EXPLICITLY:3 EXTERN:4 EXTERNAL:2 EXTRA:6 FACILITIES:2 FACILITY:4 FAILED:2 FAIRLY:8 FAR:5 FD:11 FEW:2 FIDDLE:2 FIELD:10 FIELDS:6 FIELDTYPEDEFAULT:15 FILE:18 FILES:4 FIND:3 FIRST:11 FIT:2 FLAG:5 FOLLOW:3 FOLLOWED:2 FOLLOWING:5 FOR:115 FORK:4 FORM:9 FORMAT:8 FOUND:10 FREE:3 FREE2:2 FREED:2 FREELIST:2 FROM:26 FRONTEND:11 FULL:10 FULLY:2 FUN:5 FUNCTION:93 FUNCTIONS:43 FURNISS:3 FURTHER:3 FUTURE:6 GCC:2 GENERAL:7 GENERALITY:2 GENERALLY:14 GET:6 GIVE:2 GIVEN:9 GIVES:3 GLOBAL:5 GO:4 GOOD:5 GUIDE:2 HAD:6 HANDED:2 HANDLE:54 HAPPENS:2 HAPPY:5 HAS:34 HAVE:43 HAVENT:2 HEADER:2 HELP:2 HERE:4 HEX:2 HIGHERLEVEL:2 HITS:3 HOLDS:4 HOST:2 HOSTNAME:3 HOW:5 HUMANREADABLE:2 IDENTIFIERS:7 IF:87 IGNORED:3 IMMEDIATELY:7 IMPLEMENT:8 IMPLEMENTATION:11 IMPLEMENTATIONID:2 IMPLEMENTATIONNAME:2 IMPLEMENTATIONS:7 IMPLEMENTATIONVERSIONCHARYAZVERSION:2 IMPLEMENTED:3 IMPLEMENTING:4 IMPLEMENTS:3 IMPLICIT:8 IMPORTANT:6 IN:156 INCLUDE:15 INCLUDING:3 INCOMING:5 INDEPENDENT:4 INDEX:8 INDICATE:2 INDICATES:2 INDIRECT:3 INDIVIDUAL:9 INDIVIDUALLY:2 INFOINDEXPINGDK:2 INFORMATION:6 INITIALIZATION:2 INITIALIZE:2 INITIALIZED:4 INITREQUEST:3 INPUT:3 INSTALLATION:2 INSTANCE:5 INSTEAD:3 INT:172 INTEGER:16 INTEGRATION:2 INTERESTED:2 INTERFACE:33 INTERFACES:5 INTERNAL:4 INTERNALLY:2 INTERPRETED:2 INTO:8 INTVAL:4 INVOCATION:2 IO:2 IPNUMBER:2 IS:205 ISNT:3 ISODE:5 IT:92 ITS:25 ITSELF:6 JUST:5 KEEP:3 KEYWORD:2 KIND:3 L:2 LANGUAGE:2 LARGE:3 LAST:5 LASTINSET:2 LATER:5 LATEST:2 LAYER:2 LAYERS:4 LEAST:5 LEAVE:2 LEN:17 LENGTH:8 LESS:3 LEVEL:8 LIBMOSIA:2 LIBRARY:13 LICENSE:2 LIKE:22 LIKELY:3 LIKES:2 LIMITED:3 LINE:5 LINK:4 LIST:3 LISTEN:2 LISTENER:5 LISTENING:2 LITTLE:5 LIVE:2 LOCAL:3 LOG:2 LOGFILE:2 LOGLEVEL:2 LONG:2 LONGER:3 LOOK:16 LOOKS:3 LOWER:6 LOWLEVEL:2 MACRO:2 MACROS:4 MAIL:2 MAIN:4 MAINTAIN:2 MAKE:14 MAKEFILE:3 MAKES:2 MALLOC2:2 MANAGEMENT:6 MANAGING:4 MANIFEST:2 MANY:5 MAP:2 MAPPING:3 MARK:2 MATCH:3 MATTER:2 MAXIMUM:4 MAXIMUMRECORDSIZE:2 MAY:16 MAYBE:2 MEANS:2 MECHANISM:8 MEMBER:7 MEMBERS:10 MEMORY:28 MESSAGE:11 METHOD:2 METHODS:2 MIGHT:15 MINIMUM:2 MODE:20 MODEL:3 MODIFY:2 MODULE:19 MODULES:2 MORE:15 MOSI:2 MOSISTRTOADDR:2 MOSISTRTOADDRCHAR:2 MOSITYPE:2 MOST:12 MOVE:2 MUST:2 MYARRAY:4 MYCHOICE:3 MYCHOICEOTHER:2 MYCHOICETAGGED:2 MYCHOICEUNTAGGED:2 MYINT:2 MYSEQUENCE:10 MYSEQUENCEODR:3 NAME:16 NAMED:2 NAMES:2 NECESSARY:5 NEED:25 NEEDED:3 NEEDS:2 NEGOTIATION:3 NETBUF:2 NETWORK:6 NEW:21 NEXT:6 NIBBLE:3 NO:19 NONBLOCKING:6 NONZERO:3 NORMAL:2 NOT:32 NOTE:21 NOTICE:3 NOW:2 NULL:34 NUM:2 NUMBER:18 NUMBEROFRECORDSRETURNED:2 NUMDATABASENAMES:2 O:65 OBJECT:7 OCCURS:4 OCTET:3 OCTETSTRING:2 ODIRECTION:3 ODR:62 ODRARM:5 ODRBITMASK:7 ODRBOOLO:3 ODRCONSTRUCTED:2 ODRCONTEXT:5 ODRCREATEMEMINT:2 ODRDECODE:4 ODRDESTROYODR:2 ODRERRLIST:2 ODREXPLICIT:5 ODREXTRACTMEMODR:2 ODRFUN:3 ODRGETBUFODR:2 ODRGETERRORODR:2 ODRH:2 ODRIMPLICIT:6 ODRIMPLICITSETTAGODR:2 ODRINTEGER:5 ODRINTEGERO:3 ODRINTEGERODR:2 ODRMALLOC:6 ODRMALLOCO:3 ODRMALLOCODR:2 ODRMEM:3 ODROCT:3 ODROID:3 ODROIDNULL:3 ODROKO:5 ODRRELEASEMEMODRMEM:2 ODRRESET:13 ODRRESETODR:2 ODRSEQUENCEBEGINO:3 ODRSEQUENCEENDO:3 ODRSETBUF:3 ODRSETBUFODR:2 OF:290 OFF:2 OFFERS:2 OFTEN:3 OID:8 OIDENT:5 OIDPROTO:3 OIDS:2 OK:2 ON:59 ONCE:7 ONE:27 ONLY:16 OPAQUE:2 OPEN:3 OPERATE:2 OPERATION:9 OPERATIONS:4 OPTION:4 OPTIONAL:41 OPTIONS:10 OR:86 OSF1:2 OSI:16 OTHER:23 OTHERS:2 OTHERWISE:3 OUR:5 OUT:7 OUTPUT:4 OVER:5 OWN:8 P:46 PACKAGE:11 PACKAGES:7 PACKET:2 PARAMETER:17 PARAMETERS:8 PART:7 PARTIAL:2 PASSED:2 PBOOLVAL:3 PDU:11 PDUS:16 PEER:3 PENDING:3 PERFORM:3 PERMISSION:3 PETER:3 PINTVAL:3 PLACE:6 PLACED:2 PLATFORMS:5 POINT:8 POINTED:5 POINTER:22 POINTERS:8 POINTS:2 PORT:6 PORTABLE:2 PORTNUMBER:2 POSSIBILITY:2 POSSIBLE:9 PRACTICAL:2 PREFERREDMESSAGESIZE:2 PREFERREDRECORDSYNTAXODROIDNULL:2 PREFIX:2 PREPARE:2 PRESENT:4 PRESENTATION:5 PRESENTSTATUSINT:2 PRIMARY:3 PRIMITIVE:18 PRIMITIVES:2 PRINTING:2 PRINTS:2 PRIVATE:2 PROBABLY:3 PROBLEM:5 PROBLEMS:5 PROCESS:9 PROCESSING:5 PROGRAM:3 PROGRAMMER:2 PROGRAMMING:4 PROTO:3 PROTOCOL:39 PROTOCOLS:5 PROTOCOLVERSION:2 PROTOH:2 PROTOSR:3 PROTOTYPES:2 PROTOZ3950:3 PROVIDE:15 PROVIDED:29 PROVIDES:13 PURPOSE:6 PURPOSES:3 QUALITY:2 QUERY:8 QUESTIONS:2 QUITE:5 R:12 RATHER:5 READ:9 REAL:2 REALISE:2 REALLY:2 REASON:5 RECEIVED:6 RECOMMEND:2 RECORD:16 RECORDS:6 RECYCLED:2 REFER:6 REFERENCE:8 REFERENCEID:15 RELEASE:8 RELEASED:2 RELEASES:6 REPEATEDLY:3 REPLACESET:2 REPORTS:2 REPRESENT:2 REPRESENTATION:8 REPRESENTATIONS:2 REPRESENTING:3 REPRESENTS:2 REQUEST:12 REQUESTS:3 REQUIRE:2 REQUIRED:11 REQUIREMENTS:2 REQUIRING:2 RESOURCES:2 RESPOND:2 RESPONSE:3 REST:3 RESULT:8 RESULTING:2 RESULTSETWANTED:2 RESVALP:3 RETAIN:4 RETURN:40 RETURNED:7 RETURNS:11 RFC1006:3 ROLE:5 ROUTINE:5 ROUTINES:3 RPN:2 RULES:2 RUN:4 RUNTIME:2 S:2 SAME:11 SAY:7 SCHEME:2 SEARCH:3 SEARCHREQUEST:3 SECTION:11 SEE:12 SEEN:2 SELECT2:5 SELECTOR:2 SEND:2 SENDS:2 SENT:2 SEPARATE:3 SEQUENCE:13 SEQUENCES:2 SERVER:27 SERVICE:6 SESSION:4 SET:37 SETNAME:5 SETS:3 SETTINGS:3 SEVERAL:4 SHORT:2 SHOULD:46 SHOULDNT:2 SIDE:4 SIMILAR:2 SIMPLE:14 SIMPLIFY:3 SIMPLY:7 SINCE:6 SINGLE:4 SIZE:24 SIZEOFP:6 SMALL:4 SO:9 SOCKADDRIN:2 SOCKETS:3 SOFTWARE:17 SOME:14 SOMETHING:3 SOMETIMES:4 SOMEWHAT:2 SOURCE:3 SPACE:7 SPECIAL:4 SPECIFIC:3 SPECIFICALLY:4 SPECIFICATION:6 SPECIFY:2 SR:5 STACK:2 STACKS:2 STANDARD:6 STATE:5 STATIC:4 STATSERVMAIN:3 STATSERVOPTIONSBLOCK:2 STDERR:5 STEPSIZE:2 STILL:7 STR:4 STRAIGHTFORWARD:2 STREAM:38 STREAMS:5 STRING:11 STRINGS:5 STRUCT:21 STRUCTURE:33 STRUCTURES:6 SUBSYSTEM:8 SUCCESS:5 SUCH:7 SUFFICIENT:3 SUGGEST:2 SUN:2 SUPPLIED:3 SUPPORT:11 SYNOPSIS:3 SYSTEM:22 SYSTEMS:2 TABLES:2 TAG:10 TAGGED:4 TAGGING:10 TAGMODE:2 TAKE:6 TAKEN:2 TAKES:2 TALK:3 TARGET:2 TASK:2 TCP:2 TCPIP:5 TCPIPSTRTOADDRCHAR:2 TELL:4 TELLS:3 TERMINATED:2 THAN:10 THAT:125 THE:916 THEIR:3 THEM:2 THEN:8 THERE:7 THERES:4 THESE:5 THEY:12 THING:4 THINGS:5 THINK:2 THINOSI:3 THIS:95 THREE:5 THROUGH:3 TIME:7 TIMEOUT:3 TIMES:2 TO:369 TOO:5 TOOLKIT:3 TOP:3 TOPLEVEL:8 TRANSPARENT:2 TRANSPORT:15 TRIED:2 TRY:3 TSELECTOR:2 TWO:10 TYPE:67 TYPEDEF:14 TYPES:41 TYPICAL:2 TYPICALLY:9 U:3 UNDER:4 UNDERLYING:2 UNION:7 UNIONNULL:2 UNLESS:4 UNPACKED:2 UNTAGGED:2 UNTIL:6 UP:6 UPDATE:2 US:3 USE:67 USED:26 USEFUL:9 USER:4 USERINFORMATIONFIELD:2 USERS:4 USING:18 V:2 VALP:3 VALUE:39 VALUES:7 VARIABLE:2 VARIABLES:3 VERIFY:2 VERSION:5 VERY:3 VISIBLESTRING:2 VOID:29 WANT:12 WARRANTY:2 WAS:10 WAY:12 WE:52 WED:5 WELL:22 WENT:3 WERE:2 WHAT:2 WHEN:49 WHENEVER:2 WHERE:9 WHETHER:3 WHICH:44 WHICHP:2 WHILE:8 WHOLE:2 WILL:91 WISH:9 WITH:58 WITHIN:2 WITHOUT:9 WONT:2 WORK:8 WORKING:2 WORKS:6 WORRY:4 WOULD:16 WRITE:5 WRITING:2 WRITTEN:5 X500:4 XDR:4 XMOSIH:3 XTI:2 XTIMOSI:11 YAZ:25 YET:6 YOU:198 YOULL:5 YOUR:53 YOURE:6 YOURSELF:6 Z:3 Z3950:8 Z39501994:2 Z3950SR:4 ZAPDU:5 ZELEMENTSETNAMES:3 ZERO:6 ZGET:2 ZINITREQUEST:3 ZLISTSTATUSNULL:2 ZRECORDS:2 ZREFERENCEIDNULL:15 yaz-5.31.1/ztest/Makefile.am0000664000175000017500000000062614152153071012537 00000000000000## This file is part of the YAZ toolkit. ## Copyright (C) Index Data bin_PROGRAMS=yaz-ztest noinst_PROGRAMS=gfs-example yaz_ztest_SOURCES=ztest.c read-grs.c read-marc.c dummy-opac.c ztest.h gfs_example_SOURCES=gfs-example.c EXTRA_DIST=dummy-words dummy-grs ztest.pem config1.xml LDADD=../src/libyaz_server.la ../src/libyaz.la AM_CPPFLAGS=-I$(top_srcdir)/src $(XML2_CFLAGS) clean-local: rm -f socket yaz-5.31.1/ztest/ztest.c0000664000175000017500000011575614152153071012033 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file * \brief yaz-ztest Generic Frontend Server */ #if HAVE_CONFIG_H #include #endif #include #include #include #if HAVE_SYS_TIME_H #include #endif #if HAVE_UNISTD_H #include #endif #if HAVE_SYS_SELECT_H #include #endif #ifdef WIN32 #include #endif #include #include #include #include #include #include #include #include "ztest.h" static int log_level=0; static int log_level_set=0; struct delay { double d1; double d2; }; struct result_set { char *name; char *db; Odr_int hits; struct delay search_delay; struct delay present_delay; struct delay fetch_delay; struct result_set *next; }; struct session_handle { struct result_set *result_sets; }; int ztest_search(void *handle, bend_search_rr *rr); int ztest_sort(void *handle, bend_sort_rr *rr); int ztest_present(void *handle, bend_present_rr *rr); int ztest_esrequest(void *handle, bend_esrequest_rr *rr); int ztest_delete(void *handle, bend_delete_rr *rr); static struct result_set *get_set(struct session_handle *sh, const char *name) { struct result_set *set = sh->result_sets; for (; set; set = set->next) if (!strcmp(name, set->name)) return set; return 0; } static void remove_sets(struct session_handle *sh) { struct result_set *set = sh->result_sets; while (set) { struct result_set *set_next = set->next; xfree(set->name); xfree(set->db); xfree(set); set = set_next; } sh->result_sets = 0; } /** \brief use term value as hit count \param s RPN structure \param hash value for compuation \return >= 0: search term number or -1: not found Traverse RPN tree 'in order' and use term value as hit count. Only terms that looks a numeric is used.. Returns -1 if no sub tree has a hit count term */ static Odr_int get_term_hit(Z_RPNStructure *s, unsigned *hash) { Odr_int h = -1; switch(s->which) { case Z_RPNStructure_simple: if (s->u.simple->which == Z_Operand_APT) { Z_AttributesPlusTerm *apt = s->u.simple->u.attributesPlusTerm; if (apt->term->which == Z_Term_general) { Odr_oct *oct = apt->term->u.general; if (oct->len > 0 && oct->buf[0] >= '0' && oct->buf[0] <= '9') { WRBUF hits_str = wrbuf_alloc(); wrbuf_write(hits_str, (const char *) oct->buf, oct->len); h = odr_atoi(wrbuf_cstr(hits_str)); wrbuf_destroy(hits_str); } else { int i; for (i = 0; i < oct->len; i++) *hash = *hash * 65509 + oct->buf[i]; } } } break; case Z_RPNStructure_complex: h = get_term_hit(s->u.complex->s1, hash); if (h == -1) h = get_term_hit(s->u.complex->s2, hash); break; } return h; } /** \brief gets hit count for numeric terms in RPN queries \param q RPN Query \return number of hits This is just for testing.. A real database of course uses the content of a database to establish a value.. In our case, we have a way to trigger a certain hit count. Good for testing of client applications etc */ static Odr_int get_hit_count(Z_Query *q) { if (q->which == Z_Query_type_1 || q->which == Z_Query_type_101) { unsigned hash = 0; Odr_int h = -1; h = get_term_hit(q->u.type_1->RPNStructure, &hash); if (h == -1) h = hash % 24; return h; } else if (q->which == Z_Query_type_104 && q->u.type_104->which == Z_External_CQL) { unsigned hash = 0; const char *cql = q->u.type_104->u.cql; int i; for (i = 0; cql[i]; i++) hash = hash * 65509 + cql[i]; return hash % 24; } else return 24; } /** \brief checks if it's a dummy Slow database \param basename database name to check \param association backend association (or NULL if not available) \retval 1 is slow database \retval 0 is not a slow database The Slow database is for testing.. It allows us to simulate a slow server... */ static int check_slow(const char *basename, bend_association association) { if (strncmp(basename, "Slow", 4) == 0) { #if HAVE_UNISTD_H int i, w = 3; if (basename[4]) sscanf(basename+4, "%d", &w); /* wait up to 3 seconds and check if connection is still alive */ for (i = 0; i < w; i++) { if (association && !bend_assoc_is_alive(association)) { yaz_log(YLOG_LOG, "search aborted"); break; } sleep(1); } #endif return 1; } return 0; } static int strcmp_prefix(const char *s, const char *p) { size_t l = strlen(p); if (strlen(s) >= l && !memcmp(s, p, l)) return 1; return 0; } static void init_delay(struct delay *delayp) { delayp->d1 = delayp->d2 = 0.0; } static int parse_delay(struct delay *delayp, const char *value) { if (sscanf(value, "%lf:%lf", &delayp->d1, &delayp->d2) == 2) ; else if (sscanf(value, "%lf", &delayp->d1) == 1) delayp->d2 = 0.0; else return -1; return 0; } static void ztest_sleep(double d) { #ifdef WIN32 Sleep( (DWORD) (d * 1000)); #else struct timeval tv; tv.tv_sec = d; tv.tv_usec = (d - (long) d) * 1000000; select(0, 0, 0, 0, &tv); #endif } static void do_delay(const struct delay *delayp) { double d = delayp->d1; if (d > 0.0) { if (delayp->d2 > d) d += (rand()) * (delayp->d2 - d) / RAND_MAX; ztest_sleep(d); } } static void addterms(ODR odr, Z_FacetField *facet_field, const char *facet_name) { int index; int freq = 100; int length = strlen(facet_name) + 10; char *key = odr_malloc(odr, length); key[0] = '\0'; for (index = 0; index < facet_field->num_terms; index++) { Z_FacetTerm *facet_term; sprintf(key, "%s%d", facet_name, index); yaz_log(YLOG_DEBUG, "facet add term %s %d %s", facet_name, index, key); facet_term = facet_term_create_cstr(odr, key, freq); freq = freq - 10 ; facet_field_term_set(odr, facet_field, facet_term, index); } } Z_OtherInformation *build_facet_response(ODR odr, Z_FacetList *facet_list) { int index, new_index = 0; Z_FacetList *new_list = facet_list_create(odr, facet_list->num); for (index = 0; index < facet_list->num; index++) { struct yaz_facet_attr attrvalues; yaz_facet_attr_init(&attrvalues); attrvalues.limit = 10; yaz_facet_attr_get_z_attributes(facet_list->elements[index]->attributes, &attrvalues); yaz_log(YLOG_LOG, "Attributes: %s limit=%d start=%d sort=%d", attrvalues.useattr ? attrvalues.useattr : "NONE", attrvalues.limit, attrvalues.start, attrvalues.sortorder); if (attrvalues.errstring) yaz_log(YLOG_LOG, "Error parsing attributes: %s", attrvalues.errstring); if (attrvalues.limit > 0 && attrvalues.useattr) { new_list->elements[new_index] = facet_field_create(odr, facet_list->elements[index]->attributes, attrvalues.limit); addterms(odr, new_list->elements[new_index], attrvalues.useattr); new_index++; } else { yaz_log(YLOG_DEBUG, "Facet: skipping %s due to 0 limit.", attrvalues.useattr); } } new_list->num = new_index; if (new_index > 0) { Z_OtherInformation *oi = odr_malloc(odr, sizeof(*oi)); Z_OtherInformationUnit *oiu = odr_malloc(odr, sizeof(*oiu)); oi->num_elements = 1; oi->list = odr_malloc(odr, oi->num_elements * sizeof(*oi->list)); oiu->category = 0; oiu->which = Z_OtherInfo_externallyDefinedInfo; oiu->information.externallyDefinedInfo = odr_malloc(odr, sizeof(*oiu->information.externallyDefinedInfo)); oiu->information.externallyDefinedInfo->direct_reference = odr_oiddup(odr, yaz_oid_userinfo_facet_1); oiu->information.externallyDefinedInfo->descriptor = 0; oiu->information.externallyDefinedInfo->indirect_reference = 0; oiu->information.externallyDefinedInfo->which = Z_External_userFacets; oiu->information.externallyDefinedInfo->u.facetList = new_list; oi->list[0] = oiu; return oi; } return 0; } static void echo_extra_args(ODR stream, Z_SRW_extra_arg *extra_args, char **extra_response) { if (extra_args) { Z_SRW_extra_arg *a; WRBUF response_xml = wrbuf_alloc(); wrbuf_puts(response_xml, ""); for (a = extra_args; a; a = a->next) { wrbuf_puts(response_xml, "name); wrbuf_puts(response_xml, "\""); if (a->value) { wrbuf_puts(response_xml, " value=\""); wrbuf_xmlputs(response_xml, a->value); wrbuf_puts(response_xml, "\""); } wrbuf_puts(response_xml, "/>"); } wrbuf_puts(response_xml, ""); *extra_response = odr_strdup(stream, wrbuf_cstr(response_xml)); wrbuf_destroy(response_xml); } } int ztest_search(void *handle, bend_search_rr *rr) { struct session_handle *sh = (struct session_handle*) handle; struct result_set *new_set; const char *db, *db_sep; if (rr->num_bases != 1) { rr->errcode = YAZ_BIB1_COMBI_OF_SPECIFIED_DATABASES_UNSUPP; return 0; } db = rr->basenames[0]; /* Allow Default, db.* and Slow */ if (strcmp_prefix(db, "Default")) ; /* Default is OK in our test */ else if (strcmp_prefix(db, "db")) ; /* db.* is OK in our test */ else if (check_slow(rr->basenames[0], rr->association)) { rr->estimated_hit_count = 1; } else { rr->errcode = YAZ_BIB1_DATABASE_UNAVAILABLE; rr->errstring = rr->basenames[0]; return 0; } new_set = get_set(sh, rr->setname); if (new_set) { if (!rr->replace_set) { rr->errcode = YAZ_BIB1_RESULT_SET_EXISTS_AND_REPLACE_INDICATOR_OFF; return 0; } xfree(new_set->db); } else { new_set = xmalloc(sizeof(*new_set)); new_set->next = sh->result_sets; sh->result_sets = new_set; new_set->name = xstrdup(rr->setname); } new_set->hits = 0; new_set->db = xstrdup(db); init_delay(&new_set->search_delay); init_delay(&new_set->present_delay); init_delay(&new_set->fetch_delay); db_sep = strchr(db, '?'); if (db_sep) { char **names; char **values; int no_parms = yaz_uri_to_array(db_sep+1, rr->stream, &names, &values); int i; for (i = 0; i < no_parms; i++) { const char *name = names[i]; const char *value = values[i]; if (!strcmp(name, "seed")) srand(atoi(value)); else if (!strcmp(name, "search-delay")) parse_delay(&new_set->search_delay, value); else if (!strcmp(name, "present-delay")) parse_delay(&new_set->present_delay, value); else if (!strcmp(name, "fetch-delay")) parse_delay(&new_set->fetch_delay, value); else { rr->errcode = YAZ_BIB1_SERVICE_UNSUPP_FOR_THIS_DATABASE; rr->errstring = odr_strdup(rr->stream, name); } } } echo_extra_args(rr->stream, rr->extra_args, &rr->extra_response_data); rr->hits = get_hit_count(rr->query); if (1) { Z_FacetList *facet_list = yaz_oi_get_facetlist(&rr->search_input); if (facet_list) { yaz_log(YLOG_LOG, "%d Facets in search request.", facet_list->num); rr->search_info = build_facet_response(rr->stream, facet_list); } else yaz_log(YLOG_DEBUG, "No facets parsed search request."); } do_delay(&new_set->search_delay); new_set->hits = rr->hits; return 0; } /* this huge function handles extended services */ int ztest_esrequest(void *handle, bend_esrequest_rr *rr) { if (rr->esr->packageName) yaz_log(log_level, "packagename: %s", rr->esr->packageName); yaz_log(log_level, "Waitaction: " ODR_INT_PRINTF, *rr->esr->waitAction); yaz_log(log_level, "function: " ODR_INT_PRINTF, *rr->esr->function); if (!rr->esr->taskSpecificParameters) { yaz_log(log_level, "No task specific parameters"); } else if (rr->esr->taskSpecificParameters->which == Z_External_itemOrder) { Z_ItemOrder *it = rr->esr->taskSpecificParameters->u.itemOrder; yaz_log(log_level, "Received ItemOrder"); if (it->which == Z_IOItemOrder_esRequest) { Z_IORequest *ir = it->u.esRequest; Z_IOOriginPartToKeep *k = ir->toKeep; Z_IOOriginPartNotToKeep *n = ir->notToKeep; const char *xml_in_response = 0; if (k && k->contact) { if (k->contact->name) yaz_log(log_level, "contact name %s", k->contact->name); if (k->contact->phone) yaz_log(log_level, "contact phone %s", k->contact->phone); if (k->contact->email) yaz_log(log_level, "contact email %s", k->contact->email); } if (k->addlBilling) { yaz_log(log_level, "Billing info (not shown)"); } if (n->resultSetItem) { yaz_log(log_level, "resultsetItem"); yaz_log(log_level, "setId: %s", n->resultSetItem->resultSetId); yaz_log(log_level, "item: " ODR_INT_PRINTF, *n->resultSetItem->item); } if (n->itemRequest) { Z_External *r = (Z_External*) n->itemRequest; ILL_ItemRequest *item_req = 0; ILL_APDU *ill_apdu = 0; if (r->direct_reference) { char oid_name_str[OID_STR_MAX]; oid_class oclass; const char *oid_name = yaz_oid_to_string_buf(r->direct_reference, &oclass, oid_name_str); if (oid_name) yaz_log(log_level, "OID %s", oid_name); if (!oid_oidcmp(r->direct_reference, yaz_oid_recsyn_xml)) { yaz_log(log_level, "ILL XML request"); if (r->which == Z_External_octet) yaz_log(log_level, "%.*s", r->u.octet_aligned->len, r->u.octet_aligned->buf); xml_in_response = "x"; } if (!oid_oidcmp(r->direct_reference, yaz_oid_general_isoill_1)) { yaz_log(log_level, "Decode ItemRequest begin"); if (r->which == ODR_EXTERNAL_single) { odr_setbuf(rr->decode, (char *) r->u.single_ASN1_type->buf, r->u.single_ASN1_type->len, 0); if (!ill_ItemRequest(rr->decode, &item_req, 0, 0)) { yaz_log(log_level, "Couldn't decode ItemRequest %s near %ld", odr_errmsg(odr_geterror(rr->decode)), (long) odr_offset(rr->decode)); } else yaz_log(log_level, "Decode ItemRequest OK"); if (rr->print) { ill_ItemRequest(rr->print, &item_req, 0, "ItemRequest"); odr_reset(rr->print); } } if (!item_req && r->which == ODR_EXTERNAL_single) { yaz_log(log_level, "Decode ILL APDU begin"); odr_setbuf(rr->decode, (char*) r->u.single_ASN1_type->buf, r->u.single_ASN1_type->len, 0); if (!ill_APDU(rr->decode, &ill_apdu, 0, 0)) { yaz_log(log_level, "Couldn't decode ILL APDU %s near %ld", odr_errmsg(odr_geterror(rr->decode)), (long) odr_offset(rr->decode)); yaz_log(log_level, "PDU dump:"); odr_dumpBER(yaz_log_file(), (char *) r->u.single_ASN1_type->buf, r->u.single_ASN1_type->len); } else yaz_log(log_level, "Decode ILL APDU OK"); if (rr->print) { ill_APDU(rr->print, &ill_apdu, 0, "ILL APDU"); odr_reset(rr->print); } } } } if (item_req) { yaz_log(log_level, "ILL protocol version = " ODR_INT_PRINTF, *item_req->protocol_version_num); } } if (k) { Z_External *ext = (Z_External *) odr_malloc(rr->stream, sizeof(*ext)); Z_IUOriginPartToKeep *keep = (Z_IUOriginPartToKeep *) odr_malloc(rr->stream, sizeof(*keep)); Z_IOTargetPart *targetPart = (Z_IOTargetPart *) odr_malloc(rr->stream, sizeof(*targetPart)); rr->taskPackage = (Z_TaskPackage *) odr_malloc(rr->stream, sizeof(*rr->taskPackage)); rr->taskPackage->packageType = odr_oiddup(rr->stream, rr->esr->packageType); rr->taskPackage->packageName = 0; rr->taskPackage->userId = 0; rr->taskPackage->retentionTime = 0; rr->taskPackage->permissions = 0; rr->taskPackage->description = 0; rr->taskPackage->targetReference = odr_create_Odr_oct(rr->stream, "911", 3); rr->taskPackage->creationDateTime = 0; rr->taskPackage->taskStatus = odr_intdup(rr->stream, 0); rr->taskPackage->packageDiagnostics = 0; rr->taskPackage->taskSpecificParameters = ext; ext->direct_reference = odr_oiddup(rr->stream, rr->esr->packageType); ext->indirect_reference = 0; ext->descriptor = 0; ext->which = Z_External_itemOrder; ext->u.itemOrder = (Z_ItemOrder *) odr_malloc(rr->stream, sizeof(*ext->u.update)); ext->u.itemOrder->which = Z_IOItemOrder_taskPackage; ext->u.itemOrder->u.taskPackage = (Z_IOTaskPackage *) odr_malloc(rr->stream, sizeof(Z_IOTaskPackage)); ext->u.itemOrder->u.taskPackage->originPart = k; ext->u.itemOrder->u.taskPackage->targetPart = targetPart; if (xml_in_response) targetPart->itemRequest = z_ext_record_xml(rr->stream, xml_in_response, strlen(xml_in_response)); else targetPart->itemRequest = 0; targetPart->statusOrErrorReport = 0; targetPart->auxiliaryStatus = 0; } } } else if (rr->esr->taskSpecificParameters->which == Z_External_update0) { Z_IU0Update *up = rr->esr->taskSpecificParameters->u.update0; yaz_log(log_level, "Received DB Update0"); Z_IU0UpdateEsRequest *esRequest = up->u.esRequest; Z_IU0OriginPartToKeep *toKeep = esRequest->toKeep; if (toKeep->action) { yaz_log(log_level, "action " ODR_INT_PRINTF, *toKeep->action); } rr->errcode = -2; rr->errstring= "xxxxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyy"; } else if (rr->esr->taskSpecificParameters->which == Z_External_update) { Z_IUUpdate *up = rr->esr->taskSpecificParameters->u.update; yaz_log(log_level, "Received DB Update"); if (up->which == Z_IUUpdate_esRequest) { Z_IUUpdateEsRequest *esRequest = up->u.esRequest; Z_IUOriginPartToKeep *toKeep = esRequest->toKeep; Z_IUSuppliedRecords *notToKeep = esRequest->notToKeep; yaz_log(log_level, "action"); if (toKeep->action) { switch (*toKeep->action) { case Z_IUOriginPartToKeep_recordInsert: yaz_log(log_level, " recordInsert"); break; case Z_IUOriginPartToKeep_recordReplace: yaz_log(log_level, " recordReplace"); break; case Z_IUOriginPartToKeep_recordDelete: yaz_log(log_level, " recordDelete"); break; case Z_IUOriginPartToKeep_elementUpdate: yaz_log(log_level, " elementUpdate"); break; case Z_IUOriginPartToKeep_specialUpdate: yaz_log(log_level, " specialUpdate"); break; default: yaz_log(log_level, " unknown (" ODR_INT_PRINTF ")", *toKeep->action); } } if (toKeep->databaseName) { yaz_log(log_level, "database: %s", toKeep->databaseName); if (!strcmp(toKeep->databaseName, "fault")) { rr->errcode = YAZ_BIB1_DATABASE_UNAVAILABLE; rr->errstring = toKeep->databaseName; } if (!strcmp(toKeep->databaseName, "accept")) rr->errcode = -1; } if (toKeep) { Z_External *ext = (Z_External *) odr_malloc(rr->stream, sizeof(*ext)); Z_IUOriginPartToKeep *keep = (Z_IUOriginPartToKeep *) odr_malloc(rr->stream, sizeof(*keep)); Z_IUTargetPart *targetPart = (Z_IUTargetPart *) odr_malloc(rr->stream, sizeof(*targetPart)); rr->taskPackage = (Z_TaskPackage *) odr_malloc(rr->stream, sizeof(*rr->taskPackage)); rr->taskPackage->packageType = odr_oiddup(rr->stream, rr->esr->packageType); rr->taskPackage->packageName = 0; rr->taskPackage->userId = 0; rr->taskPackage->retentionTime = 0; rr->taskPackage->permissions = 0; rr->taskPackage->description = 0; rr->taskPackage->targetReference = odr_create_Odr_oct(rr->stream, "123", 3); rr->taskPackage->creationDateTime = 0; rr->taskPackage->taskStatus = odr_intdup(rr->stream, 0); rr->taskPackage->packageDiagnostics = 0; rr->taskPackage->taskSpecificParameters = ext; ext->direct_reference = odr_oiddup(rr->stream, rr->esr->packageType); ext->indirect_reference = 0; ext->descriptor = 0; ext->which = Z_External_update; ext->u.update = (Z_IUUpdate *) odr_malloc(rr->stream, sizeof(*ext->u.update)); ext->u.update->which = Z_IUUpdate_taskPackage; ext->u.update->u.taskPackage = (Z_IUUpdateTaskPackage *) odr_malloc(rr->stream, sizeof(Z_IUUpdateTaskPackage)); ext->u.update->u.taskPackage->originPart = keep; ext->u.update->u.taskPackage->targetPart = targetPart; keep->action = odr_intdup(rr->stream, *toKeep->action); keep->databaseName = odr_strdup(rr->stream, toKeep->databaseName); keep->schema = 0; keep->elementSetName = 0; keep->actionQualifier = 0; targetPart->updateStatus = odr_intdup(rr->stream, 1); targetPart->num_globalDiagnostics = 0; targetPart->globalDiagnostics = (Z_DiagRec **) odr_nullval(); targetPart->num_taskPackageRecords = 1; targetPart->taskPackageRecords = (Z_IUTaskPackageRecordStructure **) odr_malloc(rr->stream, sizeof(Z_IUTaskPackageRecordStructure *)); targetPart->taskPackageRecords[0] = (Z_IUTaskPackageRecordStructure *) odr_malloc(rr->stream, sizeof(Z_IUTaskPackageRecordStructure)); targetPart->taskPackageRecords[0]->which = Z_IUTaskPackageRecordStructure_record; targetPart->taskPackageRecords[0]->u.record = z_ext_record_sutrs(rr->stream, "test", 4); targetPart->taskPackageRecords[0]->correlationInfo = 0; targetPart->taskPackageRecords[0]->recordStatus = odr_intdup(rr->stream, Z_IUTaskPackageRecordStructure_success); targetPart->taskPackageRecords[0]->num_supplementalDiagnostics = 0; targetPart->taskPackageRecords[0]->supplementalDiagnostics = 0; } if (notToKeep) { int i; for (i = 0; i < notToKeep->num; i++) { Z_External *rec = notToKeep->elements[i]->record; if (rec->direct_reference) { char oid_name_str[OID_STR_MAX]; const char *oid_name = oid_name = yaz_oid_to_string_buf( rec->direct_reference, 0, oid_name_str); if (oid_name) yaz_log(log_level, "record %d type %s", i, oid_name); } switch (rec->which) { case Z_External_sutrs: if (rec->u.octet_aligned->len > 170) yaz_log(log_level, "%d bytes:\n%.168s ...", rec->u.sutrs->len, rec->u.sutrs->buf); else yaz_log(log_level, "%d bytes:\n%s", rec->u.sutrs->len, rec->u.sutrs->buf); break; case Z_External_octet : if (rec->u.octet_aligned->len > 170) yaz_log(log_level, "%d bytes:\n%.168s ...", rec->u.octet_aligned->len, rec->u.octet_aligned->buf); else yaz_log(log_level, "%d bytes\n%s", rec->u.octet_aligned->len, rec->u.octet_aligned->buf); } } } } } return 0; } /* result set delete */ int ztest_delete(void *handle, bend_delete_rr *rr) { if (rr->num_setnames == 1 && !strcmp(rr->setnames[0], "1")) rr->delete_status = Z_DeleteStatus_success; else rr->delete_status = Z_DeleteStatus_resultSetDidNotExist; return 0; } /* Our sort handler really doesn't sort... */ int ztest_sort(void *handle, bend_sort_rr *rr) { rr->errcode = 0; rr->sort_status = Z_SortResponse_success; return 0; } /* present request handler */ int ztest_present(void *handle, bend_present_rr *rr) { struct session_handle *sh = (struct session_handle*) handle; struct result_set *set = get_set(sh, rr->setname); if (!set) { rr->errcode = YAZ_BIB1_SPECIFIED_RESULT_SET_DOES_NOT_EXIST; rr->errstring = odr_strdup(rr->stream, rr->setname); return 0; } do_delay(&set->present_delay); return 0; } /* retrieval of a single record (present, and piggy back search) */ int ztest_fetch(void *handle, bend_fetch_rr *r) { struct session_handle *sh = (struct session_handle*) handle; char *cp; const Odr_oid *oid = r->request_format; struct result_set *set = get_set(sh, r->setname); const char *esn = yaz_get_esn(r->comp); if (!set) { r->errcode = YAZ_BIB1_SPECIFIED_RESULT_SET_DOES_NOT_EXIST; r->errstring = odr_strdup(r->stream, r->setname); return 0; } do_delay(&set->fetch_delay); r->last_in_set = 0; r->basename = set->db; r->output_format = r->request_format; if (r->number < 1 || r->number > set->hits) { r->errcode = YAZ_BIB1_PRESENT_REQUEST_OUT_OF_RANGE; return 0; } if (!oid || yaz_oid_is_iso2709(oid)) { cp = dummy_marc_record(r->number, r->stream); if (!cp) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } else { r->len = strlen(cp); r->record = cp; r->output_format = odr_oiddup(r->stream, yaz_oid_recsyn_usmarc); } } else if (!oid_oidcmp(oid, yaz_oid_recsyn_opac)) { cp = dummy_marc_record(r->number, r->stream); if (!cp) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } r->record = (char *) dummy_opac(r->number, r->stream, cp); r->len = -1; } else if (!oid_oidcmp(oid, yaz_oid_recsyn_sutrs)) { /* this section returns a small record */ char buf[100]; sprintf(buf, "This is dummy SUTRS record number %d\n", r->number); r->len = strlen(buf); r->record = (char *) odr_malloc(r->stream, r->len+1); strcpy(r->record, buf); } else if (!oid_oidcmp(oid, yaz_oid_recsyn_grs_1)) { r->len = -1; r->record = (char*) dummy_grs_record(r->number, r->stream); if (!r->record) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } } else if (!oid_oidcmp(oid, yaz_oid_recsyn_postscript)) { char fname[20]; FILE *f; long size; sprintf(fname, "part.%d.ps", r->number); f = fopen(fname, "rb"); if (!f) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } fseek(f, 0L, SEEK_END); size = ftell(f); if (size <= 0 || size >= 5000000) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; } fseek(f, 0L, SEEK_SET); r->record = (char*) odr_malloc(r->stream, size); r->len = size; if (fread(r->record, size, 1, f) != 1) { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; } fclose(f); } else if (!oid_oidcmp(oid, yaz_oid_recsyn_xml)) { if ((cp = dummy_xml_record(r->number, r->stream, esn))) { r->len = strlen(cp); r->record = cp; r->schema = "info:srw/schema/1/marcxml-1.1"; } else { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } } else if (!oid_oidcmp(oid, yaz_oid_recsyn_json)) { if ((cp = dummy_json_record(r->number, r->stream, esn))) { r->len = strlen(cp); r->record = cp; r->schema = "info:srw/schema/1/marcxml-1.1"; } else { r->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; r->surrogate_flag = 1; return 0; } } else { char buf[OID_STR_MAX]; r->errcode = YAZ_BIB1_RECORD_SYNTAX_UNSUPP; r->errstring = odr_strdup(r->stream, oid_oid_to_dotstring(oid, buf)); return 0; } r->errcode = 0; return 0; } /* * silly dummy-scan what reads words from a file. */ int ztest_scan(void *handle, bend_scan_rr *q) { static FILE *f = 0; static struct scan_entry list[200]; static char entries[200][80]; int hits[200]; char term[80], *p; int i, pos; int term_position_req = q->term_position; int num_entries_req = q->num_entries; /* Throw Database unavailable if other than Default or Slow */ if (!yaz_matchstr(q->basenames[0], "Default")) ; /* Default is OK in our test */ else if (check_slow(q->basenames[0], 0 /* no assoc for scan */)) ; else { q->errcode = YAZ_BIB1_DATABASE_UNAVAILABLE; q->errstring = q->basenames[0]; return 0; } q->errcode = 0; q->errstring = 0; q->entries = list; q->status = BEND_SCAN_SUCCESS; if (!f && !(f = fopen("dummy-words", "r"))) { perror("dummy-words"); exit(1); } if (q->num_entries > 200) { q->errcode = YAZ_BIB1_RESOURCES_EXHAUSTED_NO_RESULTS_AVAILABLE; return 0; } if (q->term) { int len; if (q->term->term->which != Z_Term_general) { q->errcode = YAZ_BIB1_TERM_TYPE_UNSUPP; return 0; } if (*q->step_size != 0) { q->errcode = YAZ_BIB1_ONLY_ZERO_STEP_SIZE_SUPPORTED_FOR_SCAN; return 0; } len = q->term->term->u.general->len; if (len >= (int ) sizeof(term)) len = sizeof(term)-1; memcpy(term, q->term->term->u.general->buf, len); term[len] = '\0'; } else if (q->scanClause) { strncpy(term, q->scanClause, sizeof(term)-1); term[sizeof(term)-1] = '\0'; } else strcpy(term, "0"); for (p = term; *p; p++) if (yaz_islower(*p)) *p = yaz_toupper(*p); fseek(f, 0, SEEK_SET); q->num_entries = 0; for (i = 0, pos = 0; fscanf(f, " %79[^:]:%d", entries[pos], &hits[pos]) == 2; i++, pos < 199 ? pos++ : (pos = 0)) { if (!q->num_entries && strcmp(entries[pos], term) >= 0) /* s-point fnd */ { if ((q->term_position = term_position_req) > i + 1) { q->term_position = i + 1; q->status = BEND_SCAN_PARTIAL; } for (; q->num_entries < q->term_position; q->num_entries++) { int po; po = pos - q->term_position + q->num_entries+1; /* find pos */ if (po < 0) po += 200; if (!strcmp(term, "SD") && q->num_entries == 2) { list[q->num_entries].term = entries[pos]; list[q->num_entries].occurrences = -1; list[q->num_entries].errcode = YAZ_BIB1_SCAN_UNSUPP_VALUE_OF_POSITION_IN_RESPONSE; list[q->num_entries].errstring = "SD for Scan Term"; } else { list[q->num_entries].term = entries[po]; list[q->num_entries].occurrences = hits[po]; } } } else if (q->num_entries) { list[q->num_entries].term = entries[pos]; list[q->num_entries].occurrences = hits[pos]; q->num_entries++; } if (q->num_entries >= num_entries_req) break; } echo_extra_args(q->stream, q->extra_args, &q->extra_response_data); if (feof(f)) q->status = BEND_SCAN_PARTIAL; return 0; } int ztest_explain(void *handle, bend_explain_rr *rr) { if (rr->database && !strcmp(rr->database, "Default")) { rr->explain_buf = "\n" "\t\n" "\t\tlocalhost\n" "\t\t210\n" "\t\n" "\n"; } return 0; } int ztest_update(void *handle, bend_update_rr *rr) { rr->operation_status = "success"; return 0; } bend_initresult *bend_init(bend_initrequest *q) { bend_initresult *r = (bend_initresult *) odr_malloc(q->stream, sizeof(*r)); struct session_handle *sh = xmalloc(sizeof(*sh)); sh->result_sets = 0; if (!log_level_set) { log_level=yaz_log_module_level("ztest"); log_level_set=1; } r->errcode = 0; r->errstring = 0; r->handle = sh; /* tell GFS about our handle */ q->bend_sort = ztest_sort; /* register sort handler */ q->bend_search = ztest_search; /* register search handler */ q->bend_present = ztest_present; /* register present handle */ q->bend_esrequest = ztest_esrequest; q->bend_delete = ztest_delete; q->bend_fetch = ztest_fetch; q->bend_scan = ztest_scan; #if 0 q->bend_explain = ztest_explain; #endif q->bend_srw_scan = ztest_scan; q->bend_srw_update = ztest_update; q->query_charset = "ISO-8859-1"; q->records_in_same_charset = 0; q->named_result_sets = 1; return r; } void bend_close(void *handle) { struct session_handle *sh = (struct session_handle*) handle; remove_sets(sh); xfree(sh); /* release our session */ return; } int main(int argc, char **argv) { yaz_enable_panic_backtrace(argv[0]); return statserv_main(argc, argv, bend_init, bend_close); } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/ztest.pem0000664000175000017500000000401714152153071012355 00000000000000-----BEGIN CERTIFICATE----- MIIDNzCCAqCgAwIBAgIJAJm06bCx5AKQMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNV BAYTAkRLMRMwEQYDVQQHEwpDb3BlbmhhZ2VuMRcwFQYDVQQKEw5JbmRleCBEYXRh IEFwUzESMBAGA1UEAxMJbG9jYWxob3N0MSAwHgYJKoZIhvcNAQkBFhFhZGFtQGlu ZGV4ZGF0YS5kazAeFw0xMjExMTQxNzQ3MDNaFw0yMjExMTIxNzQ3MDNaMHExCzAJ BgNVBAYTAkRLMRMwEQYDVQQHEwpDb3BlbmhhZ2VuMRcwFQYDVQQKEw5JbmRleCBE YXRhIEFwUzESMBAGA1UEAxMJbG9jYWxob3N0MSAwHgYJKoZIhvcNAQkBFhFhZGFt QGluZGV4ZGF0YS5kazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuPTZwVaB u5OEjNOFaGCiCiIUJTsa9YZ0CO18bzcC8+2ENjnYpoSqzzYpnXwBtN71S7Wim+H+ D9XMpvi9Y+qtwe49RHUL9B+J+mV+zB9OR8yJibkXEAOrkVNCegrOAIze4gvMm4ek FTXsicQNdanQeQMC9uyIEn8EiJHdgWjSaQMCAwEAAaOB1jCB0zAdBgNVHQ4EFgQU uLY9vUCqQxYVstTwjhjALoC04g8wgaMGA1UdIwSBmzCBmIAUuLY9vUCqQxYVstTw jhjALoC04g+hdaRzMHExCzAJBgNVBAYTAkRLMRMwEQYDVQQHEwpDb3BlbmhhZ2Vu MRcwFQYDVQQKEw5JbmRleCBEYXRhIEFwUzESMBAGA1UEAxMJbG9jYWxob3N0MSAw HgYJKoZIhvcNAQkBFhFhZGFtQGluZGV4ZGF0YS5ka4IJAJm06bCx5AKQMAwGA1Ud EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAWHZogB1vW9B32c786yBb1yckWueV CNebkXBhPBECJ5uE91ZEIc2L++KISS9yy4Za4ctvDJihgxOotGo0JCfkPLlpA5lR n1WR4hgk6YdeoySEtozjRcBwQtfQxBSvUG03XosDAETUGT94rM6cEftvKdJKiKfh 1SxxGV7fviahCg8= -----END CERTIFICATE----- -----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQC49NnBVoG7k4SM04VoYKIKIhQlOxr1hnQI7XxvNwLz7YQ2Odim hKrPNimdfAG03vVLtaKb4f4P1cym+L1j6q3B7j1EdQv0H4n6ZX7MH05HzImJuRcQ A6uRU0J6Cs4AjN7iC8ybh6QVNeyJxA11qdB5AwL27IgSfwSIkd2BaNJpAwIDAQAB AoGAZmHzoFh4nBL+zs3QDYVgbWeL60galksFNGPx+8Zh9hFGnJXM3fCWdPmwc6LP dwXslypGhy/EaZOaI9uRSxv/bmb82LWgizEyHmKGzsaOwhDiehYq0lTteTI5yA7s 1ViLBk2iEfCwbMyVJjQ/oyqDyqGFr/TVfqNbGV1amManXtECQQDrpRBmW/ZAgiVt P7UGrOhE8c4bcioMBHmb2tSoajh13UyTmh/igR3IqsTWPurBDm0XTKxj8Hb9qxr9 QqYsv5FVAkEAyO7jlJImiIV08E5vrOSpIfk7/9Zup+ZyMtF3D0jk22dDhf9PuCUA nxrwLRd4R1aQ8V6GTKg8jz0VZdV7Wshw9wJAKItCAxqXiAncfquTbg6Z+CLSn45J BcBPXC2OoVuFU2I8JrlB+yrUAQ7Ax0wUABuHUZbzok5hasvh3Ol2xgQ/8QJBAK/e eA+IRHXl6c6TuKdplKgJz/xDoaMPzxCvyjf0o2tuXOmh6BLTQFICcAnnqv01xbOd +oqKDkeJPXteeZOiMU0CQFYD+XIaTkBd+9aCien4gsKX8fNsKB+H2UVZQDoG7Vah G++Axlf9EXtan01wU3cFrfrukotwA7oEetx8Eh3kmBA= -----END RSA PRIVATE KEY----- yaz-5.31.1/ztest/read-grs.c0000664000175000017500000000616014152153071012352 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file * \brief Little toy-thing to read GRS-1 records from a file. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include "ztest.h" #define GRS_MAX_FIELDS 50 static Z_GenericRecord *read_grs1(FILE *f, ODR o) { char line[512], *buf; int type, ivalue; char value[512]; Z_GenericRecord *r = 0; for (;;) { Z_TaggedElement *t; Z_ElementData *c; while (fgets(buf = line, 512, f)) { while (*buf && yaz_isspace(*buf)) buf++; if (!*buf || *buf == '#') continue; break; } if (*buf == '}') return r; if (sscanf(buf, "(%d,%[^)])", &type, value) != 2) { yaz_log(YLOG_WARN, "Bad data in '%s'", buf); return 0; } if (!type && *value == '0') return r; if (!(buf = strchr(buf, ')'))) return 0; buf++; while (*buf && yaz_isspace(*buf)) buf++; if (!*buf) return 0; if (!r) { r = (Z_GenericRecord *)odr_malloc(o, sizeof(*r)); r->elements = (Z_TaggedElement **) odr_malloc(o, sizeof(Z_TaggedElement*) * GRS_MAX_FIELDS); r->num_elements = 0; } r->elements[r->num_elements] = t = (Z_TaggedElement *) odr_malloc(o, sizeof(Z_TaggedElement)); t->tagType = odr_intdup(o, type); t->tagValue = (Z_StringOrNumeric *) odr_malloc(o, sizeof(Z_StringOrNumeric)); if ((ivalue = atoi(value))) { t->tagValue->which = Z_StringOrNumeric_numeric; t->tagValue->u.numeric = odr_intdup(o, ivalue); } else { t->tagValue->which = Z_StringOrNumeric_string; t->tagValue->u.string = (char *)odr_malloc(o, strlen(value)+1); strcpy(t->tagValue->u.string, value); } t->tagOccurrence = 0; t->metaData = 0; t->appliedVariant = 0; t->content = c = (Z_ElementData *)odr_malloc(o, sizeof(Z_ElementData)); if (*buf == '{') { c->which = Z_ElementData_subtree; c->u.subtree = read_grs1(f, o); } else { c->which = Z_ElementData_string; buf[strlen(buf)-1] = '\0'; c->u.string = odr_strdup(o, buf); } r->num_elements++; } } Z_GenericRecord *dummy_grs_record (int num, ODR o) { FILE *f = fopen("dummy-grs", "r"); char line[512]; Z_GenericRecord *r = 0; int n; if (!f) return 0; while (fgets(line, 512, f)) if (*line == '#' && sscanf(line, "#%d", &n) == 1 && n == num) { r = read_grs1(f, o); break; } fclose(f); return r; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/gfs-example.c0000664000175000017500000000552014152153071013055 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file * \brief Demonstration of Generic Frontend Server API */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include /* session handle . Put anything you like in here! */ struct my_handle { int counter; }; static int my_search(void *handle, bend_search_rr *rr) { struct my_handle *my_p = (struct my_handle *) handle; if (rr->num_bases != 1) { rr->errcode = YAZ_BIB1_COMBI_OF_SPECIFIED_DATABASES_UNSUPP; return 0; } /* Throw Database unavailable if other than Default */ if (!yaz_matchstr (rr->basenames[0], "Default")) ; /* Default is OK in our test */ else { rr->errcode = YAZ_BIB1_DATABASE_UNAVAILABLE; rr->errstring = rr->basenames[0]; return 0; } rr->hits = 123; /* dummy hit count */ my_p->counter++; return 0; } /* retrieval of a single record (present, and piggy back search) */ static int my_fetch(void *handle, bend_fetch_rr *r) { const Odr_oid *oid = r->request_format; r->last_in_set = 0; r->basename = "Default"; r->output_format = r->request_format; /* if no record syntax was given assume XML */ if (!oid || !oid_oidcmp(oid, yaz_oid_recsyn_xml)) { char buf[40]; yaz_snprintf(buf, sizeof(buf), "%d\n", r->number); r->output_format = odr_oiddup(r->stream, yaz_oid_recsyn_xml); r->record = odr_strdup(r->stream, buf); r->len = strlen(r->record); } else { /* only xml syntax supported . Return diagnostic */ char buf[OID_STR_MAX]; r->errcode = YAZ_BIB1_RECORD_SYNTAX_UNSUPP; r->errstring = odr_strdup(r->stream, oid_oid_to_dotstring(oid, buf)); } return 0; } static bend_initresult *my_init(bend_initrequest *q) { bend_initresult *r = (bend_initresult *) odr_malloc (q->stream, sizeof(*r)); struct my_handle *my_p = (struct my_handle *) xmalloc (sizeof(*my_p)); my_p->counter = 0; r->errcode = 0; r->errstring = 0; r->handle = my_p; /* user handle */ q->bend_search = my_search; /* register search handler */ q->bend_fetch = my_fetch; /* register fetch handle */ q->query_charset = "UTF-8"; q->records_in_same_charset = 1; return r; } static void my_close(void *handle) { xfree(handle); /* release our user-defined handle */ return; } int main(int argc, char **argv) { return statserv_main(argc, argv, my_init, my_close); } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/read-marc.c0000664000175000017500000031577414152153071012517 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file * \brief Little toy-thing to read MARC records from a fixed array. */ #if HAVE_CONFIG_H #include #endif #include #include #include #include #include "ztest.h" #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_STAT_H #include #endif #ifdef WIN32 #include #endif #include #if HAVE_UNISTD_H #include #endif #define NO_MARC_RECORDS 23 char *marc_records[NO_MARC_RECORDS] = { "\x30\x30\x33\x36\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x31\x36" "\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x31\x37\x39\x30\x34\x30\x30\x30\x31\x33\x30\x30\x30\x37\x35" "\x30\x35\x30\x30\x30\x31\x32\x30\x30\x30\x38\x38\x31\x30\x30\x30" "\x30\x31\x37\x30\x30\x31\x30\x30\x32\x34\x35\x30\x30\x33\x30\x30" "\x30\x31\x31\x37\x32\x36\x30\x30\x30\x31\x32\x30\x30\x31\x34\x37" "\x32\x36\x33\x30\x30\x30\x39\x30\x30\x31\x35\x39\x33\x30\x30\x30" "\x30\x31\x31\x30\x30\x31\x36\x38\x1E\x20\x20\x20\x31\x31\x32\x32" "\x34\x34\x36\x36\x20\x1E\x44\x4C\x43\x1E\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x39\x31\x30\x37\x31" "\x30\x63\x31\x39\x39\x31\x30\x37\x30\x31\x6E\x6A\x75\x20\x20\x20" "\x20\x20\x20\x20\x20\x20\x20\x20\x30\x30\x30\x31\x30\x20\x65\x6E" "\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43" "\x1E\x30\x30\x1F\x61\x31\x32\x33\x2D\x78\x79\x7A\x1E\x31\x30\x1F" "\x61\x4A\x61\x63\x6B\x20\x43\x6F\x6C\x6C\x69\x6E\x73\x1E\x31\x30" "\x1F\x61\x48\x6F\x77\x20\x74\x6F\x20\x70\x72\x6F\x67\x72\x61\x6D" "\x20\x61\x20\x63\x6F\x6D\x70\x75\x74\x65\x72\x1E\x31\x20\x1F\x61" "\x50\x65\x6E\x67\x75\x69\x6E\x1E\x20\x20\x1F\x61\x38\x37\x31\x30" "\x1E\x20\x20\x1F\x61\x70\x2E\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x36\x20\x1E\x1D" , "\x30\x30\x33\x36\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x31\x36" "\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x31\x37\x39\x30\x34\x30\x30\x30\x31\x33\x30\x30\x30\x37\x35" "\x30\x35\x30\x30\x30\x31\x32\x30\x30\x30\x38\x38\x31\x30\x30\x30" "\x30\x31\x37\x30\x30\x31\x30\x30\x32\x34\x35\x30\x30\x33\x30\x30" "\x30\x31\x31\x37\x32\x36\x30\x30\x30\x31\x32\x30\x30\x31\x34\x37" "\x32\x36\x33\x30\x30\x30\x39\x30\x30\x31\x35\x39\x33\x30\x30\x30" "\x30\x31\x31\x30\x30\x31\x36\x38\x1E\x20\x20\x20\x31\x31\x32\x32" "\x34\x34\x36\x37\x20\x1E\x44\x4C\x43\x1E\x30\x30\x30\x30\x30\x30" "\x30\x30\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x39\x31\x30\x37\x31" "\x30\x63\x31\x39\x39\x31\x30\x37\x30\x31\x6E\x6A\x75\x20\x20\x20" "\x20\x20\x20\x20\x20\x20\x20\x20\x30\x30\x30\x31\x30\x20\x65\x6E" "\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43" "\x1E\x30\x30\x1F\x61\x31\x32\x33\x2D\x78\x79\x7A\x1E\x31\x30\x1F" "\x61\x4A\x61\x63\x6B\x20\x43\x6F\x6C\x6C\x69\x6E\x73\x1E\x31\x30" "\x1F\x61\x48\x6F\x77\x20\x74\x6F\x20\x70\x72\x6F\x67\x72\x61\x6D" "\x20\x61\x20\x63\x6F\x6D\x70\x75\x74\x65\x72\x1E\x31\x20\x1F\x61" "\x50\x65\x6E\x67\x75\x69\x6E\x1E\x20\x20\x1F\x61\x38\x37\x31\x30" "\x1E\x20\x20\x1F\x61\x70\x2E\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x31\x31\x32\x32\x34\x34\x36\x37\x20\x1E\x1D" , "\x30\x31\x33\x36\x39\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x36" "\x35\x20\x69\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x38\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x38" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x32\x32\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x39\x30\x31\x30\x30\x30\x32\x32\x30" "\x31\x30\x38\x31\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x38\x30" "\x30\x35\x30\x30\x30\x32\x32\x30\x30\x30\x39\x38\x30\x38\x32\x30" "\x30\x32\x31\x30\x30\x31\x32\x30\x31\x31\x31\x30\x31\x32\x31\x30" "\x30\x31\x34\x31\x32\x34\x35\x30\x33\x34\x37\x30\x30\x32\x36\x32" "\x32\x36\x30\x30\x30\x35\x34\x30\x30\x36\x30\x39\x33\x30\x30\x30" "\x30\x33\x30\x30\x30\x36\x36\x33\x35\x30\x34\x30\x30\x35\x31\x30" "\x30\x36\x39\x33\x36\x35\x30\x30\x30\x35\x36\x30\x30\x37\x34\x34" "\x36\x35\x30\x30\x30\x33\x39\x30\x30\x38\x30\x30\x36\x35\x30\x30" "\x30\x36\x32\x30\x30\x38\x33\x39\x37\x30\x30\x30\x30\x32\x33\x30" "\x30\x39\x30\x31\x37\x30\x30\x30\x30\x32\x30\x30\x30\x39\x32\x34" "\x37\x31\x30\x30\x30\x37\x31\x30\x30\x39\x34\x34\x37\x31\x30\x30" "\x30\x36\x36\x30\x31\x30\x31\x35\x1E\x20\x20\x20\x37\x33\x30\x39" "\x30\x39\x32\x34\x20\x2F\x2F\x72\x38\x32\x1E\x44\x4C\x43\x1E\x31" "\x39\x38\x32\x30\x35\x32\x34\x30\x30\x30\x30\x30\x30\x2E\x30\x1E" "\x37\x36\x30\x36\x30\x39\x73\x31\x39\x37\x34\x20\x20\x20\x20\x6E" "\x79\x75\x61\x20\x20\x20\x20\x20\x62\x20\x20\x20\x20\x31\x30\x31" "\x31\x30\x20\x65\x6E\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43" "\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C\x43\x1E\x30\x30\x1F\x61\x52" "\x43\x37\x31\x2E\x33\x1F\x62\x2E\x57\x36\x37\x20\x31\x39\x37\x31" "\x1E\x30\x30\x1F\x61\x36\x31\x36\x2E\x30\x37\x2F\x35\x37\x35\x2F" "\x30\x32\x38\x35\x34\x1E\x32\x30\x1F\x61\x57\x6F\x72\x6B\x73\x68" "\x6F\x70\x20\x6F\x6E\x20\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x50" "\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x20\x6F\x66\x20\x44\x79\x6E" "\x61\x6D\x69\x63\x20\x49\x6D\x61\x67\x65\x73\x20\x66\x72\x6F\x6D" "\x20\x61\x6E\x20\x41\x6E\x67\x65\x72\x20\x53\x63\x69\x6E\x74\x69" "\x6C\x6C\x61\x74\x69\x6F\x6E\x20\x43\x61\x6D\x65\x72\x61\x2C\x1F" "\x63\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55\x6E\x69\x76" "\x65\x72\x73\x69\x74\x79\x2C\x1F\x64\x31\x39\x37\x31\x2E\x1E\x31" "\x30\x1F\x61\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x70\x72\x6F\x63" "\x65\x73\x73\x69\x6E\x67\x20\x6F\x66\x20\x64\x79\x6E\x61\x6D\x69" "\x63\x20\x69\x6D\x61\x67\x65\x73\x20\x66\x72\x6F\x6D\x20\x61\x6E" "\x20\x41\x6E\x67\x65\x72\x20\x73\x63\x69\x6E\x74\x69\x6C\x6C\x61" "\x74\x69\x6F\x6E\x20\x63\x61\x6D\x65\x72\x61\x20\x3A\x1F\x62\x74" "\x68\x65\x20\x70\x72\x6F\x63\x65\x65\x64\x69\x6E\x67\x73\x20\x6F" "\x66\x20\x61\x20\x77\x6F\x72\x6B\x73\x68\x6F\x70\x20\x2F\x1F\x63" "\x63\x6F\x73\x70\x6F\x6E\x73\x6F\x72\x65\x64\x20\x62\x79\x20\x74" "\x68\x65\x20\x42\x69\x6F\x6D\x65\x64\x69\x63\x61\x6C\x20\x43\x6F" "\x6D\x70\x75\x74\x65\x72\x20\x4C\x61\x62\x6F\x72\x61\x74\x6F\x72" "\x79\x20\x61\x6E\x64\x20\x74\x68\x65\x20\x4E\x75\x63\x6C\x65\x61" "\x72\x20\x4D\x65\x64\x69\x63\x69\x6E\x65\x20\x44\x69\x76\x69\x73" "\x69\x6F\x6E\x2C\x20\x44\x65\x70\x61\x72\x74\x6D\x65\x6E\x74\x20" "\x6F\x66\x20\x52\x61\x64\x69\x6F\x6C\x6F\x67\x79\x2C\x20\x53\x63" "\x68\x6F\x6F\x6C\x20\x6F\x66\x20\x4D\x65\x64\x69\x63\x69\x6E\x65" "\x2C\x20\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55\x6E\x69" "\x76\x65\x72\x73\x69\x74\x79\x2C\x20\x53\x74\x2E\x20\x4C\x6F\x75" "\x69\x73\x2C\x20\x4A\x61\x6E\x75\x61\x72\x79\x20\x31\x38\x2D\x32" "\x32\x2C\x20\x31\x39\x37\x31\x20\x3B\x20\x65\x64\x69\x74\x65\x64" "\x20\x62\x79\x20\x4B\x65\x6E\x6E\x65\x74\x68\x20\x42\x2E\x20\x4C" "\x61\x72\x73\x6F\x6E\x2C\x20\x4A\x65\x72\x6F\x6D\x65\x20\x52\x2E" "\x20\x43\x6F\x78\x2C\x20\x4A\x72\x2E\x1E\x30\x20\x1F\x61\x4E\x65" "\x77\x20\x59\x6F\x72\x6B\x20\x3A\x1F\x62\x53\x6F\x63\x69\x65\x74" "\x79\x20\x6F\x66\x20\x4E\x75\x63\x6C\x65\x61\x72\x20\x4D\x65\x64" "\x69\x63\x69\x6E\x65\x2C\x1F\x63\x5B\x63\x31\x39\x37\x34\x5D\x1E" "\x20\x20\x1F\x61\x78\x69\x76\x2C\x20\x70\x2E\x20\x3A\x1F\x62\x69" "\x6C\x6C\x2E\x20\x3B\x1F\x63\x32\x34\x20\x63\x6D\x2E\x1E\x20\x20" "\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73\x20\x62\x69\x62\x6C\x69" "\x6F\x67\x72\x61\x70\x68\x69\x63\x61\x6C\x20\x72\x65\x66\x65\x72" "\x65\x6E\x63\x65\x73\x20\x61\x6E\x64\x20\x69\x6E\x64\x65\x78\x2E" "\x1E\x20\x30\x1F\x61\x52\x61\x64\x69\x6F\x69\x73\x6F\x74\x6F\x70" "\x65\x20\x73\x63\x61\x6E\x6E\x69\x6E\x67\x1F\x78\x44\x61\x74\x61" "\x20\x70\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x1F\x78\x43\x6F\x6E" "\x67\x72\x65\x73\x73\x65\x73\x2E\x1E\x20\x30\x1F\x61\x53\x63\x69" "\x6E\x74\x69\x6C\x6C\x61\x74\x69\x6F\x6E\x20\x63\x61\x6D\x65\x72" "\x61\x73\x1F\x78\x43\x6F\x6E\x67\x72\x65\x73\x73\x65\x73\x2E\x1E" "\x20\x30\x1F\x61\x49\x6D\x61\x67\x69\x6E\x67\x20\x73\x79\x73\x74" "\x65\x6D\x73\x20\x69\x6E\x20\x6D\x65\x64\x69\x63\x69\x6E\x65\x1F" "\x78\x44\x61\x74\x61\x20\x70\x72\x6F\x63\x65\x73\x73\x69\x6E\x67" "\x1F\x78\x43\x6F\x6E\x67\x72\x65\x73\x73\x65\x73\x2E\x1E\x31\x30" "\x1F\x61\x4C\x61\x72\x73\x6F\x6E\x2C\x20\x4B\x65\x6E\x6E\x65\x74" "\x68\x20\x42\x2E\x1E\x31\x30\x1F\x61\x43\x6F\x78\x2C\x20\x4A\x65" "\x72\x6F\x6D\x65\x20\x52\x2E\x20\x1E\x32\x30\x1F\x61\x57\x61\x73" "\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55\x6E\x69\x76\x65\x72\x73\x69" "\x74\x79\x2C\x20\x53\x74\x2E\x20\x4C\x6F\x75\x69\x73\x2E\x1F\x62" "\x42\x69\x6F\x6D\x65\x64\x69\x63\x61\x6C\x20\x43\x6F\x6D\x70\x75" "\x74\x65\x72\x20\x4C\x61\x62\x6F\x72\x61\x74\x6F\x72\x79\x2E\x1E" "\x32\x30\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55" "\x6E\x69\x76\x65\x72\x73\x69\x74\x79\x2C\x20\x53\x74\x2E\x20\x4C" "\x6F\x75\x69\x73\x2E\x1F\x62\x4E\x75\x63\x6C\x65\x61\x72\x20\x4D" "\x65\x64\x69\x63\x69\x6E\x65\x20\x44\x69\x76\x69\x73\x69\x6F\x6E" "\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x33\x30\x39\x30\x39\x32" "\x34\x20\x2F\x2F\x72\x38\x32\x1E\x1D" , "\x30\x30\x39\x34\x32\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x35" "\x33\x31\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x39\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x32\x33\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x34\x30\x30\x31\x30\x30\x30\x32\x33\x30" "\x30\x36\x36\x35\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x38\x31" "\x30\x34\x31\x30\x30\x31\x34\x30\x30\x30\x39\x39\x30\x35\x30\x30" "\x30\x31\x36\x30\x30\x31\x31\x33\x30\x38\x32\x30\x30\x31\x36\x30" "\x30\x31\x32\x39\x32\x34\x35\x30\x30\x37\x33\x30\x30\x31\x34\x35" "\x32\x36\x30\x30\x30\x37\x30\x30\x30\x32\x31\x38\x33\x30\x30\x30" "\x30\x35\x30\x30\x30\x32\x38\x38\x35\x30\x30\x30\x30\x34\x38\x30" "\x30\x33\x33\x38\x35\x30\x30\x30\x30\x39\x36\x30\x30\x33\x38\x36" "\x36\x33\x30\x30\x30\x33\x39\x30\x30\x34\x38\x32\x36\x33\x30\x30" "\x30\x33\x39\x30\x30\x35\x32\x31\x37\x30\x30\x30\x30\x33\x38\x30" "\x30\x35\x36\x30\x37\x30\x30\x30\x30\x33\x33\x30\x30\x35\x39\x38" "\x37\x31\x30\x30\x30\x33\x34\x30\x30\x36\x33\x31\x1E\x20\x20\x20" "\x37\x33\x32\x30\x39\x36\x32\x32\x20\x2F\x2F\x72\x38\x32\x33\x1E" "\x44\x4C\x43\x1E\x31\x39\x38\x32\x30\x33\x32\x35\x30\x30\x30\x30" "\x30\x30\x2E\x30\x1E\x37\x38\x30\x33\x30\x36\x6D\x31\x39\x30\x30" "\x39\x39\x39\x39\x6F\x68\x75\x20\x20\x20\x20\x20\x20\x20\x20\x20" "\x20\x20\x30\x30\x30\x30\x30\x20\x67\x72\x63\x20\x20\x1E\x20\x20" "\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C\x43\x1E" "\x30\x20\x1F\x61\x67\x72\x63\x68\x65\x62\x65\x6E\x67\x1E\x30\x30" "\x1F\x61\x42\x53\x34\x32\x31\x1F\x62\x2E\x43\x36\x34\x1E\x30\x30" "\x1F\x61\x32\x32\x30\x2E\x34\x2F\x34\x1F\x32\x31\x39\x1E\x30\x34" "\x1F\x61\x54\x68\x65\x20\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x42" "\x69\x62\x6C\x65\x20\x2F\x1F\x63\x4A\x2E\x20\x41\x72\x74\x68\x75" "\x72\x20\x42\x61\x69\x72\x64\x2C\x20\x44\x61\x76\x69\x64\x20\x4E" "\x6F\x65\x6C\x20\x46\x72\x65\x65\x64\x6D\x61\x6E\x2C\x20\x65\x64" "\x69\x74\x6F\x72\x73\x2E\x1E\x30\x20\x1F\x61\x5B\x57\x6F\x6F\x73" "\x74\x65\x72\x2C\x20\x4F\x68\x69\x6F\x5D\x20\x3A\x1F\x62\x42\x69" "\x62\x6C\x69\x63\x61\x6C\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20" "\x41\x73\x73\x6F\x63\x69\x61\x74\x65\x73\x2C\x1F\x63\x3C\x31\x39" "\x37\x33\x2D\x63\x31\x39\x38\x30\x20\x20\x20\x3E\x1E\x20\x20\x1F" "\x61\x76\x2E\x20\x3C\x32\x2D\x34\x2C\x20\x37\x2D\x31\x30\x2C\x20" "\x31\x33\x2C\x20\x31\x35\x2D\x31\x38\x2C\x20\x32\x30\x2D\x32\x34" "\x20\x20\x20\x3E\x20\x3B\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20" "\x20\x1F\x61\x48\x65\x62\x72\x65\x77\x20\x61\x6E\x64\x20\x47\x72" "\x65\x65\x6B\x3B\x20\x69\x6E\x74\x72\x6F\x64\x75\x63\x74\x69\x6F" "\x6E\x73\x20\x69\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68\x2E\x1E\x20" "\x20\x1F\x61\x56\x6F\x6C\x73\x2E\x20\x32\x2C\x20\x38\x3A\x20\x4D" "\x69\x73\x73\x6F\x75\x6C\x61\x2C\x20\x4D\x6F\x6E\x74\x2E\x20\x3A" "\x20\x50\x75\x62\x6C\x69\x73\x68\x65\x64\x20\x62\x79\x20\x53\x63" "\x68\x6F\x6C\x61\x72\x73\x20\x50\x72\x65\x73\x73\x20\x66\x6F\x72" "\x20\x42\x69\x62\x6C\x69\x63\x61\x6C\x20\x52\x65\x73\x65\x61\x72" "\x63\x68\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x65\x73\x2E\x1E\x20" "\x30\x1F\x61\x42\x69\x62\x6C\x65\x2E\x20\x4F\x2E\x54\x2E\x1F\x78" "\x43\x6F\x6E\x63\x6F\x72\x64\x61\x6E\x63\x65\x73\x2C\x20\x48\x65" "\x62\x72\x65\x77\x2E\x1E\x30\x30\x1F\x61\x42\x69\x62\x6C\x65\x2E" "\x1F\x70\x4E\x2E\x54\x2E\x1F\x78\x43\x6F\x6E\x63\x6F\x72\x64\x61" "\x6E\x63\x65\x73\x2C\x20\x47\x72\x65\x65\x6B\x2E\x1E\x31\x30\x1F" "\x61\x42\x61\x69\x72\x64\x2C\x20\x4A\x2E\x20\x41\x72\x74\x68\x75" "\x72\x1F\x71\x28\x4A\x6F\x73\x65\x70\x68\x20\x41\x72\x74\x68\x75" "\x72\x29\x1E\x31\x30\x1F\x61\x46\x72\x65\x65\x64\x6D\x61\x6E\x2C" "\x20\x44\x61\x76\x69\x64\x20\x4E\x6F\x65\x6C\x2C\x1F\x64\x31\x39" "\x32\x32\x2D\x1E\x32\x30\x1F\x61\x42\x69\x62\x6C\x69\x63\x61\x6C" "\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20\x41\x73\x73\x6F\x63\x69" "\x61\x74\x65\x73\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x33\x32" "\x30\x39\x36\x32\x32\x20\x2F\x2F\x72\x38\x32\x33\x1E\x1D" , "\x30\x31\x30\x33\x33\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x35" "\x33\x20\x69\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x32\x31\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x32\x31" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x32\x35\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x34\x32\x30\x31\x30\x30\x30\x32\x35\x30" "\x30\x37\x35\x34\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x38\x33" "\x30\x34\x33\x30\x30\x31\x32\x30\x30\x31\x30\x31\x30\x35\x30\x30" "\x30\x32\x32\x30\x30\x31\x31\x33\x31\x30\x30\x30\x30\x31\x39\x30" "\x30\x31\x33\x35\x32\x34\x35\x30\x31\x30\x35\x30\x30\x31\x35\x34" "\x32\x36\x30\x30\x30\x37\x33\x30\x30\x32\x35\x39\x33\x30\x30\x30" "\x30\x33\x38\x30\x30\x33\x33\x32\x34\x39\x30\x30\x30\x36\x38\x30" "\x30\x33\x37\x30\x35\x30\x30\x30\x30\x33\x35\x30\x30\x34\x33\x38" "\x35\x30\x34\x30\x30\x32\x34\x30\x30\x34\x37\x33\x36\x35\x30\x30" "\x30\x33\x34\x30\x30\x34\x39\x37\x36\x35\x31\x30\x30\x34\x36\x30" "\x30\x35\x33\x31\x37\x30\x30\x30\x30\x33\x39\x30\x30\x35\x37\x37" "\x38\x31\x30\x30\x31\x33\x38\x30\x30\x36\x31\x36\x1E\x20\x20\x20" "\x37\x36\x33\x35\x37\x38\x39\x35\x20\x2F\x4D\x41\x50\x2F\x72\x38" "\x32\x1E\x44\x4C\x43\x1E\x31\x39\x38\x32\x30\x38\x30\x36\x30\x30" "\x30\x30\x30\x30\x2E\x30\x1E\x37\x36\x30\x34\x30\x37\x73\x31\x39" "\x37\x34\x20\x20\x20\x20\x77\x61\x75\x61\x20\x20\x20\x20\x20\x62" "\x20\x20\x20\x20\x30\x30\x30\x31\x30\x20\x65\x6E\x67\x20\x20\x1E" "\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C" "\x43\x1E\x20\x20\x1F\x61\x6E\x2D\x75\x73\x2D\x77\x61\x1E\x30\x30" "\x1F\x61\x47\x31\x34\x36\x37\x2E\x50\x38\x1F\x62\x4D\x33\x20\x31" "\x39\x37\x34\x1E\x31\x30\x1F\x61\x4D\x61\x69\x72\x73\x2C\x20\x4A" "\x6F\x68\x6E\x20\x57\x2E\x1E\x31\x34\x1F\x61\x54\x68\x65\x20\x50" "\x75\x67\x65\x74\x20\x53\x6F\x75\x6E\x64\x20\x52\x65\x67\x69\x6F" "\x6E\x20\x3A\x1F\x62\x61\x20\x70\x6F\x72\x74\x66\x6F\x6C\x69\x6F" "\x20\x6F\x66\x20\x74\x68\x65\x6D\x61\x74\x69\x63\x20\x63\x6F\x6D" "\x70\x75\x74\x65\x72\x20\x6D\x61\x70\x73\x20\x2F\x1F\x63\x4A\x6F" "\x68\x6E\x20\x57\x2E\x20\x4D\x61\x69\x72\x73\x2C\x20\x45\x75\x67" "\x65\x6E\x65\x20\x41\x2E\x20\x48\x6F\x65\x72\x61\x75\x66\x2E\x1E" "\x30\x20\x1F\x61\x5B\x42\x65\x6C\x6C\x69\x6E\x67\x68\x61\x6D\x2C" "\x20\x57\x61\x73\x68\x2E\x5D\x20\x3A\x1F\x62\x43\x65\x6E\x74\x65" "\x72\x20\x66\x6F\x72\x20\x50\x61\x63\x69\x66\x69\x63\x20\x4E\x6F" "\x72\x74\x68\x77\x65\x73\x74\x20\x53\x74\x75\x64\x69\x65\x73\x2C" "\x1F\x63\x63\x31\x39\x37\x34\x2E\x1E\x20\x20\x1F\x61\x69\x69\x69" "\x2C\x20\x34\x31\x20\x70\x2E\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20" "\x3B\x1F\x63\x32\x35\x20\x78\x20\x33\x36\x20\x63\x6D\x2E\x1E\x31" "\x20\x1F\x61\x4F\x63\x63\x61\x73\x69\x6F\x6E\x61\x6C\x20\x70\x61" "\x70\x65\x72\x20\x2D\x20\x43\x65\x6E\x74\x65\x72\x20\x66\x6F\x72" "\x20\x50\x61\x63\x69\x66\x69\x63\x20\x4E\x6F\x72\x74\x68\x77\x65" "\x73\x74\x20\x53\x74\x75\x64\x69\x65\x73\x20\x3B\x20\x6E\x6F\x2E" "\x20\x33\x1E\x20\x20\x1F\x61\x53\x63\x61\x6C\x65\x20\x6F\x66\x20" "\x6D\x61\x70\x73\x20\x63\x61\x2E\x20\x31\x3A\x31\x2C\x30\x30\x30" "\x2C\x30\x30\x30\x2E\x1E\x20\x20\x1F\x61\x42\x69\x62\x6C\x69\x6F" "\x67\x72\x61\x70\x68\x79\x3A\x20\x70\x2E\x20\x34\x2E\x1E\x20\x30" "\x1F\x61\x43\x61\x72\x74\x6F\x67\x72\x61\x70\x68\x79\x1F\x78\x44" "\x61\x74\x61\x20\x70\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x2E\x1E" "\x20\x30\x1F\x61\x50\x75\x67\x65\x74\x20\x53\x6F\x75\x6E\x64\x20" "\x72\x65\x67\x69\x6F\x6E\x20\x28\x57\x61\x73\x68\x2E\x29\x1F\x78" "\x43\x65\x6E\x73\x75\x73\x1F\x78\x4D\x61\x70\x73\x2E\x1E\x31\x30" "\x1F\x61\x48\x6F\x65\x72\x61\x75\x66\x2C\x20\x45\x75\x67\x65\x6E" "\x65\x20\x41\x2E\x2C\x1F\x65\x6A\x6F\x69\x6E\x74\x20\x61\x75\x74" "\x68\x6F\x72\x2E\x1E\x31\x20\x1F\x61\x57\x61\x73\x68\x69\x6E\x67" "\x74\x6F\x6E\x20\x28\x53\x74\x61\x74\x65\x29\x2E\x1F\x62\x57\x65" "\x73\x74\x65\x72\x6E\x20\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E" "\x20\x53\x74\x61\x74\x65\x20\x43\x6F\x6C\x6C\x65\x67\x65\x2C\x20" "\x42\x65\x6C\x6C\x69\x6E\x67\x68\x61\x6D\x2E\x1F\x62\x43\x65\x6E" "\x74\x65\x72\x20\x66\x6F\x72\x20\x50\x61\x63\x69\x66\x69\x63\x20" "\x4E\x6F\x72\x74\x68\x77\x65\x73\x74\x20\x53\x74\x75\x64\x69\x65" "\x73\x2E\x1F\x74\x4F\x63\x63\x61\x73\x69\x6F\x6E\x61\x6C\x20\x70" "\x61\x70\x65\x72\x20\x3B\x1F\x76\x6E\x6F\x2E\x20\x33\x2E\x1E\x20" "\x20\x1F\x61\x20\x20\x20\x37\x36\x33\x35\x37\x38\x39\x35\x20\x2F" "\x4D\x41\x50\x2F\x72\x38\x32\x1E\x1D" , "\x30\x31\x30\x30\x30\x70\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x32" "\x39\x20\x69\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x37\x35\x33\x30\x32\x30\x30\x30\x31\x35\x30\x30\x30\x37\x35" "\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x39\x30\x30\x35\x30\x30" "\x30\x31\x38\x30\x30\x31\x30\x38\x30\x38\x32\x30\x30\x31\x35\x30" "\x30\x31\x32\x36\x32\x34\x35\x30\x33\x30\x34\x30\x30\x31\x34\x31" "\x32\x36\x30\x30\x30\x34\x38\x30\x30\x34\x34\x35\x33\x30\x30\x30" "\x30\x33\x33\x30\x30\x34\x39\x33\x35\x30\x34\x30\x30\x35\x31\x30" "\x30\x35\x32\x36\x36\x35\x30\x30\x30\x32\x38\x30\x30\x35\x37\x37" "\x37\x30\x30\x30\x30\x32\x39\x30\x30\x36\x30\x35\x37\x31\x30\x30" "\x30\x34\x38\x30\x30\x36\x33\x34\x37\x31\x30\x30\x30\x37\x31\x30" "\x30\x36\x38\x32\x1E\x20\x20\x20\x37\x37\x30\x30\x30\x33\x34\x38" "\x20\x1E\x44\x4C\x43\x1E\x31\x39\x37\x37\x30\x37\x30\x37\x30\x30" "\x30\x30\x30\x30\x2E\x30\x1E\x37\x37\x30\x31\x31\x32\x73\x31\x39" "\x37\x37\x20\x20\x20\x20\x6D\x64\x75\x61\x20\x20\x20\x20\x20\x62" "\x20\x20\x20\x20\x31\x30\x31\x31\x30\x20\x65\x6E\x67\x20\x20\x1E" "\x20\x20\x1F\x61\x30\x38\x33\x39\x31\x30\x38\x38\x32\x36\x1E\x20" "\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C\x43" "\x1E\x30\x30\x1F\x61\x52\x43\x37\x38\x2E\x37\x2E\x54\x36\x1F\x62" "\x52\x34\x1E\x30\x30\x1F\x61\x36\x31\x36\x2E\x30\x37\x2F\x35\x37" "\x32\x1E\x30\x30\x1F\x61\x52\x65\x63\x6F\x6E\x73\x74\x72\x75\x63" "\x74\x69\x6F\x6E\x20\x74\x6F\x6D\x6F\x67\x72\x61\x70\x68\x79\x20" "\x69\x6E\x20\x64\x69\x61\x67\x6E\x6F\x73\x74\x69\x63\x20\x72\x61" "\x64\x69\x6F\x6C\x6F\x67\x79\x20\x61\x6E\x64\x20\x6E\x75\x63\x6C" "\x65\x61\x72\x20\x6D\x65\x64\x69\x63\x69\x6E\x65\x20\x3A\x1F\x62" "\x70\x72\x6F\x63\x65\x65\x64\x69\x6E\x67\x73\x20\x6F\x66\x20\x74" "\x68\x65\x20\x77\x6F\x72\x6B\x73\x68\x6F\x70\x20\x2E\x2E\x2E\x20" "\x2F\x1F\x63\x65\x64\x69\x74\x65\x64\x20\x62\x79\x20\x4D\x69\x63" "\x68\x65\x6C\x20\x4D\x2E\x20\x54\x65\x72\x2D\x50\x6F\x67\x6F\x73" "\x73\x69\x61\x6E\x20\x2E\x2E\x2E\x20\x5B\x65\x74\x20\x61\x6C\x2E" "\x5D\x20\x3B\x20\x63\x6F\x2D\x73\x70\x6F\x6E\x73\x6F\x72\x73\x2C" "\x20\x74\x68\x65\x20\x45\x64\x77\x61\x72\x64\x20\x4D\x61\x6C\x6C" "\x69\x6E\x63\x6B\x72\x6F\x64\x74\x20\x49\x6E\x73\x74\x69\x74\x75" "\x74\x65\x20\x6F\x66\x20\x52\x61\x64\x69\x6F\x6C\x6F\x67\x79\x20" "\x61\x6E\x64\x20\x42\x69\x6F\x6D\x65\x64\x69\x63\x61\x6C\x20\x43" "\x6F\x6D\x70\x75\x74\x65\x72\x20\x4C\x61\x62\x6F\x72\x61\x74\x6F" "\x72\x79\x2C\x20\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55" "\x6E\x69\x76\x65\x72\x73\x69\x74\x79\x20\x53\x63\x68\x6F\x6F\x6C" "\x20\x6F\x66\x20\x4D\x65\x64\x69\x63\x69\x6E\x65\x20\x2E\x2E\x2E" "\x2E\x1E\x30\x20\x1F\x61\x42\x61\x6C\x74\x69\x6D\x6F\x72\x65\x20" "\x3A\x1F\x62\x55\x6E\x69\x76\x65\x72\x73\x69\x74\x79\x20\x50\x61" "\x72\x6B\x20\x50\x72\x65\x73\x73\x2C\x1F\x63\x63\x31\x39\x37\x37" "\x2E\x1E\x20\x20\x1F\x61\x78\x76\x2C\x20\x35\x37\x33\x20\x70\x2E" "\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20\x3B\x1F\x63\x32\x34\x20\x63" "\x6D\x2E\x1E\x20\x20\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73\x20" "\x62\x69\x62\x6C\x69\x6F\x67\x72\x61\x70\x68\x69\x63\x61\x6C\x20" "\x72\x65\x66\x65\x72\x65\x6E\x63\x65\x73\x20\x61\x6E\x64\x20\x69" "\x6E\x64\x65\x78\x2E\x1E\x20\x30\x1F\x61\x54\x6F\x6D\x6F\x67\x72" "\x61\x70\x68\x79\x1F\x78\x43\x6F\x6E\x67\x72\x65\x73\x73\x65\x73" "\x2E\x1E\x32\x30\x1F\x61\x54\x65\x72\x2D\x50\x6F\x67\x6F\x73\x73" "\x69\x61\x6E\x2C\x20\x4D\x69\x63\x68\x65\x6C\x20\x4D\x2E\x1E\x32" "\x30\x1F\x61\x45\x64\x77\x61\x72\x64\x20\x4D\x61\x6C\x6C\x69\x6E" "\x63\x6B\x72\x6F\x64\x74\x20\x49\x6E\x73\x74\x69\x74\x75\x74\x65" "\x20\x6F\x66\x20\x52\x61\x64\x69\x6F\x6C\x6F\x67\x79\x2E\x1E\x32" "\x30\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x55\x6E" "\x69\x76\x65\x72\x73\x69\x74\x79\x2C\x20\x53\x74\x2E\x20\x4C\x6F" "\x75\x69\x73\x2E\x1F\x62\x42\x69\x6F\x6D\x65\x64\x69\x63\x61\x6C" "\x20\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x4C\x61\x62\x6F\x72\x61" "\x74\x6F\x72\x79\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x37\x30" "\x30\x30\x33\x34\x38\x20\x1E\x1D" , "\x30\x31\x34\x39\x33\x70\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x37" "\x37\x20\x69\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x31\x31\x39\x38\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x37\x35" "\x30\x34\x33\x30\x30\x31\x32\x30\x30\x30\x39\x33\x30\x35\x30\x30" "\x30\x33\x34\x30\x30\x31\x30\x35\x30\x38\x32\x30\x30\x32\x38\x30" "\x30\x31\x33\x39\x30\x38\x36\x30\x30\x31\x38\x30\x30\x31\x36\x37" "\x31\x31\x31\x30\x30\x39\x35\x30\x30\x31\x38\x35\x32\x34\x35\x30" "\x34\x34\x38\x30\x30\x32\x38\x30\x32\x36\x30\x30\x31\x33\x38\x30" "\x30\x37\x32\x38\x33\x30\x30\x30\x30\x33\x34\x30\x30\x38\x36\x36" "\x34\x39\x30\x30\x30\x33\x36\x30\x30\x39\x30\x30\x36\x35\x30\x30" "\x30\x35\x39\x30\x30\x39\x33\x36\x37\x30\x30\x30\x30\x33\x31\x30" "\x30\x39\x39\x35\x37\x30\x30\x30\x30\x32\x31\x30\x31\x30\x32\x36" "\x37\x30\x30\x30\x30\x32\x30\x30\x31\x30\x34\x37\x37\x31\x30\x30" "\x30\x35\x30\x30\x31\x30\x36\x37\x38\x31\x30\x30\x30\x38\x31\x30" "\x31\x31\x31\x37\x1E\x20\x20\x20\x37\x37\x30\x30\x34\x37\x37\x33" "\x20\x1E\x44\x4C\x43\x1E\x31\x39\x37\x37\x30\x38\x32\x32\x30\x30" "\x30\x30\x30\x30\x2E\x30\x1E\x37\x37\x30\x33\x32\x31\x73\x31\x39" "\x37\x37\x20\x20\x20\x20\x64\x63\x75\x61\x20\x20\x20\x20\x20\x20" "\x20\x20\x20\x20\x31\x30\x30\x30\x30\x20\x65\x6E\x67\x20\x20\x1E" "\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C" "\x43\x1E\x20\x20\x1F\x61\x6E\x2D\x75\x73\x2D\x2D\x2D\x1E\x30\x30" "\x1F\x61\x51\x43\x31\x30\x30\x1F\x62\x2E\x55\x35\x37\x20\x6E\x6F" "\x2E\x20\x35\x30\x30\x2D\x38\x1F\x61\x54\x41\x31\x36\x35\x30\x1E" "\x30\x30\x1F\x61\x36\x30\x32\x2F\x2E\x31\x20\x73\x1F\x61\x36\x32" "\x31\x2E\x33\x38\x31\x2E\x39\x2F\x35\x39\x38\x1E\x20\x20\x1F\x61" "\x43\x31\x33\x2E\x31\x30\x3A\x35\x30\x30\x2D\x38\x2E\x1E\x32\x30" "\x1F\x61\x57\x6F\x72\x6B\x73\x68\x6F\x70\x20\x6F\x6E\x20\x53\x74" "\x61\x6E\x64\x61\x72\x64\x73\x20\x66\x6F\x72\x20\x49\x6D\x61\x67" "\x65\x20\x50\x61\x74\x74\x65\x72\x6E\x20\x52\x65\x63\x6F\x67\x6E" "\x69\x74\x69\x6F\x6E\x2C\x1F\x63\x4E\x61\x74\x69\x6F\x6E\x61\x6C" "\x20\x42\x75\x72\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E\x64" "\x61\x72\x64\x73\x2C\x1F\x64\x31\x39\x37\x36\x2E\x1E\x31\x30\x1F" "\x61\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x73\x63\x69\x65\x6E\x63" "\x65\x20\x26\x20\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79\x20\x3A" "\x1F\x62\x70\x72\x6F\x63\x65\x65\x64\x69\x6E\x67\x73\x20\x6F\x66" "\x20\x61\x20\x77\x6F\x72\x6B\x73\x68\x6F\x70\x20\x68\x65\x6C\x64" "\x20\x61\x74\x20\x74\x68\x65\x20\x4E\x61\x74\x69\x6F\x6E\x61\x6C" "\x20\x42\x75\x72\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E\x64" "\x61\x72\x64\x73\x2C\x20\x47\x61\x69\x74\x68\x65\x72\x73\x62\x75" "\x72\x67\x2C\x20\x4D\x44\x2C\x20\x4A\x75\x6E\x65\x20\x33\x2D\x34" "\x2C\x20\x31\x39\x37\x36\x20\x2F\x1F\x63\x57\x6F\x72\x6B\x73\x68" "\x6F\x70\x20\x6F\x6E\x20\x53\x74\x61\x6E\x64\x61\x72\x64\x73\x20" "\x66\x6F\x72\x20\x49\x6D\x61\x67\x65\x20\x50\x61\x74\x74\x65\x72" "\x6E\x20\x52\x65\x63\x6F\x67\x6E\x69\x74\x69\x6F\x6E\x20\x3B\x20" "\x4A\x6F\x68\x6E\x20\x4D\x2E\x20\x45\x76\x61\x6E\x73\x2C\x20\x4A" "\x72\x2E\x2C\x20\x52\x75\x73\x73\x65\x6C\x6C\x20\x4B\x69\x72\x73" "\x63\x68\x2C\x20\x61\x6E\x64\x20\x52\x6F\x67\x65\x72\x20\x4E\x2E" "\x20\x4E\x61\x67\x65\x6C\x2C\x20\x65\x64\x69\x74\x6F\x72\x5B\x73" "\x5D\x20\x3B\x20\x73\x70\x6F\x6E\x73\x6F\x72\x65\x64\x20\x62\x79" "\x20\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x42\x75\x72\x65\x61\x75" "\x20\x6F\x66\x20\x53\x74\x61\x6E\x64\x61\x72\x64\x73\x2C\x20\x45" "\x6C\x65\x63\x74\x72\x6F\x6E\x69\x63\x20\x49\x6E\x64\x75\x73\x74" "\x72\x69\x65\x73\x20\x41\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E" "\x2C\x20\x49\x6E\x73\x74\x69\x74\x75\x74\x65\x20\x6F\x66\x20\x45" "\x6C\x65\x63\x74\x72\x69\x63\x61\x6C\x20\x61\x6E\x64\x20\x45\x6C" "\x65\x63\x74\x72\x6F\x6E\x69\x63\x20\x45\x6E\x67\x69\x6E\x65\x65" "\x72\x73\x2C\x20\x69\x6E\x20\x63\x6F\x6F\x70\x65\x72\x61\x74\x69" "\x6F\x6E\x20\x77\x69\x74\x68\x20\x41\x73\x73\x6F\x63\x69\x61\x74" "\x69\x6F\x6E\x20\x66\x6F\x72\x20\x43\x6F\x6D\x70\x75\x74\x69\x6E" "\x67\x20\x4D\x61\x63\x68\x69\x6E\x65\x72\x79\x2E\x1E\x30\x20\x1F" "\x61\x5B\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x5D\x20\x3A\x1F" "\x62\x55\x2E\x53\x2E\x20\x44\x65\x70\x74\x2E\x20\x6F\x66\x20\x43" "\x6F\x6D\x6D\x65\x72\x63\x65\x2C\x20\x4E\x61\x74\x69\x6F\x6E\x61" "\x6C\x20\x42\x75\x72\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E" "\x64\x61\x72\x64\x73\x20\x3A\x20\x66\x6F\x72\x20\x73\x61\x6C\x65" "\x20\x62\x79\x20\x74\x68\x65\x20\x53\x75\x70\x74\x2E\x20\x6F\x66" "\x20\x44\x6F\x63\x73\x2E\x2C\x20\x55\x2E\x53\x2E\x20\x47\x6F\x76" "\x74\x2E\x20\x50\x72\x69\x6E\x74\x2E\x20\x4F\x66\x66\x2E\x2C\x1F" "\x63\x31\x39\x37\x37\x2E\x1E\x20\x20\x1F\x61\x76\x69\x69\x2C\x20" "\x31\x31\x32\x20\x70\x2E\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20\x3B" "\x1F\x63\x32\x36\x20\x63\x6D\x2E\x1E\x31\x20\x1F\x61\x4E\x42\x53" "\x20\x73\x70\x65\x63\x69\x61\x6C\x20\x70\x75\x62\x6C\x69\x63\x61" "\x74\x69\x6F\x6E\x20\x3B\x20\x35\x30\x30\x2D\x38\x1E\x20\x30\x1F" "\x61\x4F\x70\x74\x69\x63\x61\x6C\x20\x70\x61\x74\x74\x65\x72\x6E" "\x20\x72\x65\x63\x6F\x67\x6E\x69\x74\x69\x6F\x6E\x1F\x78\x53\x74" "\x61\x6E\x64\x61\x72\x64\x73\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20" "\x53\x74\x61\x74\x65\x73\x2E\x1E\x31\x30\x1F\x61\x45\x76\x61\x6E" "\x73\x2C\x20\x4A\x6F\x68\x6E\x20\x4D\x61\x72\x74\x69\x6E\x2C\x1F" "\x64\x31\x39\x34\x32\x2D\x1E\x31\x30\x1F\x61\x4B\x69\x72\x73\x63" "\x68\x2C\x20\x52\x75\x73\x73\x65\x6C\x6C\x2E\x1E\x31\x30\x1F\x61" "\x4E\x61\x67\x65\x6C\x2C\x20\x52\x6F\x67\x65\x72\x20\x4E\x2E\x1E" "\x31\x30\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65" "\x73\x2E\x1F\x62\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x42\x75\x72" "\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E\x64\x61\x72\x64\x73" "\x2E\x1E\x31\x20\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61" "\x74\x65\x73\x2E\x1F\x62\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x42" "\x75\x72\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E\x64\x61\x72" "\x64\x73\x2E\x1F\x74\x53\x70\x65\x63\x69\x61\x6C\x20\x70\x75\x62" "\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x3B\x1F\x76\x35\x30\x30\x2D" "\x38\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x37\x30\x30\x34\x37" "\x37\x33\x20\x1E\x1D" , "\x30\x30\x38\x37\x38\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x32" "\x39\x20\x69\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x36\x33\x31\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x37\x35" "\x30\x35\x30\x30\x30\x33\x38\x30\x30\x30\x39\x33\x30\x38\x32\x30" "\x30\x32\x32\x30\x30\x31\x33\x31\x30\x38\x36\x30\x30\x31\x37\x30" "\x30\x31\x35\x33\x31\x30\x30\x30\x30\x31\x39\x30\x30\x31\x37\x30" "\x32\x34\x35\x30\x30\x38\x37\x30\x30\x31\x38\x39\x32\x36\x30\x30" "\x31\x33\x38\x30\x30\x32\x37\x36\x33\x30\x30\x30\x30\x32\x34\x30" "\x30\x34\x31\x34\x34\x34\x30\x30\x30\x33\x34\x30\x30\x34\x33\x38" "\x34\x39\x30\x30\x30\x33\x36\x30\x30\x34\x37\x32\x36\x35\x30\x30" "\x30\x34\x32\x30\x30\x35\x30\x38\x38\x31\x30\x30\x30\x38\x31\x30" "\x30\x35\x35\x30\x1E\x20\x20\x20\x37\x37\x30\x30\x35\x35\x35\x38" "\x20\x1E\x44\x4C\x43\x1E\x31\x39\x37\x37\x30\x37\x31\x33\x30\x30" "\x30\x30\x30\x30\x2E\x30\x1E\x37\x37\x30\x34\x30\x31\x73\x31\x39" "\x37\x37\x20\x20\x20\x20\x64\x63\x75\x20\x20\x20\x20\x20\x20\x20" "\x20\x20\x20\x20\x30\x30\x30\x31\x30\x20\x65\x6E\x67\x20\x20\x1E" "\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C" "\x43\x1E\x30\x30\x1F\x61\x51\x43\x31\x30\x30\x1F\x62\x2E\x55\x35" "\x37\x20\x6E\x6F\x2E\x20\x35\x30\x30\x2D\x39\x1F\x61\x51\x41\x37" "\x36\x2E\x39\x2E\x41\x32\x35\x1E\x30\x30\x1F\x61\x36\x30\x32\x2F" "\x2E\x31\x20\x73\x1F\x61\x30\x30\x31\x2E\x36\x2F\x34\x1E\x30\x20" "\x1F\x61\x43\x31\x33\x2E\x31\x30\x3A\x35\x30\x30\x2D\x39\x1E\x31" "\x30\x1F\x61\x57\x6F\x6F\x64\x2C\x20\x48\x65\x6C\x65\x6E\x20\x4D" "\x2E\x1E\x31\x34\x1F\x61\x54\x68\x65\x20\x75\x73\x65\x20\x6F\x66" "\x20\x70\x61\x73\x73\x77\x6F\x72\x64\x73\x20\x66\x6F\x72\x20\x63" "\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x64\x20\x61\x63\x63\x65\x73\x73" "\x20\x74\x6F\x20\x63\x6F\x6D\x70\x75\x74\x65\x72\x20\x72\x65\x73" "\x6F\x75\x72\x63\x65\x73\x20\x2F\x1F\x63\x48\x65\x6C\x65\x6E\x20" "\x4D\x2E\x20\x57\x6F\x6F\x64\x2E\x1E\x30\x20\x1F\x61\x5B\x57\x61" "\x73\x68\x69\x6E\x67\x74\x6F\x6E\x5D\x20\x3A\x1F\x62\x55\x2E\x53" "\x2E\x20\x44\x65\x70\x74\x2E\x20\x6F\x66\x20\x43\x6F\x6D\x6D\x65" "\x72\x63\x65\x2C\x20\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x42\x75" "\x72\x65\x61\x75\x20\x6F\x66\x20\x53\x74\x61\x6E\x64\x61\x72\x64" "\x73\x20\x3A\x20\x66\x6F\x72\x20\x73\x61\x6C\x65\x20\x62\x79\x20" "\x74\x68\x65\x20\x53\x75\x70\x74\x2E\x20\x6F\x66\x20\x44\x6F\x63" "\x73\x2E\x2C\x20\x55\x2E\x53\x2E\x20\x47\x6F\x76\x74\x2E\x20\x50" "\x72\x69\x6E\x74\x2E\x20\x4F\x66\x66\x2E\x2C\x1F\x63\x31\x39\x37" "\x37\x2E\x1E\x20\x20\x1F\x61\x69\x76\x2C\x20\x35\x33\x20\x70\x2E" "\x20\x3B\x1F\x63\x32\x36\x20\x63\x6D\x2E\x1E\x20\x30\x1F\x61\x43" "\x6F\x6D\x70\x75\x74\x65\x72\x20\x73\x63\x69\x65\x6E\x63\x65\x20" "\x26\x20\x74\x65\x63\x68\x6E\x6F\x6C\x6F\x67\x79\x1E\x31\x20\x1F" "\x61\x4E\x42\x53\x20\x73\x70\x65\x63\x69\x61\x6C\x20\x70\x75\x62" "\x6C\x69\x63\x61\x74\x69\x6F\x6E\x20\x3B\x20\x35\x30\x30\x2D\x39" "\x1E\x20\x30\x1F\x61\x43\x6F\x6D\x70\x75\x74\x65\x72\x73\x1F\x78" "\x41\x63\x63\x65\x73\x73\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x1F\x78" "\x50\x61\x73\x73\x77\x6F\x72\x64\x73\x2E\x1E\x31\x20\x1F\x61\x55" "\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1F\x62\x4E" "\x61\x74\x69\x6F\x6E\x61\x6C\x20\x42\x75\x72\x65\x61\x75\x20\x6F" "\x66\x20\x53\x74\x61\x6E\x64\x61\x72\x64\x73\x2E\x1F\x74\x53\x70" "\x65\x63\x69\x61\x6C\x20\x70\x75\x62\x6C\x69\x63\x61\x74\x69\x6F" "\x6E\x20\x3B\x1F\x76\x35\x30\x30\x2D\x39\x2E\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x37\x37\x30\x30\x35\x35\x35\x38\x20\x1E\x1D" , "\x30\x30\x37\x39\x31\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x31" "\x37\x20\x20\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x38\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x38" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x32\x32\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x39\x30\x31\x30\x30\x30\x32\x32\x30" "\x30\x35\x35\x31\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x38\x30" "\x30\x34\x33\x30\x30\x33\x30\x30\x30\x30\x39\x38\x30\x35\x30\x30" "\x30\x31\x38\x30\x30\x31\x32\x38\x30\x38\x32\x30\x30\x31\x38\x30" "\x30\x31\x34\x36\x31\x30\x30\x30\x30\x32\x31\x30\x30\x31\x36\x34" "\x32\x34\x35\x30\x31\x36\x32\x30\x30\x31\x38\x35\x32\x36\x30\x30" "\x30\x32\x33\x30\x30\x33\x34\x37\x33\x30\x30\x30\x30\x32\x36\x30" "\x30\x33\x37\x30\x35\x30\x30\x30\x30\x32\x39\x30\x30\x33\x39\x36" "\x36\x35\x30\x30\x30\x36\x34\x30\x30\x34\x32\x35\x37\x31\x30\x30" "\x30\x36\x32\x30\x30\x34\x38\x39\x1E\x20\x20\x20\x37\x37\x36\x31" "\x36\x33\x36\x37\x20\x2F\x2F\x72\x38\x34\x1E\x44\x4C\x43\x1E\x31" "\x39\x38\x34\x31\x32\x31\x33\x30\x30\x30\x30\x30\x30\x2E\x30\x1E" "\x37\x32\x30\x33\x32\x39\x73\x31\x39\x37\x31\x20\x20\x20\x20\x64" "\x63\x75\x61\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x30\x30\x30" "\x31\x30\x20\x65\x6E\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43" "\x1F\x63\x44\x4C\x43\x1F\x64\x44\x4C\x43\x1E\x20\x20\x1F\x61\x6E" "\x2D\x75\x73\x2D\x64\x63\x1F\x61\x6E\x2D\x75\x73\x2D\x6D\x64\x1F" "\x61\x6E\x2D\x75\x73\x2D\x76\x61\x1E\x30\x30\x1F\x61\x48\x45\x32" "\x37\x38\x31\x2E\x57\x33\x1F\x62\x45\x35\x1E\x30\x30\x1F\x61\x33" "\x38\x35\x2F\x2E\x32\x32\x2F\x30\x39\x37\x35\x33\x1E\x31\x30\x1F" "\x61\x45\x6E\x67\x6C\x75\x6E\x64\x2C\x20\x43\x61\x72\x6C\x20\x52" "\x2E\x1E\x31\x30\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E" "\x20\x6D\x65\x74\x72\x6F\x70\x6F\x6C\x69\x74\x61\x6E\x20\x61\x72" "\x65\x61\x20\x72\x61\x69\x6C\x20\x63\x6F\x6D\x70\x75\x74\x65\x72" "\x20\x66\x65\x61\x73\x69\x62\x69\x6C\x69\x74\x79\x20\x73\x74\x75" "\x64\x79\x3B\x1F\x62\x66\x69\x6E\x61\x6C\x20\x72\x65\x70\x6F\x72" "\x74\x1F\x63\x5B\x62\x79\x5D\x20\x43\x61\x72\x6C\x20\x52\x2E\x20" "\x45\x6E\x67\x6C\x75\x6E\x64\x2C\x20\x4A\x72\x2E\x20\x50\x72\x65" "\x70\x61\x72\x65\x64\x20\x66\x6F\x72\x20\x55\x72\x62\x61\x6E\x20" "\x4D\x61\x73\x73\x20\x54\x72\x61\x6E\x73\x70\x6F\x72\x74\x61\x74" "\x69\x6F\x6E\x20\x41\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x69" "\x6F\x6E\x2E\x1E\x30\x20\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74" "\x6F\x6E\x2C\x1F\x63\x31\x39\x37\x31\x2E\x1E\x20\x20\x1F\x61\x39" "\x32\x20\x6C\x2E\x1F\x62\x69\x6C\x6C\x75\x73\x2E\x1F\x63\x32\x38" "\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x22\x43\x6F\x6E\x74\x72\x61" "\x63\x74\x20\x44\x4F\x54\x2D\x55\x54\x2D\x31\x30\x30\x30\x33\x2E" "\x22\x1E\x20\x30\x1F\x61\x52\x61\x69\x6C\x72\x6F\x61\x64\x73\x1F" "\x7A\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x4D\x65\x74\x72" "\x6F\x70\x6F\x6C\x69\x74\x61\x6E\x20\x41\x72\x65\x61\x1F\x78\x43" "\x6F\x6D\x6D\x75\x74\x69\x6E\x67\x20\x74\x72\x61\x66\x66\x69\x63" "\x2E\x1E\x31\x30\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61" "\x74\x65\x73\x2E\x1F\x62\x55\x72\x62\x61\x6E\x20\x4D\x61\x73\x73" "\x20\x54\x72\x61\x6E\x73\x70\x6F\x72\x74\x61\x74\x69\x6F\x6E\x20" "\x41\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x69\x6F\x6E\x2E\x1E" "\x20\x20\x1F\x61\x20\x20\x20\x37\x37\x36\x31\x36\x33\x36\x37\x20" "\x2F\x2F\x72\x38\x34\x1E\x1D" , "\x30\x30\x36\x38\x36\x63\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x32" "\x39\x20\x20\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x38\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x38" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x32\x32\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x39\x30\x31\x30\x30\x30\x32\x32\x30" "\x30\x34\x33\x34\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x38\x30" "\x30\x34\x33\x30\x30\x31\x32\x30\x30\x30\x39\x38\x30\x35\x30\x30" "\x30\x32\x34\x30\x30\x31\x31\x30\x30\x38\x32\x30\x30\x31\x39\x30" "\x30\x31\x33\x34\x31\x31\x30\x30\x30\x37\x30\x30\x30\x31\x35\x33" "\x32\x34\x35\x30\x30\x35\x35\x30\x30\x32\x32\x33\x32\x35\x30\x30" "\x30\x30\x39\x30\x30\x32\x37\x38\x32\x36\x30\x30\x30\x32\x31\x30" "\x30\x32\x38\x37\x33\x30\x30\x30\x30\x31\x38\x30\x30\x33\x30\x38" "\x35\x30\x30\x30\x30\x31\x37\x30\x30\x33\x32\x36\x36\x35\x30\x30" "\x30\x34\x38\x30\x30\x33\x34\x33\x36\x35\x30\x30\x30\x34\x33\x30" "\x30\x33\x39\x31\x1E\x20\x20\x20\x37\x37\x36\x33\x37\x30\x37\x35" "\x20\x2F\x2F\x72\x38\x32\x1E\x44\x4C\x43\x1E\x31\x39\x38\x32\x30" "\x38\x31\x37\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x37\x32\x30\x33" "\x32\x30\x73\x31\x39\x37\x31\x20\x20\x20\x20\x77\x61\x75\x20\x20" "\x20\x20\x20\x20\x73\x20\x20\x20\x20\x30\x30\x30\x30\x30\x20\x65" "\x6E\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C" "\x43\x1F\x64\x44\x4C\x43\x1E\x20\x20\x1F\x61\x6E\x2D\x75\x73\x2D" "\x77\x61\x1E\x30\x30\x1F\x61\x4C\x42\x31\x30\x32\x38\x2E\x35\x1F" "\x62\x2E\x57\x33\x37\x20\x31\x39\x37\x31\x1E\x30\x30\x1F\x61\x33" "\x37\x38\x2F\x2E\x30\x35\x32\x2F\x30\x39\x37\x39\x37\x1E\x31\x30" "\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x28\x53\x74" "\x61\x74\x65\x29\x2E\x1F\x62\x53\x74\x61\x74\x65\x20\x42\x6F\x61" "\x72\x64\x20\x66\x6F\x72\x20\x43\x6F\x6D\x6D\x75\x6E\x69\x74\x79" "\x20\x43\x6F\x6C\x6C\x65\x67\x65\x20\x45\x64\x75\x63\x61\x74\x69" "\x6F\x6E\x2E\x1E\x31\x32\x1F\x61\x41\x20\x70\x6C\x61\x6E\x20\x66" "\x6F\x72\x20\x63\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x20\x63\x6F\x6C" "\x6C\x65\x67\x65\x20\x63\x6F\x6D\x70\x75\x74\x65\x72\x20\x64\x65" "\x76\x65\x6C\x6F\x70\x6D\x65\x6E\x74\x2E\x1E\x20\x20\x1F\x61\x52" "\x65\x76\x2E\x1E\x31\x20\x1F\x61\x5B\x4F\x6C\x79\x6D\x70\x69\x61" "\x5D\x1F\x63\x31\x39\x37\x31\x2E\x1E\x20\x20\x1F\x61\x34\x37\x20" "\x6C\x2E\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x43" "\x6F\x76\x65\x72\x20\x74\x69\x74\x6C\x65\x2E\x1E\x20\x30\x1F\x61" "\x55\x6E\x69\x76\x65\x72\x73\x69\x74\x69\x65\x73\x20\x61\x6E\x64" "\x20\x63\x6F\x6C\x6C\x65\x67\x65\x73\x1F\x78\x44\x61\x74\x61\x20" "\x70\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x2E\x1E\x20\x30\x1F\x61" "\x43\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x20\x63\x6F\x6C\x6C\x65\x67" "\x65\x73\x1F\x7A\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20\x28" "\x53\x74\x61\x74\x65\x29\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x37" "\x36\x33\x37\x30\x37\x35\x20\x2F\x2F\x72\x38\x32\x1E\x1D" , "\x30\x30\x36\x36\x38\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x31" "\x37\x31\x20\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x34\x33\x33\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x37\x35" "\x30\x35\x30\x30\x30\x31\x38\x30\x30\x30\x39\x33\x30\x38\x32\x30" "\x30\x31\x36\x30\x30\x31\x31\x31\x31\x30\x30\x30\x30\x31\x39\x30" "\x30\x31\x32\x37\x32\x34\x35\x30\x30\x37\x36\x30\x30\x31\x34\x36" "\x32\x36\x30\x30\x30\x34\x30\x30\x30\x32\x32\x32\x33\x30\x30\x30" "\x30\x34\x30\x30\x30\x32\x36\x32\x33\x35\x30\x30\x30\x30\x39\x30" "\x30\x33\x30\x32\x34\x39\x30\x30\x30\x33\x32\x30\x30\x33\x31\x31" "\x35\x30\x34\x30\x30\x33\x30\x30\x30\x33\x34\x33\x36\x33\x30\x30" "\x30\x36\x30\x30\x30\x33\x37\x33\x1E\x20\x20\x20\x37\x30\x30\x30" "\x31\x30\x37\x30\x20\x1E\x44\x4C\x43\x1E\x31\x39\x37\x30\x30\x34" "\x32\x37\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x37\x30\x30\x33\x30" "\x32\x73\x31\x39\x36\x38\x20\x20\x20\x20\x6D\x6F\x75\x61\x62\x20" "\x20\x20\x20\x62\x20\x20\x20\x20\x30\x30\x30\x30\x30\x20\x65\x6E" "\x67\x20\x20\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43" "\x1F\x64\x44\x4C\x43\x1E\x30\x30\x1F\x61\x42\x53\x31\x32\x37\x35" "\x2E\x35\x1F\x62\x2E\x4F\x32\x1E\x30\x30\x1F\x61\x32\x32\x32\x2F" "\x2E\x31\x35\x2F\x30\x30\x37\x1E\x31\x30\x1F\x61\x4F\x62\x65\x72" "\x73\x74\x2C\x20\x42\x72\x75\x63\x65\x2E\x1E\x30\x30\x1F\x61\x44" "\x65\x75\x74\x65\x72\x6F\x6E\x6F\x6D\x79\x2E\x1F\x63\x54\x68\x6F" "\x75\x67\x68\x74\x20\x71\x75\x65\x73\x74\x69\x6F\x6E\x73\x2C\x20" "\x62\x79\x20\x44\x6F\x6E\x20\x44\x65\x57\x65\x6C\x74\x2E\x20\x53" "\x75\x6D\x6D\x61\x72\x79\x20\x62\x79\x20\x41\x64\x61\x6D\x20\x43" "\x6C\x61\x72\x6B\x65\x2E\x1E\x30\x20\x1F\x61\x4A\x6F\x70\x6C\x69" "\x6E\x2C\x20\x4D\x6F\x2E\x2C\x1F\x62\x43\x6F\x6C\x6C\x65\x67\x65" "\x20\x50\x72\x65\x73\x73\x1F\x63\x5B\x31\x39\x36\x38\x5D\x1E\x20" "\x20\x1F\x61\x76\x69\x69\x69\x2C\x20\x34\x35\x32\x20\x70\x2E\x1F" "\x62\x69\x6C\x6C\x75\x73\x2E\x2C\x20\x6D\x61\x70\x73\x2E\x1F\x63" "\x32\x32\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x35\x2E\x39\x35\x1E" "\x30\x20\x1F\x61\x42\x69\x62\x6C\x65\x20\x73\x74\x75\x64\x79\x20" "\x74\x65\x78\x74\x62\x6F\x6F\x6B\x20\x73\x65\x72\x69\x65\x73\x1E" "\x20\x20\x1F\x61\x42\x69\x62\x6C\x69\x6F\x67\x72\x61\x70\x68\x79" "\x3A\x20\x70\x2E\x20\x34\x34\x39\x2D\x34\x35\x32\x2E\x1E\x20\x30" "\x1F\x61\x42\x69\x62\x6C\x65\x2E\x20\x4F\x2E\x54\x2E\x20\x44\x65" "\x75\x74\x65\x72\x6F\x6E\x6F\x6D\x79\x1F\x78\x53\x74\x75\x64\x79" "\x1F\x78\x4F\x75\x74\x6C\x69\x6E\x65\x73\x2C\x20\x73\x79\x6C\x6C" "\x61\x62\x69\x2C\x20\x65\x74\x63\x2E\x1E\x20\x20\x1F\x61\x20\x20" "\x20\x37\x30\x30\x30\x31\x30\x37\x30\x20\x1E\x1D" , "\x30\x30\x38\x38\x38\x70\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x36" "\x35\x20\x20\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x36\x30\x35\x30\x32\x30\x30\x30\x31\x35\x30\x30\x30\x37\x35" "\x30\x34\x30\x30\x30\x31\x38\x30\x30\x30\x39\x30\x30\x34\x33\x30" "\x30\x31\x32\x30\x30\x31\x30\x38\x30\x35\x30\x30\x30\x32\x30\x30" "\x30\x31\x32\x30\x30\x38\x32\x30\x30\x31\x32\x30\x30\x31\x34\x30" "\x31\x30\x30\x30\x30\x32\x39\x30\x30\x31\x35\x32\x32\x34\x35\x30" "\x30\x39\x33\x30\x30\x31\x38\x31\x32\x36\x30\x30\x30\x35\x35\x30" "\x30\x32\x37\x34\x33\x30\x30\x30\x30\x32\x38\x30\x30\x33\x32\x39" "\x35\x30\x30\x30\x30\x38\x31\x30\x30\x33\x35\x37\x35\x30\x34\x30" "\x30\x34\x31\x30\x30\x34\x33\x38\x36\x35\x30\x30\x30\x34\x35\x30" "\x30\x34\x37\x39\x36\x35\x30\x30\x30\x32\x35\x30\x30\x35\x32\x34" "\x36\x35\x31\x30\x30\x32\x32\x30\x30\x35\x34\x39\x38\x33\x30\x30" "\x30\x33\x34\x30\x30\x35\x37\x31\x1E\x20\x20\x20\x37\x32\x30\x30" "\x32\x35\x36\x35\x20\x1E\x44\x4C\x43\x1E\x31\x39\x37\x33\x30\x34" "\x30\x39\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x37\x32\x30\x34\x31" "\x38\x72\x31\x39\x37\x32\x31\x39\x30\x39\x6E\x79\x75\x20\x20\x20" "\x20\x20\x20\x62\x20\x20\x20\x20\x30\x30\x30\x30\x30\x20\x65\x6E" "\x67\x20\x20\x1E\x20\x20\x1F\x61\x30\x38\x33\x36\x39\x36\x38\x34" "\x33\x33\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F" "\x64\x44\x4C\x43\x1E\x20\x20\x1F\x61\x65\x2D\x67\x72\x2D\x2D\x2D" "\x1E\x30\x30\x1F\x61\x42\x4C\x37\x38\x35\x1F\x62\x2E\x41\x33\x20" "\x31\x39\x37\x32\x1E\x30\x30\x1F\x61\x32\x39\x32\x2F\x2E\x30\x38" "\x1E\x31\x30\x1F\x61\x41\x64\x61\x6D\x2C\x20\x4A\x61\x6D\x65\x73" "\x2C\x1F\x64\x31\x38\x36\x30\x2D\x31\x39\x30\x37\x2E\x1E\x31\x34" "\x1F\x61\x54\x68\x65\x20\x72\x65\x6C\x69\x67\x69\x6F\x75\x73\x20" "\x74\x65\x61\x63\x68\x65\x72\x73\x20\x6F\x66\x20\x47\x72\x65\x65" "\x63\x65\x2E\x1F\x63\x45\x64\x69\x74\x65\x64\x20\x77\x69\x74\x68" "\x20\x61\x20\x6D\x65\x6D\x6F\x69\x72\x2C\x20\x62\x79\x20\x68\x69" "\x73\x20\x77\x69\x66\x65\x2C\x20\x41\x64\x65\x6C\x61\x20\x4D\x61" "\x72\x69\x6F\x6E\x20\x41\x64\x61\x6D\x2E\x1E\x30\x20\x1F\x61\x46" "\x72\x65\x65\x70\x6F\x72\x74\x2C\x20\x4E\x2E\x59\x2E\x2C\x1F\x62" "\x42\x6F\x6F\x6B\x73\x20\x66\x6F\x72\x20\x4C\x69\x62\x72\x61\x72" "\x69\x65\x73\x20\x50\x72\x65\x73\x73\x1F\x63\x5B\x31\x39\x37\x32" "\x5D\x1E\x20\x20\x1F\x61\x78\x69\x78\x2C\x20\x6C\x76\x2C\x20\x34" "\x36\x37\x20\x70\x2E\x1F\x63\x32\x32\x20\x63\x6D\x2E\x1E\x20\x20" "\x1F\x61\x52\x65\x70\x72\x69\x6E\x74\x20\x6F\x66\x20\x74\x68\x65" "\x20\x31\x39\x30\x39\x20\x65\x64\x2E\x2C\x20\x77\x68\x69\x63\x68" "\x20\x77\x61\x73\x20\x69\x73\x73\x75\x65\x64\x20\x61\x73\x20\x74" "\x68\x65\x20\x31\x39\x30\x34\x2D\x31\x39\x30\x36\x20\x47\x69\x66" "\x66\x6F\x72\x64\x20\x6C\x65\x63\x74\x75\x72\x65\x73\x2E\x1E\x20" "\x20\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73\x20\x62\x69\x62\x6C" "\x69\x6F\x67\x72\x61\x70\x68\x69\x63\x61\x6C\x20\x72\x65\x66\x65" "\x72\x65\x6E\x63\x65\x73\x2E\x1E\x20\x30\x1F\x61\x47\x72\x65\x65" "\x6B\x20\x6C\x69\x74\x65\x72\x61\x74\x75\x72\x65\x1F\x78\x48\x69" "\x73\x74\x6F\x72\x79\x20\x61\x6E\x64\x20\x63\x72\x69\x74\x69\x63" "\x69\x73\x6D\x2E\x1E\x20\x30\x1F\x61\x50\x68\x69\x6C\x6F\x73\x6F" "\x70\x68\x79\x2C\x20\x41\x6E\x63\x69\x65\x6E\x74\x2E\x1E\x20\x30" "\x1F\x61\x47\x72\x65\x65\x63\x65\x1F\x78\x52\x65\x6C\x69\x67\x69" "\x6F\x6E\x2E\x1E\x20\x30\x1F\x61\x47\x69\x66\x66\x6F\x72\x64\x20" "\x6C\x65\x63\x74\x75\x72\x65\x73\x2C\x1F\x76\x31\x39\x30\x34\x2D" "\x31\x39\x30\x36\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x37\x32\x30" "\x30\x32\x35\x36\x35\x20\x1E\x1D" , "\x30\x31\x31\x32\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x36" "\x35\x20\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x31\x33\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x31\x33" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x37\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x34\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x38\x34\x33\x30\x32\x30\x30\x30\x33\x31\x30\x30\x30\x37\x35" "\x30\x34\x30\x30\x30\x31\x38\x30\x30\x31\x30\x36\x30\x35\x30\x30" "\x30\x32\x31\x30\x30\x31\x32\x34\x30\x38\x32\x30\x30\x31\x38\x30" "\x30\x31\x34\x35\x31\x30\x30\x30\x30\x34\x32\x30\x30\x31\x36\x33" "\x32\x34\x35\x30\x31\x35\x38\x30\x30\x32\x30\x35\x32\x35\x30\x30" "\x30\x33\x37\x30\x30\x33\x36\x33\x32\x36\x30\x30\x30\x34\x35\x30" "\x30\x34\x30\x30\x33\x30\x30\x30\x30\x35\x30\x30\x30\x34\x34\x35" "\x34\x34\x30\x30\x30\x33\x35\x30\x30\x34\x39\x35\x36\x33\x30\x30" "\x30\x36\x34\x30\x30\x35\x33\x30\x36\x33\x30\x30\x30\x36\x34\x30" "\x30\x35\x39\x34\x36\x33\x30\x30\x30\x36\x32\x30\x30\x36\x35\x38" "\x36\x33\x30\x30\x30\x36\x33\x30\x30\x37\x32\x30\x37\x33\x30\x30" "\x30\x36\x30\x30\x30\x37\x38\x33\x1E\x20\x20\x20\x38\x30\x30\x38" "\x32\x33\x32\x39\x20\x1E\x44\x4C\x43\x1E\x31\x39\x38\x31\x30\x35" "\x32\x38\x30\x30\x30\x30\x30\x30\x2E\x30\x1E\x38\x31\x30\x35\x32" "\x36\x73\x31\x39\x38\x30\x20\x20\x20\x20\x63\x74\x75\x61\x66\x20" "\x20\x20\x20\x20\x20\x20\x20\x20\x30\x30\x30\x31\x30\x20\x65\x6E" "\x67\x20\x20\x1E\x20\x20\x1F\x61\x30\x38\x37\x39\x38\x33\x32\x33" "\x35\x35\x20\x28\x70\x62\x6B\x2E\x29\x20\x3A\x1F\x63\x24\x34\x2E" "\x39\x35\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1F" "\x64\x44\x4C\x43\x1E\x30\x30\x1F\x61\x42\x53\x31\x34\x33\x33\x1F" "\x62\x2E\x53\x35\x20\x31\x39\x38\x30\x1E\x30\x30\x1F\x61\x32\x32" "\x33\x2F\x2E\x32\x30\x37\x37\x1F\x32\x31\x39\x1E\x31\x30\x1F\x61" "\x53\x6D\x69\x74\x68\x2C\x20\x47\x65\x6F\x72\x67\x65\x20\x41\x64" "\x61\x6D\x2C\x1F\x63\x53\x69\x72\x2C\x1F\x64\x31\x38\x35\x36\x2D" "\x31\x39\x34\x32\x2E\x1E\x31\x30\x1F\x61\x46\x6F\x75\x72\x20\x70" "\x73\x61\x6C\x6D\x73\x20\x3A\x1F\x62\x58\x58\x49\x49\x49\x2C\x20" "\x58\x58\x58\x56\x49\x2C\x20\x4C\x49\x49\x2C\x20\x43\x58\x58\x49" "\x20\x2F\x1F\x63\x69\x6E\x74\x65\x72\x70\x72\x65\x74\x65\x64\x20" "\x66\x6F\x72\x20\x70\x72\x61\x63\x74\x69\x63\x61\x6C\x20\x75\x73" "\x65\x20\x62\x79\x20\x47\x65\x6F\x72\x67\x65\x20\x41\x64\x61\x6D" "\x20\x53\x6D\x69\x74\x68\x20\x3B\x20\x69\x6E\x74\x72\x6F\x64\x75" "\x63\x74\x69\x6F\x6E\x20\x62\x79\x20\x46\x2E\x46\x2E\x20\x42\x72" "\x75\x63\x65\x20\x3B\x20\x69\x6C\x6C\x75\x73\x74\x72\x61\x74\x69" "\x6F\x6E\x73\x20\x62\x79\x20\x52\x6F\x6E\x20\x4D\x63\x43\x61\x72" "\x74\x79\x2E\x1E\x20\x20\x1F\x61\x53\x68\x65\x70\x68\x65\x72\x64" "\x20\x69\x6C\x6C\x75\x73\x74\x72\x61\x74\x65\x64\x20\x63\x6C\x61" "\x73\x73\x69\x63\x20\x65\x64\x2E\x1E\x30\x20\x1F\x61\x4E\x65\x77" "\x20\x43\x61\x6E\x61\x61\x6E\x2C\x20\x43\x6F\x6E\x6E\x2E\x20\x3A" "\x1F\x62\x4B\x65\x61\x74\x73\x20\x50\x75\x62\x2E\x2C\x1F\x63\x63" "\x31\x39\x38\x30\x2E\x1E\x20\x20\x1F\x61\x38\x31\x20\x70\x2E\x2C" "\x20\x5B\x35\x5D\x20\x6C\x65\x61\x76\x65\x73\x20\x6F\x66\x20\x70" "\x6C\x61\x74\x65\x73\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20\x3B\x1F" "\x63\x32\x31\x20\x63\x6D\x2E\x1E\x20\x32\x1F\x61\x41\x20\x53\x68" "\x65\x70\x68\x65\x72\x64\x20\x69\x6C\x6C\x75\x73\x74\x72\x61\x74" "\x65\x64\x20\x63\x6C\x61\x73\x73\x69\x63\x1E\x30\x30\x1F\x61\x42" "\x69\x62\x6C\x65\x2E\x1F\x70\x4F\x2E\x54\x2E\x1F\x70\x50\x73\x61" "\x6C\x6D\x73\x20\x58\x58\x49\x49\x49\x1F\x78\x43\x72\x69\x74\x69" "\x63\x69\x73\x6D\x2C\x20\x69\x6E\x74\x65\x72\x70\x72\x65\x74\x61" "\x74\x69\x6F\x6E\x2C\x20\x65\x74\x63\x2E\x1E\x30\x30\x1F\x61\x42" "\x69\x62\x6C\x65\x2E\x1F\x70\x4F\x2E\x54\x2E\x1F\x70\x50\x73\x61" "\x6C\x6D\x73\x20\x58\x58\x58\x56\x49\x1F\x78\x43\x72\x69\x74\x69" "\x63\x69\x73\x6D\x2C\x20\x69\x6E\x74\x65\x72\x70\x72\x65\x74\x61" "\x74\x69\x6F\x6E\x2C\x20\x65\x74\x63\x2E\x1E\x30\x30\x1F\x61\x42" "\x69\x62\x6C\x65\x2E\x1F\x70\x4F\x2E\x54\x2E\x1F\x70\x50\x73\x61" "\x6C\x6D\x73\x20\x4C\x49\x49\x1F\x78\x43\x72\x69\x74\x69\x63\x69" "\x73\x6D\x2C\x20\x69\x6E\x74\x65\x72\x70\x72\x65\x74\x61\x74\x69" "\x6F\x6E\x2C\x20\x65\x74\x63\x2E\x1E\x30\x30\x1F\x61\x42\x69\x62" "\x6C\x65\x2E\x1F\x70\x4F\x2E\x54\x2E\x1F\x70\x50\x73\x61\x6C\x6D" "\x73\x20\x43\x58\x58\x49\x1F\x78\x43\x72\x69\x74\x69\x63\x69\x73" "\x6D\x2C\x20\x69\x6E\x74\x65\x72\x70\x72\x65\x74\x61\x74\x69\x6F" "\x6E\x2C\x20\x65\x74\x63\x2E\x1E\x30\x31\x1F\x61\x42\x69\x62\x6C" "\x65\x2E\x1F\x70\x4F\x2E\x54\x2E\x1F\x70\x50\x73\x61\x6C\x6D\x73" "\x20\x58\x58\x49\x49\x49\x2C\x20\x58\x58\x58\x56\x49\x2C\x20\x4C" "\x49\x49\x2C\x20\x43\x58\x58\x49\x2E\x1F\x6C\x45\x6E\x67\x6C\x69" "\x73\x68\x2E\x1E\x20\x20\x1F\x61\x20\x20\x20\x38\x30\x30\x38\x32" "\x33\x32\x39\x20\x1E\x1D" , "\x30\x31\x34\x33\x33\x6E\x61\x73\x20\x20\x32\x32\x30\x30\x34\x32" "\x31\x20\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x33\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x30\x30\x31\x30\x30\x30\x33\x31\x30" "\x30\x30\x37\x31\x30\x32\x32\x30\x30\x31\x34\x30\x30\x31\x30\x32" "\x30\x33\x30\x30\x30\x31\x31\x30\x30\x31\x31\x36\x30\x33\x32\x30" "\x30\x31\x37\x30\x30\x31\x32\x37\x30\x33\x35\x30\x30\x32\x30\x30" "\x30\x31\x34\x34\x30\x33\x35\x30\x30\x32\x37\x30\x30\x31\x36\x34" "\x30\x34\x30\x30\x30\x39\x36\x30\x30\x31\x39\x31\x30\x34\x32\x30" "\x30\x31\x33\x30\x30\x32\x38\x37\x30\x35\x30\x30\x30\x32\x30\x30" "\x30\x33\x30\x30\x30\x37\x30\x30\x30\x31\x38\x30\x30\x33\x32\x30" "\x30\x37\x32\x30\x30\x30\x39\x30\x30\x33\x33\x38\x30\x38\x32\x30" "\x30\x31\x34\x30\x30\x33\x34\x37\x32\x31\x30\x30\x30\x31\x39\x30" "\x30\x33\x36\x31\x32\x32\x32\x30\x30\x31\x39\x30\x30\x33\x38\x30" "\x32\x34\x35\x30\x30\x32\x30\x30\x30\x33\x39\x39\x32\x36\x30\x30" "\x30\x34\x33\x30\x30\x34\x31\x39\x32\x36\x35\x30\x30\x35\x38\x30" "\x30\x34\x36\x32\x33\x30\x30\x30\x30\x31\x37\x30\x30\x35\x32\x30" "\x33\x31\x30\x30\x30\x36\x32\x30\x30\x35\x33\x37\x33\x35\x30\x30" "\x30\x31\x31\x30\x30\x35\x39\x39\x33\x36\x32\x30\x30\x33\x32\x30" "\x30\x36\x31\x30\x35\x30\x30\x30\x30\x32\x34\x30\x30\x36\x34\x32" "\x36\x35\x30\x30\x30\x34\x36\x30\x30\x36\x36\x36\x36\x35\x30\x30" "\x30\x33\x36\x30\x30\x37\x31\x32\x36\x35\x30\x30\x30\x33\x39\x30" "\x30\x37\x34\x38\x36\x35\x30\x30\x30\x33\x35\x30\x30\x37\x38\x37" "\x36\x35\x30\x30\x30\x33\x33\x30\x30\x38\x32\x32\x37\x38\x30\x30" "\x30\x38\x32\x30\x30\x38\x35\x35\x38\x35\x30\x30\x30\x37\x34\x30" "\x30\x39\x33\x37\x1E\x41\x43\x44\x2D\x33\x38\x33\x37\x1E\x44\x4C" "\x43\x1E\x31\x39\x39\x34\x30\x36\x31\x34\x30\x36\x35\x36\x31\x34" "\x2E\x30\x1E\x39\x32\x30\x37\x32\x38\x63\x31\x39\x39\x32\x39\x39" "\x39\x39\x63\x74\x75\x6D\x6E\x31\x70\x20\x20\x20\x20\x20\x20\x20" "\x30\x20\x20\x20\x61\x30\x65\x6E\x67\x20\x64\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x39\x32\x36\x34\x36\x30\x36\x32\x20\x1F\x7A\x73\x6E" "\x20\x39\x32\x30\x30\x34\x34\x33\x30\x20\x1E\x30\x20\x1F\x61\x31" "\x30\x36\x34\x2D\x33\x39\x32\x33\x1E\x20\x20\x1F\x61\x49\x45\x52" "\x4E\x45\x38\x1E\x20\x20\x1F\x61\x30\x30\x38\x31\x38\x37\x1F\x62" "\x55\x53\x50\x53\x1E\x20\x20\x1F\x61\x28\x4F\x43\x6F\x4C\x43\x29" "\x32\x36\x32\x37\x33\x32\x37\x35\x1E\x30\x30\x1F\x69\x6C\x63\x6D" "\x61\x72\x63\x2F\x41\x51\x50\x2D\x36\x32\x38\x35\x2F\x4A\x45\x41" "\x4E\x4E\x45\x1E\x20\x20\x1F\x61\x4E\x53\x44\x50\x1F\x63\x4E\x53" "\x44\x50\x1F\x64\x57\x61\x55\x1F\x64\x4E\x49\x43\x1F\x64\x44\x4E" "\x41\x4C\x1F\x64\x4F\x55\x43\x41\x1F\x64\x4E\x53\x54\x1F\x64\x44" "\x4C\x43\x1F\x64\x4E\x53\x54\x1F\x64\x4E\x53\x44\x50\x1F\x64\x4E" "\x53\x54\x1F\x64\x44\x4C\x43\x1F\x64\x49\x6E\x55\x1F\x64\x4D\x48" "\x1F\x64\x4E\x53\x44\x50\x1F\x64\x4E\x1F\x64\x44\x4C\x43\x1F\x64" "\x4D\x69\x55\x1E\x20\x20\x1F\x61\x6E\x73\x64\x70\x1F\x61\x6C\x63" "\x1E\x30\x30\x1F\x61\x54\x4B\x35\x31\x30\x35\x2E\x35\x1F\x62\x2E" "\x52\x34\x34\x38\x1E\x30\x20\x1F\x61\x54\x4B\x35\x31\x30\x35\x2E" "\x35\x2E\x52\x34\x34\x38\x1E\x20\x30\x1F\x61\x58\x32\x30\x30\x1E" "\x30\x30\x1F\x61\x33\x38\x34\x2E\x33\x1F\x32\x32\x30\x1E\x30\x20" "\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74\x20\x77\x6F\x72\x6C\x64" "\x1E\x20\x30\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74\x20\x77\x6F" "\x72\x6C\x64\x1E\x30\x30\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74" "\x20\x77\x6F\x72\x6C\x64\x2E\x1E\x20\x20\x1F\x61\x57\x65\x73\x74" "\x70\x6F\x72\x74\x2C\x20\x43\x54\x20\x3A\x1F\x62\x4D\x65\x63\x6B" "\x6C\x65\x72\x20\x43\x6F\x72\x70\x2E\x2C\x1F\x63\x63\x31\x39\x39" "\x32\x2D\x1E\x20\x20\x1F\x61\x4D\x65\x63\x6B\x6C\x65\x72\x20\x43" "\x6F\x72\x70\x2E\x2C\x20\x31\x31\x20\x46\x65\x72\x72\x79\x20\x4C" "\x61\x6E\x65\x20\x57\x65\x73\x74\x2C\x20\x57\x65\x73\x74\x70\x6F" "\x72\x74\x2C\x20\x43\x54\x20\x30\x36\x38\x38\x30\x1E\x20\x20\x1F" "\x61\x76\x2E\x20\x3B\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20\x20" "\x1F\x61\x4D\x6F\x6E\x74\x68\x6C\x79\x20\x28\x65\x78\x63\x65\x70" "\x74\x20\x4A\x61\x6E\x2E\x2F\x46\x65\x62\x2E\x2C\x20\x4A\x75\x6C" "\x79\x2F\x41\x75\x67\x2E\x2C\x20\x4E\x6F\x76\x2E\x2F\x44\x65\x63" "\x2E\x20\x63\x6F\x6D\x62\x69\x6E\x65\x64\x29\x1E\x20\x20\x1F\x61" "\x24\x39\x37\x2E\x30\x30\x1E\x30\x20\x1F\x61\x56\x6F\x6C\x2E\x20" "\x33\x2C\x20\x6E\x6F\x2E\x20\x37\x20\x28\x53\x65\x70\x74\x2E\x20" "\x31\x39\x39\x32\x29\x2D\x1E\x20\x20\x1F\x61\x54\x69\x74\x6C\x65" "\x20\x66\x72\x6F\x6D\x20\x63\x61\x70\x74\x69\x6F\x6E\x2E\x1E\x20" "\x30\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74\x20\x28\x43\x6F\x6D" "\x70\x75\x74\x65\x72\x20\x6E\x65\x74\x77\x6F\x72\x6B\x29\x1F\x78" "\x50\x65\x72\x69\x6F\x64\x69\x63\x61\x6C\x73\x2E\x1E\x20\x30\x1F" "\x61\x43\x6F\x6D\x70\x75\x74\x65\x72\x20\x6E\x65\x74\x77\x6F\x72" "\x6B\x73\x1F\x78\x50\x65\x72\x69\x6F\x64\x69\x63\x61\x6C\x73\x2E" "\x1E\x20\x30\x1F\x61\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69\x6F\x6E" "\x20\x6E\x65\x74\x77\x6F\x72\x6B\x73\x1F\x78\x50\x65\x72\x69\x6F" "\x64\x69\x63\x61\x6C\x73\x2E\x1E\x20\x32\x1F\x61\x43\x6F\x6D\x70" "\x75\x74\x65\x72\x20\x53\x79\x73\x74\x65\x6D\x73\x1F\x78\x70\x65" "\x72\x69\x6F\x64\x69\x63\x61\x6C\x73\x2E\x1E\x20\x32\x1F\x61\x4F" "\x6E\x6C\x69\x6E\x65\x20\x53\x79\x73\x74\x65\x6D\x73\x1F\x78\x70" "\x65\x72\x69\x6F\x64\x69\x63\x61\x6C\x73\x2E\x1E\x30\x30\x1F\x74" "\x52\x65\x73\x65\x61\x72\x63\x68\x20\x26\x20\x65\x64\x75\x63\x61" "\x74\x69\x6F\x6E\x20\x6E\x65\x74\x77\x6F\x72\x6B\x69\x6E\x67\x1F" "\x78\x31\x30\x35\x31\x2D\x34\x37\x39\x31\x1F\x77\x28\x44\x4C\x43" "\x29\x20\x20\x20\x39\x30\x36\x34\x36\x36\x31\x33\x1F\x77\x28\x4F" "\x43\x6F\x4C\x43\x29\x32\x31\x39\x37\x34\x34\x34\x38\x1E\x20\x20" "\x1F\x61\x44\x4C\x43\x1F\x61\x44\x4E\x41\x4C\x1F\x61\x44\x4E\x47" "\x41\x1F\x61\x49\x6E\x55\x1F\x61\x4D\x42\x43\x6F\x1F\x61\x4D\x48" "\x2D\x45\x64\x1F\x61\x4D\x64\x42\x4A\x1F\x61\x4D\x69\x55\x1F\x61" "\x4D\x6F\x4B\x4C\x1F\x61\x4E\x1F\x61\x4E\x49\x43\x1F\x61\x54\x78" "\x48\x52\x1F\x61\x57\x61\x55\x1E\x1D" , "\x30\x31\x33\x33\x30\x6E\x61\x73\x20\x20\x32\x32\x30\x30\x33\x37" "\x33\x35\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x33\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x30\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x30\x37\x31\x30\x32\x32\x30\x30\x32\x35\x30\x30\x30\x38\x38" "\x30\x33\x35\x30\x30\x32\x30\x30\x30\x31\x31\x33\x30\x33\x35\x30" "\x30\x32\x37\x30\x30\x31\x33\x33\x30\x34\x30\x30\x30\x32\x39\x30" "\x30\x31\x36\x30\x30\x34\x32\x30\x30\x31\x36\x30\x30\x31\x38\x39" "\x30\x34\x33\x30\x30\x31\x32\x30\x30\x32\x30\x35\x30\x35\x35\x30" "\x30\x31\x32\x30\x30\x32\x31\x37\x30\x38\x32\x30\x30\x31\x32\x30" "\x30\x32\x32\x39\x31\x33\x30\x30\x30\x33\x35\x30\x30\x32\x34\x31" "\x32\x31\x30\x30\x30\x32\x37\x30\x30\x32\x37\x36\x32\x32\x32\x30" "\x30\x32\x39\x30\x30\x33\x30\x33\x32\x34\x35\x30\x30\x31\x37\x30" "\x30\x33\x33\x32\x32\x36\x30\x30\x30\x35\x34\x30\x30\x33\x34\x39" "\x32\x36\x35\x30\x30\x36\x39\x30\x30\x34\x30\x33\x33\x30\x30\x30" "\x30\x32\x35\x30\x30\x34\x37\x32\x33\x31\x30\x30\x30\x31\x32\x30" "\x30\x34\x39\x37\x33\x35\x30\x30\x30\x32\x31\x30\x30\x35\x30\x39" "\x33\x36\x32\x30\x30\x33\x33\x30\x30\x35\x33\x30\x35\x30\x30\x30" "\x30\x32\x34\x30\x30\x35\x36\x33\x35\x38\x30\x30\x30\x35\x38\x30" "\x30\x35\x38\x37\x37\x38\x30\x30\x30\x38\x33\x30\x30\x36\x34\x35" "\x37\x38\x30\x30\x30\x35\x31\x30\x30\x37\x32\x38\x37\x38\x35\x30" "\x30\x38\x33\x30\x30\x37\x37\x39\x37\x38\x37\x30\x30\x39\x34\x30" "\x30\x38\x36\x32\x1E\x41\x43\x44\x2D\x33\x37\x39\x39\x1E\x44\x4C" "\x43\x1E\x31\x39\x39\x34\x30\x36\x31\x34\x30\x39\x30\x35\x31\x34" "\x2E\x30\x1E\x39\x32\x30\x37\x32\x33\x63\x31\x39\x39\x31\x39\x39" "\x39\x39\x6F\x6E\x63\x6D\x72\x34\x70\x20\x20\x20\x20\x20\x20\x20" "\x30\x20\x20\x20\x61\x30\x65\x6E\x67\x20\x64\x1E\x20\x20\x1F\x61" "\x63\x6E\x20\x39\x32\x30\x33\x31\x36\x34\x31\x20\x1E\x30\x20\x1F" "\x61\x31\x31\x38\x37\x2D\x37\x30\x38\x31\x1F\x79\x30\x30\x32\x35" "\x2D\x39\x35\x33\x35\x1E\x20\x20\x1F\x61\x28\x4F\x43\x6F\x4C\x43" "\x29\x32\x36\x32\x34\x34\x38\x34\x34\x1E\x30\x30\x1F\x69\x6C\x63" "\x6D\x61\x72\x63\x2F\x41\x51\x46\x2D\x32\x38\x39\x36\x2F\x4A\x45" "\x41\x4E\x4E\x45\x1E\x20\x20\x1F\x61\x43\x61\x4F\x4F\x43\x4D\x1F" "\x62\x65\x6E\x67\x1F\x63\x43\x61\x4F\x4F\x4E\x4C\x1F\x64\x49\x6E" "\x55\x1E\x20\x20\x1F\x61\x6E\x6C\x63\x1F\x61\x69\x73\x64\x73\x2F" "\x63\x1E\x20\x20\x1F\x61\x6E\x2D\x63\x6E\x2D\x2D\x2D\x1E\x20\x32" "\x1F\x61\x48\x44\x39\x36\x39\x36\x2A\x1E\x31\x20\x1F\x61\x30\x30" "\x34\x1F\x32\x31\x32\x1E\x30\x20\x1F\x61\x49\x6E\x66\x6F\x20\x43" "\x61\x6E\x61\x64\x61\x20\x28\x44\x6F\x77\x6E\x73\x76\x69\x65\x77" "\x2C\x20\x4F\x6E\x74\x2E\x29\x2E\x1E\x30\x20\x1F\x61\x49\x6E\x66" "\x6F\x20\x43\x61\x6E\x2E\x1F\x62\x28\x44\x6F\x77\x6E\x73\x76\x69" "\x65\x77\x29\x1E\x20\x30\x1F\x61\x49\x6E\x66\x6F\x20\x43\x61\x6E" "\x61\x64\x61\x1F\x62\x28\x44\x6F\x77\x6E\x73\x76\x69\x65\x77\x29" "\x1E\x30\x30\x1F\x61\x49\x6E\x66\x6F\x20\x43\x61\x6E\x61\x64\x61" "\x2E\x1E\x20\x20\x1F\x61\x44\x6F\x77\x6E\x73\x76\x69\x65\x77\x2C" "\x20\x4F\x6E\x74\x2E\x20\x3A\x1F\x62\x4C\x61\x75\x72\x65\x6E\x74" "\x69\x61\x6E\x20\x54\x65\x63\x68\x6E\x6F\x6D\x65\x64\x69\x61\x2C" "\x1F\x63\x31\x39\x39\x31\x2D\x1E\x20\x20\x1F\x61\x4C\x61\x75\x72" "\x65\x6E\x74\x69\x61\x6E\x20\x54\x65\x63\x68\x6E\x6F\x6D\x65\x64" "\x69\x61\x2C\x20\x35\x30\x31\x20\x4F\x61\x6B\x64\x61\x6C\x65\x20" "\x52\x64\x2E\x2C\x20\x44\x6F\x77\x6E\x73\x76\x69\x65\x77\x2C\x20" "\x4F\x6E\x74\x2E\x20\x4D\x33\x4E\x20\x31\x57\x37\x1E\x20\x20\x1F" "\x61\x76\x2E\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20\x3B\x1F\x63\x34" "\x30\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x4D\x6F\x6E\x74\x68\x6C" "\x79\x1E\x20\x20\x1F\x61\x24\x35\x30\x2E\x30\x30\x20\x70\x65\x72" "\x20\x79\x65\x61\x72\x2E\x1E\x30\x20\x1F\x61\x56\x6F\x6C\x2E\x20" "\x31\x36\x2C\x20\x6E\x6F\x2E\x20\x39\x20\x28\x53\x65\x70\x74\x2E" "\x20\x31\x39\x39\x31\x29\x2D\x1E\x20\x20\x1F\x61\x54\x69\x74\x6C" "\x65\x20\x66\x72\x6F\x6D\x20\x63\x61\x70\x74\x69\x6F\x6E\x2E\x1E" "\x20\x20\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73\x3A\x20\x4E\x65" "\x74\x77\x6F\x72\x6B\x20\x77\x6F\x72\x6C\x64\x20\x43\x61\x6E\x61" "\x64\x61\x2C\x20\x53\x65\x70\x74\x2E\x20\x31\x39\x39\x31\x2D\x4A" "\x61\x6E\x2E\x20\x31\x39\x39\x32\x2E\x1E\x30\x30\x1F\x74\x43\x6F" "\x6D\x70\x75\x74\x65\x72\x20\x64\x61\x74\x61\x1F\x78\x30\x33\x38" "\x33\x2D\x37\x33\x31\x39\x1F\x77\x28\x43\x61\x4F\x4F\x4E\x4C\x29" "\x37\x37\x30\x33\x30\x38\x33\x31\x37\x1F\x77\x28\x4F\x43\x6F\x4C" "\x43\x29\x31\x31\x34\x31\x36\x34\x37\x39\x1F\x77\x28\x44\x4C\x43" "\x29\x63\x6E\x20\x37\x37\x30\x33\x30\x38\x33\x31\x1E\x30\x35\x1F" "\x74\x49\x2E\x54\x2E\x20\x6D\x61\x67\x61\x7A\x69\x6E\x65\x20\x28" "\x54\x6F\x72\x6F\x6E\x74\x6F\x2C\x20\x4F\x6E\x74\x2E\x29\x1F\x77" "\x28\x4F\x43\x6F\x4C\x43\x29\x32\x37\x36\x39\x39\x30\x36\x36\x1E" "\x30\x31\x1F\x74\x4E\x65\x74\x77\x6F\x72\x6B\x20\x77\x6F\x72\x6C" "\x64\x20\x43\x61\x6E\x61\x64\x61\x1F\x67\x46\x65\x62\x2E\x20\x31" "\x39\x39\x32\x1F\x78\x31\x31\x38\x37\x2D\x32\x39\x38\x35\x1F\x77" "\x28\x4F\x43\x6F\x4C\x43\x29\x32\x35\x33\x31\x34\x30\x31\x32\x1F" "\x77\x28\x43\x61\x4F\x4F\x4E\x4C\x29\x39\x32\x30\x33\x30\x35\x37" "\x32\x35\x1E\x31\x20\x1F\x74\x4E\x65\x74\x77\x6F\x72\x6B\x20\x77" "\x6F\x72\x6C\x64\x20\x43\x61\x6E\x61\x64\x61\x1F\x67\x53\x65\x70" "\x74\x2E\x20\x31\x39\x39\x31\x2D\x4A\x61\x6E\x2E\x20\x31\x39\x39" "\x32\x1F\x78\x31\x31\x38\x37\x2D\x32\x39\x38\x35\x1F\x77\x28\x4F" "\x43\x6F\x4C\x43\x29\x32\x35\x33\x31\x34\x30\x31\x32\x1F\x77\x28" "\x43\x61\x4F\x4F\x4E\x4C\x29\x39\x32\x30\x33\x30\x35\x37\x32\x35" "\x1E\x1D" , "\x30\x30\x38\x30\x33\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x38" "\x39\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x33\x30\x30\x30\x34\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x31\x33\x30\x30\x38\x30" "\x30\x34\x31\x30\x30\x30\x33\x30\x30\x31\x30\x30\x30\x31\x37\x30" "\x30\x30\x37\x31\x30\x32\x30\x30\x30\x31\x35\x30\x30\x30\x38\x38" "\x30\x33\x35\x30\x30\x32\x37\x30\x30\x31\x30\x33\x30\x34\x30\x30" "\x30\x31\x33\x30\x30\x31\x33\x30\x30\x34\x33\x30\x30\x31\x32\x30" "\x30\x31\x34\x33\x30\x35\x30\x30\x30\x32\x38\x30\x30\x31\x35\x35" "\x30\x38\x32\x30\x30\x31\x38\x30\x30\x31\x38\x33\x31\x30\x30\x30" "\x30\x32\x35\x30\x30\x32\x30\x31\x32\x34\x35\x30\x30\x39\x35\x30" "\x30\x32\x32\x36\x32\x35\x30\x30\x30\x31\x32\x30\x30\x33\x32\x31" "\x32\x36\x30\x30\x30\x33\x34\x30\x30\x33\x33\x33\x32\x36\x33\x30" "\x30\x30\x39\x30\x30\x33\x36\x37\x33\x30\x30\x30\x30\x31\x31\x30" "\x30\x33\x37\x36\x35\x30\x30\x30\x30\x32\x30\x30\x30\x33\x38\x37" "\x36\x33\x30\x30\x30\x33\x38\x30\x30\x34\x30\x37\x36\x30\x30\x30" "\x30\x32\x32\x30\x30\x34\x34\x35\x36\x30\x30\x30\x30\x31\x35\x30" "\x30\x34\x36\x37\x36\x35\x30\x30\x30\x33\x31\x30\x30\x34\x38\x32" "\x1E\x41\x43\x44\x2D\x33\x37\x39\x32\x1E\x44\x4C\x43\x1E\x31\x39" "\x39\x33\x31\x32\x31\x35\x30\x38\x34\x36\x30\x35\x2E\x37\x1E\x39" "\x33\x31\x32\x30\x36\x73\x31\x39\x39\x33\x20\x20\x20\x20\x6E\x79" "\x75\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x30\x30\x31\x20" "\x30\x20\x65\x6E\x67\x20\x20\x1E\x20\x20\x1F\x61\x20\x20\x20\x39" "\x33\x30\x34\x37\x39\x39\x32\x20\x1E\x20\x20\x1F\x61\x31\x35\x36" "\x32\x38\x32\x37\x35\x34\x35\x1E\x30\x30\x1F\x69\x6C\x63\x6D\x61" "\x72\x63\x2F\x41\x52\x55\x2D\x32\x33\x36\x34\x2F\x53\x54\x45\x56" "\x45\x53\x1E\x20\x20\x1F\x61\x44\x4C\x43\x1F\x63\x44\x4C\x43\x1E" "\x20\x20\x1F\x61\x6E\x2D\x75\x73\x2D\x2D\x2D\x1E\x30\x30\x1F\x61" "\x50\x4E\x31\x39\x39\x32\x2E\x37\x37\x2E\x54\x36\x33\x1F\x62\x43" "\x33\x37\x20\x31\x39\x39\x33\x1E\x30\x30\x1F\x61\x37\x39\x31\x2E" "\x34\x35\x2F\x37\x32\x1F\x32\x32\x30\x1E\x31\x20\x1F\x61\x43\x61" "\x72\x74\x65\x72\x2C\x20\x42\x69\x6C\x6C\x2C\x1F\x64\x31\x39\x34" "\x39\x2D\x1E\x31\x34\x1F\x61\x54\x68\x65\x20\x6C\x61\x74\x65\x20" "\x73\x68\x69\x66\x74\x20\x3A\x1F\x62\x4C\x65\x74\x74\x65\x72\x6D" "\x61\x6E\x2C\x20\x4C\x65\x6E\x6F\x2C\x20\x61\x6E\x64\x20\x74\x68" "\x65\x20\x6E\x65\x74\x77\x6F\x72\x6B\x20\x62\x61\x74\x74\x6C\x65" "\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x6E\x69\x67\x68\x74\x20\x2F" "\x1F\x63\x62\x79\x20\x42\x69\x6C\x6C\x20\x43\x61\x72\x74\x65\x72" "\x2E\x1E\x20\x20\x1F\x61\x31\x73\x74\x20\x65\x64\x2E\x1E\x20\x20" "\x1F\x61\x4E\x65\x77\x20\x59\x6F\x72\x6B\x20\x3A\x1F\x62\x48\x79" "\x70\x65\x72\x69\x6F\x6E\x2C\x1F\x63\x63\x31\x39\x39\x33\x2E\x1E" "\x20\x20\x1F\x61\x39\x34\x30\x32\x1E\x20\x20\x1F\x61\x70\x2E\x20" "\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73" "\x20\x69\x6E\x64\x65\x78\x2E\x1E\x30\x30\x1F\x61\x54\x6F\x6E\x69" "\x67\x68\x74\x20\x73\x68\x6F\x77\x20\x28\x54\x65\x6C\x65\x76\x69" "\x73\x69\x6F\x6E\x20\x70\x72\x6F\x67\x72\x61\x6D\x29\x1E\x31\x30" "\x1F\x61\x4C\x65\x74\x74\x65\x72\x6D\x61\x6E\x2C\x20\x44\x61\x76" "\x69\x64\x2E\x1E\x31\x30\x1F\x61\x4C\x65\x6E\x6F\x2C\x20\x4A\x61" "\x79\x2E\x1E\x20\x30\x1F\x61\x54\x61\x6C\x6B\x20\x73\x68\x6F\x77" "\x73\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73" "\x2E\x1E\x1D" , "\x30\x30\x37\x36\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x36" "\x35\x38\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x30\x39" "\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x32\x36\x30\x31\x30\x30" "\x30\x31\x37\x30\x30\x30\x36\x37\x30\x32\x30\x30\x30\x31\x35\x30" "\x30\x30\x38\x34\x30\x33\x35\x30\x30\x32\x39\x30\x30\x30\x39\x39" "\x30\x34\x30\x30\x30\x31\x33\x30\x30\x31\x32\x38\x30\x35\x30\x30" "\x30\x32\x39\x30\x30\x31\x34\x31\x30\x38\x32\x30\x30\x31\x36\x30" "\x30\x31\x37\x30\x32\x34\x35\x30\x30\x37\x36\x30\x30\x31\x38\x36" "\x32\x35\x30\x30\x30\x31\x36\x30\x30\x32\x36\x32\x32\x36\x30\x30" "\x30\x35\x36\x30\x30\x32\x37\x38\x32\x36\x33\x30\x30\x30\x39\x30" "\x30\x33\x33\x34\x33\x30\x30\x30\x30\x31\x31\x30\x30\x33\x34\x33" "\x34\x34\x30\x30\x30\x33\x32\x30\x30\x33\x35\x34\x35\x30\x30\x30" "\x30\x32\x30\x30\x30\x33\x38\x36\x36\x35\x30\x30\x30\x33\x32\x30" "\x30\x34\x30\x36\x36\x35\x30\x30\x30\x31\x39\x30\x30\x34\x33\x38" "\x37\x30\x30\x30\x30\x32\x35\x30\x30\x34\x35\x37\x37\x30\x30\x30" "\x30\x31\x38\x30\x30\x34\x38\x32\x1E\x41\x43\x44\x2D\x33\x36\x36" "\x35\x1E\x31\x39\x39\x33\x30\x37\x33\x30\x30\x39\x32\x30\x30\x34" "\x2E\x31\x1E\x39\x33\x30\x37\x32\x31\x73\x31\x39\x39\x33\x20\x20" "\x20\x20\x6E\x6A\x75\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20" "\x30\x30\x31\x20\x30\x20\x65\x6E\x67\x20\x20\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x39\x33\x30\x33\x30\x37\x37\x35\x20\x1E\x20\x20\x1F" "\x61\x30\x31\x33\x32\x38\x39\x36\x36\x31\x33\x1E\x30\x30\x1F\x69" "\x6C\x63\x6D\x61\x72\x63\x2F\x41\x52\x49\x2D\x33\x38\x30\x34\x2F" "\x4A\x55\x4C\x49\x41\x4E\x4E\x45\x1E\x20\x20\x1F\x61\x44\x4C\x43" "\x1F\x63\x44\x4C\x43\x1E\x30\x30\x1F\x61\x54\x4B\x35\x31\x30\x35" "\x2E\x38\x37\x35\x2E\x49\x35\x37\x1F\x62\x49\x35\x36\x20\x31\x39" "\x39\x33\x1E\x30\x30\x1F\x61\x33\x38\x34\x2E\x33\x2F\x34\x1F\x32" "\x32\x30\x1E\x30\x30\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74\x20" "\x3A\x1F\x62\x6D\x61\x69\x6C\x69\x6E\x67\x20\x6C\x69\x73\x74\x73" "\x20\x2F\x1F\x63\x65\x64\x69\x74\x65\x64\x20\x62\x79\x20\x45\x64" "\x77\x61\x72\x64\x20\x54\x2E\x4C\x2E\x20\x48\x61\x72\x64\x69\x65" "\x2C\x20\x56\x69\x76\x69\x61\x6E\x20\x4E\x65\x6F\x75\x2E\x1E\x20" "\x20\x1F\x61\x55\x70\x64\x61\x74\x65\x64\x20\x65\x64\x2E\x1E\x20" "\x20\x1F\x61\x45\x6E\x67\x6C\x65\x77\x6F\x6F\x64\x20\x43\x6C\x69" "\x66\x66\x73\x2C\x20\x4E\x2E\x4A\x2E\x20\x3A\x1F\x62\x50\x54\x52" "\x20\x50\x72\x65\x6E\x74\x69\x63\x65\x20\x48\x61\x6C\x6C\x2C\x1F" "\x63\x31\x39\x39\x33\x2E\x1E\x20\x20\x1F\x61\x39\x33\x30\x38\x1E" "\x20\x20\x1F\x61\x70\x2E\x20\x63\x6D\x2E\x1E\x20\x30\x1F\x61\x49" "\x6E\x74\x65\x72\x6E\x65\x74\x20\x69\x6E\x66\x6F\x72\x6D\x61\x74" "\x69\x6F\x6E\x20\x73\x65\x72\x69\x65\x73\x1E\x20\x20\x1F\x61\x49" "\x6E\x63\x6C\x75\x64\x65\x73\x20\x69\x6E\x64\x65\x78\x2E\x1E\x20" "\x30\x1F\x61\x49\x6E\x74\x65\x72\x6E\x65\x74\x20\x28\x43\x6F\x6D" "\x70\x75\x74\x65\x72\x20\x6E\x65\x74\x77\x6F\x72\x6B\x29\x1E\x20" "\x30\x1F\x61\x4D\x61\x69\x6C\x69\x6E\x67\x20\x6C\x69\x73\x74\x73" "\x2E\x1E\x31\x30\x1F\x61\x48\x61\x72\x64\x69\x65\x2C\x20\x45\x64" "\x77\x61\x72\x64\x20\x54\x2E\x20\x4C\x2E\x1E\x31\x30\x1F\x61\x4E" "\x65\x6F\x75\x2C\x20\x56\x69\x76\x69\x61\x6E\x2E\x1E\x1D" , "\x30\x31\x33\x32\x34\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x38" "\x39\x49\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x31\x33\x30\x30\x30\x36\x37\x30\x33\x37\x30\x30\x32\x33\x30" "\x30\x30\x38\x30\x30\x34\x33\x30\x30\x31\x32\x30\x30\x31\x30\x33" "\x30\x37\x34\x30\x30\x31\x39\x30\x30\x31\x31\x35\x30\x38\x36\x30" "\x30\x32\x32\x30\x30\x31\x33\x34\x30\x34\x39\x30\x30\x30\x39\x30" "\x30\x31\x35\x36\x32\x34\x35\x30\x30\x36\x32\x30\x30\x31\x36\x35" "\x32\x36\x30\x30\x31\x34\x35\x30\x30\x32\x32\x37\x33\x30\x30\x30" "\x30\x32\x35\x30\x30\x33\x37\x32\x35\x30\x30\x30\x30\x38\x30\x30" "\x30\x33\x39\x37\x35\x30\x30\x30\x32\x32\x31\x30\x30\x34\x37\x37" "\x35\x30\x30\x30\x30\x35\x35\x30\x30\x36\x39\x38\x35\x30\x30\x30" "\x30\x32\x31\x30\x30\x37\x35\x33\x35\x30\x30\x30\x30\x32\x32\x30" "\x30\x37\x37\x34\x36\x31\x30\x30\x30\x36\x31\x30\x30\x37\x39\x36" "\x36\x35\x30\x30\x30\x34\x33\x30\x30\x38\x35\x37\x36\x35\x30\x30" "\x30\x34\x35\x30\x30\x39\x30\x30\x37\x30\x30\x30\x30\x32\x31\x30" "\x30\x39\x34\x35\x37\x31\x30\x30\x30\x36\x38\x30\x30\x39\x36\x36" "\x1E\x41\x43\x44\x2D\x32\x37\x32\x38\x1E\x39\x31\x30\x35\x31\x34" "\x73\x31\x39\x38\x34\x20\x20\x20\x20\x6E\x79\x75\x20\x20\x20\x20" "\x20\x20\x72\x20\x20\x20\x66\x30\x30\x31\x30\x30\x20\x65\x6E\x67" "\x20\x64\x1E\x31\x39\x39\x31\x30\x35\x31\x39\x31\x34\x34\x35\x35" "\x31\x2E\x30\x1E\x20\x20\x1F\x6F\x32\x33\x37\x34\x30\x30\x30\x32" "\x1E\x20\x20\x1F\x61\x45\x44\x20\x45\x44\x20\x32\x38\x39\x34\x35" "\x39\x1F\x62\x45\x52\x49\x43\x1E\x20\x20\x1F\x61\x6E\x2D\x75\x73" "\x2D\x2D\x2D\x1E\x20\x20\x1F\x61\x30\x34\x36\x36\x2D\x41\x2D\x30" "\x33\x20\x28\x4D\x46\x29\x1E\x30\x20\x1F\x61\x45\x44\x20\x31\x2E" "\x33\x31\x30\x2F\x32\x3A\x32\x38\x39\x34\x35\x39\x1E\x20\x20\x1F" "\x61\x44\x52\x55\x47\x1E\x30\x30\x1F\x61\x54\x65\x63\x68\x6E\x6F" "\x6C\x6F\x67\x79\x20\x70\x72\x6F\x67\x72\x61\x6D\x73\x20\x74\x68" "\x61\x74\x20\x77\x6F\x72\x6B\x20\x2F\x1F\x63\x4D\x69\x63\x68\x61" "\x65\x6C\x20\x42\x2E\x20\x57\x65\x62\x62\x2C\x20\x65\x64\x69\x74" "\x6F\x72\x2E\x1E\x30\x20\x1F\x61\x4E\x65\x77\x20\x59\x6F\x72\x6B" "\x2C\x20\x4E\x2E\x59\x2E\x20\x3A\x1F\x62\x54\x65\x63\x68\x6E\x6F" "\x6C\x6F\x67\x79\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x4E\x44\x4E" "\x20\x50\x72\x6F\x6A\x65\x63\x74\x2C\x20\x49\x6E\x73\x74\x69\x74" "\x75\x74\x65\x20\x66\x6F\x72\x20\x55\x72\x62\x61\x6E\x20\x61\x6E" "\x64\x20\x4D\x69\x6E\x6F\x72\x69\x74\x79\x20\x45\x64\x75\x63\x61" "\x74\x69\x6F\x6E\x2C\x20\x54\x65\x61\x63\x68\x65\x72\x73\x20\x43" "\x6F\x6C\x6C\x65\x67\x65\x2C\x20\x43\x6F\x6C\x75\x6D\x62\x69\x61" "\x20\x55\x6E\x69\x76\x65\x72\x73\x69\x74\x79\x2C\x1F\x63\x5B\x31" "\x39\x38\x34\x5D\x1E\x20\x20\x1F\x61\x37\x32\x2C\x20\x5B\x31\x5D" "\x20\x70\x2E\x20\x3B\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20\x20" "\x1F\x61\x22\x53\x70\x6F\x6E\x73\x20\x61\x67\x65\x6E\x63\x79\x20" "\x4F\x66\x66\x69\x63\x65\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74" "\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20\x61" "\x6E\x64\x20\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x22\x2D" "\x2D\x44\x6F\x63\x2E\x20\x72\x65\x73\x75\x6D\x65\x2E\x1E\x20\x20" "\x1F\x61\x22\x54\x68\x69\x73\x20\x64\x69\x72\x65\x63\x74\x6F\x72" "\x79\x20\x77\x61\x73\x20\x64\x65\x76\x65\x6C\x6F\x70\x65\x64\x20" "\x62\x79\x20\x74\x68\x65\x20\x54\x65\x63\x68\x6E\x6F\x6C\x6F\x67" "\x79\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x4E\x61\x74\x69\x6F\x6E" "\x61\x6C\x20\x44\x69\x66\x66\x75\x73\x69\x6F\x6E\x20\x4E\x65\x74" "\x77\x6F\x72\x6B\x20\x50\x72\x6F\x6A\x65\x63\x74\x2C\x20\x54\x65" "\x61\x63\x68\x65\x72\x73\x20\x43\x6F\x6C\x6C\x65\x67\x65\x2C\x20" "\x43\x6F\x6C\x75\x6D\x62\x69\x61\x20\x55\x6E\x69\x76\x65\x72\x73" "\x69\x74\x79\x20\x70\x75\x72\x73\x75\x61\x6E\x74\x20\x74\x6F\x20" "\x63\x6F\x6E\x74\x72\x61\x63\x74\x20\x6E\x75\x6D\x62\x65\x72\x20" "\x4F\x45\x2D\x33\x30\x30\x2D\x38\x33\x2D\x30\x32\x35\x33\x2C\x20" "\x55\x2E\x53\x2E\x20\x44\x65\x70\x61\x72\x74\x6D\x65\x6E\x74\x20" "\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x22\x2D\x2D\x54" "\x2E\x70\x2E\x20\x76\x65\x72\x73\x6F\x2E\x1E\x20\x20\x1F\x61\x44" "\x69\x73\x74\x72\x69\x62\x75\x74\x65\x64\x20\x74\x6F\x20\x64\x65" "\x70\x6F\x73\x69\x74\x6F\x72\x79\x20\x6C\x69\x62\x72\x61\x72\x69" "\x65\x73\x20\x69\x6E\x20\x6D\x69\x63\x72\x6F\x66\x69\x63\x68\x65" "\x2E\x1E\x20\x20\x1F\x61\x22\x44\x65\x63\x65\x6D\x62\x65\x72\x20" "\x31\x39\x38\x34\x2E\x22\x1E\x20\x20\x1F\x61\x49\x6E\x63\x6C\x75" "\x64\x65\x73\x20\x69\x6E\x64\x65\x78\x65\x73\x2E\x1E\x31\x30\x1F" "\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1F" "\x62\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x44\x69\x66\x66\x75\x73" "\x69\x6F\x6E\x20\x4E\x65\x74\x77\x6F\x72\x6B\x1F\x78\x44\x69\x72" "\x65\x63\x74\x6F\x72\x69\x65\x73\x2E\x1E\x20\x30\x1F\x61\x45\x64" "\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20\x74\x65\x63\x68\x6E\x6F" "\x6C\x6F\x67\x79\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61" "\x74\x65\x73\x2E\x1E\x20\x30\x1F\x61\x46\x65\x64\x65\x72\x61\x6C" "\x20\x61\x69\x64\x20\x74\x6F\x20\x65\x64\x75\x63\x61\x74\x69\x6F" "\x6E\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73" "\x2E\x1E\x31\x30\x1F\x61\x57\x65\x62\x62\x2C\x20\x4D\x69\x63\x68" "\x61\x65\x6C\x20\x42\x2E\x1E\x31\x30\x1F\x61\x55\x6E\x69\x74\x65" "\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1F\x62\x4F\x66\x66\x69\x63" "\x65\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C" "\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20\x61\x6E\x64\x20\x49\x6D" "\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x2E\x1E\x1D" , "\x30\x31\x35\x35\x39\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x33\x37" "\x33\x49\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x31\x33\x30\x30\x30\x36\x37\x30\x33\x37\x30\x30\x32\x30\x30" "\x30\x30\x38\x30\x30\x34\x33\x30\x30\x31\x32\x30\x30\x31\x30\x30" "\x30\x37\x34\x30\x30\x31\x39\x30\x30\x31\x31\x32\x30\x38\x36\x30" "\x30\x32\x32\x30\x30\x31\x33\x31\x30\x38\x38\x30\x30\x31\x36\x30" "\x30\x31\x35\x33\x30\x34\x39\x30\x30\x30\x39\x30\x30\x31\x36\x39" "\x31\x30\x30\x30\x30\x32\x32\x30\x30\x31\x37\x38\x32\x34\x35\x30" "\x32\x35\x39\x30\x30\x32\x30\x30\x32\x36\x30\x30\x31\x30\x35\x30" "\x30\x34\x35\x39\x33\x30\x30\x30\x30\x33\x33\x30\x30\x35\x36\x34" "\x35\x30\x30\x30\x30\x35\x35\x30\x30\x35\x39\x37\x35\x30\x30\x30" "\x30\x31\x37\x30\x30\x36\x35\x32\x35\x30\x34\x30\x30\x34\x31\x30" "\x30\x36\x36\x39\x35\x30\x30\x30\x30\x31\x38\x30\x30\x37\x31\x30" "\x36\x35\x30\x30\x30\x34\x34\x30\x30\x37\x32\x38\x36\x35\x30\x30" "\x30\x34\x34\x30\x30\x37\x37\x32\x36\x35\x30\x30\x30\x33\x37\x30" "\x30\x38\x31\x36\x36\x35\x30\x30\x30\x35\x32\x30\x30\x38\x35\x33" "\x36\x35\x30\x30\x30\x33\x37\x30\x30\x39\x30\x35\x37\x30\x30\x30" "\x30\x34\x34\x30\x30\x39\x34\x32\x37\x30\x30\x30\x30\x32\x35\x30" "\x30\x39\x38\x36\x37\x31\x30\x30\x30\x34\x38\x30\x31\x30\x31\x31" "\x37\x31\x30\x30\x30\x33\x30\x30\x31\x30\x35\x39\x37\x31\x30\x30" "\x30\x36\x38\x30\x31\x30\x38\x39\x37\x34\x30\x30\x30\x32\x38\x30" "\x31\x31\x35\x37\x1E\x41\x43\x44\x2D\x32\x34\x37\x36\x1E\x39\x31" "\x30\x34\x32\x35\x73\x31\x39\x38\x37\x20\x20\x20\x20\x64\x63\x75" "\x61\x20\x20\x20\x20\x20\x62\x20\x20\x20\x66\x30\x30\x30\x31\x30" "\x20\x65\x6E\x67\x20\x64\x1E\x31\x39\x39\x31\x30\x35\x31\x39\x31" "\x34\x34\x35\x35\x31\x2E\x30\x1E\x20\x20\x1F\x6F\x32\x33\x36\x30" "\x32\x33\x38\x39\x1E\x20\x20\x1F\x61\x45\x44\x20\x32\x38\x38\x35" "\x32\x39\x1F\x62\x45\x52\x49\x43\x1E\x20\x20\x1F\x61\x6E\x2D\x75" "\x73\x2D\x2D\x2D\x1E\x20\x20\x1F\x61\x30\x34\x36\x36\x2D\x41\x2D" "\x30\x33\x20\x28\x4D\x46\x29\x1E\x30\x20\x1F\x61\x45\x44\x20\x31" "\x2E\x33\x31\x30\x2F\x32\x3A\x32\x38\x38\x35\x32\x39\x1E\x20\x20" "\x1F\x61\x4C\x50\x20\x38\x37\x2D\x34\x30\x33\x20\x63\x1E\x20\x20" "\x1F\x61\x44\x52\x55\x47\x1E\x31\x30\x1F\x61\x53\x65\x61\x67\x65" "\x72\x2C\x20\x41\x6E\x64\x72\x65\x77\x20\x4A\x2E\x1E\x31\x30\x1F" "\x61\x43\x68\x65\x63\x6B\x20\x74\x68\x69\x73\x20\x6F\x75\x74\x20" "\x3A\x1F\x62\x6C\x69\x62\x72\x61\x72\x79\x20\x70\x72\x6F\x67\x72" "\x61\x6D\x20\x6D\x6F\x64\x65\x6C\x73\x20\x2F\x1F\x63\x70\x72\x65" "\x70\x61\x72\x65\x64\x20\x62\x79\x20\x41\x6E\x64\x72\x65\x77\x20" "\x4A\x2E\x20\x53\x65\x61\x67\x65\x72\x2C\x20\x53\x61\x72\x61\x68" "\x20\x4A\x2E\x20\x52\x6F\x62\x65\x72\x74\x73\x2C\x20\x43\x61\x72" "\x6F\x6C\x20\x5A\x2E\x20\x4C\x69\x6E\x63\x6F\x6C\x6E\x20\x3B\x20" "\x70\x72\x65\x70\x61\x72\x65\x64\x20\x66\x6F\x72\x20\x4E\x61\x74" "\x69\x6F\x6E\x61\x6C\x20\x44\x69\x66\x66\x75\x73\x69\x6F\x6E\x20" "\x4E\x65\x74\x77\x6F\x72\x6B\x20\x75\x6E\x64\x65\x72\x20\x63\x6F" "\x6E\x74\x72\x61\x63\x74\x20\x74\x6F\x20\x52\x4D\x43\x20\x43\x6F" "\x72\x70\x6F\x72\x61\x74\x69\x6F\x6E\x2C\x20\x63\x6F\x6E\x74\x72" "\x61\x63\x74\x20\x33\x30\x30\x2D\x38\x34\x2D\x30\x32\x35\x31\x20" "\x77\x69\x74\x68\x20\x74\x68\x65\x20\x55\x6E\x69\x74\x65\x64\x20" "\x53\x74\x61\x74\x65\x73\x20\x44\x65\x70\x61\x72\x74\x6D\x65\x6E" "\x74\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x2E\x1E" "\x30\x20\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x2C\x20" "\x44\x2E\x43\x2E\x20\x3A\x1F\x62\x4F\x66\x66\x69\x63\x65\x20\x6F" "\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65" "\x73\x65\x61\x72\x63\x68\x20\x61\x6E\x64\x20\x49\x6D\x70\x72\x6F" "\x76\x65\x6D\x65\x6E\x74\x2C\x20\x55\x2E\x53\x2E\x20\x44\x65\x70" "\x74\x2E\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x2C" "\x1F\x63\x5B\x31\x39\x38\x37\x5D\x1E\x20\x20\x1F\x61\x69\x78\x2C" "\x20\x33\x31\x39\x20\x70\x2E\x20\x3A\x1F\x62\x69\x6C\x6C\x2E\x20" "\x3B\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61\x44\x69" "\x73\x74\x72\x69\x62\x75\x74\x65\x64\x20\x74\x6F\x20\x64\x65\x70" "\x6F\x73\x69\x74\x6F\x72\x79\x20\x6C\x69\x62\x72\x61\x72\x69\x65" "\x73\x20\x69\x6E\x20\x6D\x69\x63\x72\x6F\x66\x69\x63\x68\x65\x2E" "\x1E\x20\x20\x1F\x61\x22\x4A\x75\x6C\x79\x20\x31\x39\x38\x37\x2E" "\x22\x1E\x20\x20\x1F\x61\x49\x6E\x63\x6C\x75\x64\x65\x73\x20\x62" "\x69\x62\x6C\x69\x6F\x67\x72\x61\x70\x68\x69\x63\x61\x6C\x20\x72" "\x65\x66\x65\x72\x65\x6E\x63\x65\x73\x2E\x1E\x20\x20\x1F\x61\x22" "\x4C\x50\x20\x38\x37\x2D\x34\x30\x33\x63\x2E\x22\x1E\x20\x30\x1F" "\x61\x4C\x69\x62\x72\x61\x72\x69\x65\x73\x20\x61\x6E\x64\x20\x63" "\x6F\x6D\x6D\x75\x6E\x69\x74\x79\x1F\x7A\x55\x6E\x69\x74\x65\x64" "\x20\x53\x74\x61\x74\x65\x73\x2E\x1E\x20\x30\x1F\x61\x4C\x69\x62" "\x72\x61\x72\x69\x65\x73\x20\x61\x6E\x64\x20\x65\x64\x75\x63\x61" "\x74\x69\x6F\x6E\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61" "\x74\x65\x73\x2E\x1E\x20\x30\x1F\x61\x53\x63\x68\x6F\x6F\x6C\x20" "\x6C\x69\x62\x72\x61\x72\x69\x65\x73\x1F\x7A\x55\x6E\x69\x74\x65" "\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1E\x20\x30\x1F\x61\x49\x6E" "\x73\x74\x72\x75\x63\x74\x69\x6F\x6E\x61\x6C\x20\x6D\x61\x74\x65" "\x72\x69\x61\x6C\x73\x20\x63\x65\x6E\x74\x65\x72\x73\x1F\x7A\x55" "\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1E\x20\x30" "\x1F\x61\x50\x75\x62\x6C\x69\x63\x20\x6C\x69\x62\x72\x61\x72\x69" "\x65\x73\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65" "\x73\x2E\x1E\x31\x30\x1F\x61\x52\x6F\x62\x65\x72\x74\x73\x2C\x20" "\x53\x61\x72\x61\x68\x20\x4A\x2E\x1F\x71\x28\x53\x61\x72\x61\x68" "\x20\x4A\x61\x6E\x65\x29\x2C\x1F\x64\x31\x39\x34\x36\x2D\x1E\x31" "\x30\x1F\x61\x4C\x69\x6E\x63\x6F\x6C\x6E\x2C\x20\x43\x61\x72\x6F" "\x6C\x20\x5A\x61\x6C\x6C\x2E\x1E\x31\x30\x1F\x61\x55\x6E\x69\x74" "\x65\x64\x20\x53\x74\x61\x74\x65\x73\x2E\x1F\x62\x4E\x61\x74\x69" "\x6F\x6E\x61\x6C\x20\x44\x69\x66\x66\x75\x73\x69\x6F\x6E\x20\x4E" "\x65\x74\x77\x6F\x72\x6B\x2E\x1E\x32\x30\x1F\x61\x52\x4D\x43\x20" "\x52\x65\x73\x65\x61\x72\x63\x68\x20\x43\x6F\x72\x70\x6F\x72\x61" "\x74\x69\x6F\x6E\x2E\x1E\x31\x30\x1F\x61\x55\x6E\x69\x74\x65\x64" "\x20\x53\x74\x61\x74\x65\x73\x2E\x1F\x62\x4F\x66\x66\x69\x63\x65" "\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20" "\x52\x65\x73\x65\x61\x72\x63\x68\x20\x61\x6E\x64\x20\x49\x6D\x70" "\x72\x6F\x76\x65\x6D\x65\x6E\x74\x2E\x1E\x30\x31\x1F\x61\x4C\x69" "\x62\x72\x61\x72\x79\x20\x70\x72\x6F\x67\x72\x61\x6D\x20\x6D\x6F" "\x64\x65\x6C\x73\x2E\x1E\x1D" , "\x30\x31\x31\x35\x35\x6E\x61\x73\x20\x20\x32\x32\x30\x30\x33\x31" "\x33\x35\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x32\x37\x30\x30\x30\x36\x37\x30\x34\x30\x30\x30\x30\x38\x30" "\x30\x30\x39\x34\x30\x31\x32\x30\x30\x31\x32\x30\x30\x31\x30\x32" "\x30\x34\x32\x30\x30\x30\x37\x30\x30\x31\x31\x34\x30\x35\x30\x30" "\x30\x31\x35\x30\x30\x31\x32\x31\x30\x37\x34\x30\x30\x31\x31\x30" "\x30\x31\x33\x36\x30\x38\x36\x30\x30\x32\x30\x30\x30\x31\x34\x37" "\x30\x34\x39\x30\x30\x30\x39\x30\x30\x31\x36\x37\x32\x31\x32\x30" "\x30\x38\x33\x30\x30\x31\x37\x36\x32\x34\x35\x30\x30\x36\x39\x30" "\x30\x32\x35\x39\x32\x36\x30\x30\x31\x31\x35\x30\x30\x33\x32\x38" "\x32\x36\x35\x30\x30\x37\x31\x30\x30\x34\x34\x33\x33\x30\x30\x30" "\x30\x31\x37\x30\x30\x35\x31\x34\x33\x31\x30\x30\x30\x31\x31\x30" "\x30\x35\x33\x31\x35\x30\x30\x30\x30\x33\x32\x30\x30\x35\x34\x32" "\x36\x31\x30\x30\x30\x33\x36\x30\x30\x35\x37\x34\x36\x35\x30\x30" "\x30\x36\x32\x30\x30\x36\x31\x30\x36\x35\x30\x30\x30\x36\x34\x30" "\x30\x36\x37\x32\x37\x31\x30\x30\x30\x32\x32\x30\x30\x37\x33\x36" "\x37\x31\x30\x30\x30\x37\x30\x30\x30\x37\x35\x38\x39\x33\x36\x30" "\x30\x31\x33\x30\x30\x38\x32\x38\x1E\x41\x43\x44\x2D\x32\x33\x37" "\x36\x1E\x39\x31\x30\x32\x32\x35\x63\x31\x39\x75\x75\x39\x39\x39" "\x39\x64\x63\x75\x61\x72\x20\x20\x20\x20\x20\x20\x20\x20\x66\x30" "\x75\x75\x75\x20\x30\x65\x6E\x67\x20\x20\x1E\x31\x39\x39\x31\x30" "\x35\x31\x39\x31\x34\x34\x35\x35\x31\x2E\x30\x1E\x20\x20\x1F\x61" "\x20\x20\x20\x39\x31\x36\x35\x36\x30\x36\x30\x20\x1F\x6F\x32\x33" "\x31\x35\x30\x38\x34\x37\x1E\x20\x20\x1F\x64\x47\x50\x4F\x1E\x20" "\x20\x1F\x61\x32\x1F\x69\x39\x31\x30\x33\x1E\x20\x20\x1F\x61\x6C" "\x63\x1E\x30\x30\x1F\x61\x49\x4E\x20\x50\x52\x4F\x43\x45\x53\x53" "\x1E\x20\x20\x1F\x61\x30\x37\x38\x35\x2D\x48\x1E\x30\x20\x1F\x61" "\x4C\x43\x20\x31\x2E\x34\x30\x2F\x32\x3A\x46\x20\x33\x31\x2F\x1E" "\x20\x20\x1F\x61\x44\x52\x55\x47\x1E\x30\x20\x1F\x61\x46\x65\x64" "\x65\x72\x61\x6C\x20\x4C\x69\x62\x72\x61\x72\x79\x20\x61\x6E\x64" "\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69\x6F\x6E\x20\x4E\x65\x74" "\x77\x6F\x72\x6B\x20\x73\x65\x72\x76\x69\x63\x65\x73\x20\x64\x69" "\x72\x65\x63\x74\x6F\x72\x79\x20\x66\x6F\x72\x20\x66\x69\x73\x63" "\x61\x6C\x20\x79\x65\x61\x72\x20\x2E\x2E\x2E\x1E\x30\x30\x1F\x61" "\x46\x45\x44\x4C\x49\x4E\x4B\x20\x73\x65\x72\x76\x69\x63\x65\x73" "\x20\x64\x69\x72\x65\x63\x74\x6F\x72\x79\x20\x66\x6F\x72\x20\x66" "\x69\x73\x63\x61\x6C\x20\x79\x65\x61\x72\x20\x2E\x2E\x2E\x20\x2F" "\x1F\x63\x46\x4C\x49\x43\x43\x2F\x46\x45\x44\x4C\x49\x4E\x4B\x2E" "\x1E\x30\x30\x1F\x61\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x2C" "\x20\x44\x2E\x43\x2E\x20\x3A\x1F\x62\x46\x65\x64\x65\x72\x61\x6C" "\x20\x4C\x69\x62\x72\x61\x72\x79\x20\x61\x6E\x64\x20\x49\x6E\x66" "\x6F\x72\x6D\x61\x74\x69\x6F\x6E\x20\x4E\x65\x74\x77\x6F\x72\x6B" "\x2C\x20\x46\x65\x64\x65\x72\x61\x6C\x20\x4C\x69\x62\x72\x61\x72" "\x79\x20\x61\x6E\x64\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69\x6F" "\x6E\x20\x43\x65\x6E\x74\x65\x72\x20\x43\x6F\x6D\x6D\x69\x74\x74" "\x65\x65\x2C\x1E\x20\x20\x1F\x61\x46\x45\x44\x4C\x49\x4E\x4B\x2C" "\x20\x52\x6F\x6F\x6D\x20\x4C\x41\x20\x31\x30\x32\x36\x43\x2C\x20" "\x4C\x69\x62\x72\x61\x72\x79\x20\x6F\x66\x20\x43\x6F\x6E\x67\x72" "\x65\x73\x73\x2C\x20\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x20" "\x44\x2E\x43\x2E\x20\x32\x30\x35\x34\x30\x1E\x20\x20\x1F\x61\x76" "\x2E\x20\x3B\x1F\x63\x32\x38\x20\x63\x6D\x2E\x1E\x20\x20\x1F\x61" "\x41\x6E\x6E\x75\x61\x6C\x1E\x20\x20\x1F\x61\x44\x65\x73\x63\x72" "\x69\x70\x74\x69\x6F\x6E\x20\x62\x61\x73\x65\x64\x20\x6F\x6E\x3A" "\x20\x31\x39\x39\x30\x2E\x1E\x32\x30\x1F\x61\x46\x45\x44\x4C\x49" "\x4E\x4B\x20\x28\x4E\x65\x74\x77\x6F\x72\x6B\x29\x1F\x78\x44\x69" "\x72\x65\x63\x74\x6F\x72\x69\x65\x73\x2E\x1E\x20\x30\x1F\x61\x4C" "\x69\x62\x72\x61\x72\x79\x20\x69\x6E\x66\x6F\x72\x6D\x61\x74\x69" "\x6F\x6E\x20\x6E\x65\x74\x77\x6F\x72\x6B\x73\x1F\x7A\x55\x6E\x69" "\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73\x1F\x78\x44\x69\x72\x65" "\x63\x74\x6F\x72\x69\x65\x73\x2E\x1E\x20\x30\x1F\x61\x4C\x69\x62" "\x72\x61\x72\x69\x65\x73\x2C\x20\x47\x6F\x76\x65\x72\x6E\x6D\x65" "\x6E\x74\x61\x6C\x2C\x20\x61\x64\x6D\x69\x6E\x69\x73\x74\x72\x61" "\x74\x69\x76\x65\x2C\x20\x65\x74\x63\x2E\x1F\x78\x50\x65\x72\x69" "\x6F\x64\x69\x63\x61\x6C\x73\x2E\x1E\x32\x30\x1F\x61\x46\x45\x44" "\x4C\x49\x4E\x4B\x20\x28\x4E\x65\x74\x77\x6F\x72\x6B\x29\x1E\x32" "\x30\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73" "\x2E\x1F\x62\x46\x65\x64\x65\x72\x61\x6C\x20\x4C\x69\x62\x72\x61" "\x72\x79\x20\x61\x6E\x64\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69" "\x6F\x6E\x20\x43\x65\x6E\x74\x65\x72\x20\x43\x6F\x6D\x6D\x69\x74" "\x74\x65\x65\x2E\x1E\x20\x20\x1F\x61\x31\x39\x39\x31\x20\x4C\x49" "\x43\x1E\x1D" , "\x30\x30\x39\x31\x35\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x32" "\x39\x4B\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x31\x33\x30\x30\x30\x36\x37\x30\x34\x30\x30\x30\x31\x33\x30" "\x30\x30\x38\x30\x30\x33\x37\x30\x30\x32\x30\x30\x30\x30\x39\x33" "\x30\x37\x34\x30\x30\x31\x39\x30\x30\x31\x31\x33\x30\x38\x36\x30" "\x30\x32\x32\x30\x30\x31\x33\x32\x30\x34\x39\x30\x30\x30\x39\x30" "\x30\x31\x35\x34\x31\x30\x30\x30\x30\x31\x38\x30\x30\x31\x36\x33" "\x32\x34\x35\x30\x31\x35\x37\x30\x30\x31\x38\x31\x32\x36\x30\x30" "\x31\x32\x34\x30\x30\x33\x33\x38\x33\x30\x30\x30\x30\x30\x39\x30" "\x30\x34\x36\x32\x35\x33\x33\x30\x30\x39\x33\x30\x30\x34\x37\x31" "\x35\x30\x30\x30\x30\x35\x35\x30\x30\x35\x36\x34\x36\x35\x30\x30" "\x30\x31\x34\x30\x30\x36\x31\x39\x37\x31\x30\x30\x30\x35\x32\x30" "\x30\x36\x33\x33\x1E\x41\x43\x44\x2D\x31\x39\x34\x39\x1E\x39\x31" "\x30\x34\x31\x35\x72\x31\x39\x39\x30\x31\x30\x38\x37\x64\x63\x75" "\x20\x20\x20\x20\x20\x62\x20\x20\x20\x20\x66\x30\x30\x30\x31\x30" "\x20\x65\x6E\x67\x20\x64\x1E\x31\x39\x39\x31\x30\x34\x32\x31\x31" "\x32\x32\x35\x34\x31\x2E\x30\x1E\x20\x20\x1F\x6F\x32\x33\x34\x36" "\x39\x32\x36\x31\x1E\x20\x20\x1F\x61\x47\x50\x4F\x1F\x63\x47\x50" "\x4F\x1E\x20\x20\x1F\x61\x45\x44\x20\x32\x38\x36\x39\x39\x32\x1F" "\x62\x45\x52\x49\x43\x1E\x20\x20\x1F\x61\x30\x34\x36\x36\x2D\x41" "\x2D\x30\x33\x20\x28\x4D\x46\x29\x1E\x30\x20\x1F\x61\x45\x44\x20" "\x31\x2E\x33\x31\x30\x2F\x32\x3A\x32\x38\x36\x39\x39\x32\x1E\x20" "\x20\x1F\x61\x44\x52\x55\x47\x1E\x31\x30\x1F\x61\x50\x61\x75\x6C" "\x75\x2C\x20\x4E\x61\x6E\x63\x79\x2E\x1E\x31\x30\x1F\x61\x44\x65" "\x61\x6C\x69\x6E\x67\x20\x77\x69\x74\x68\x20\x64\x72\x6F\x70\x6F" "\x75\x74\x73\x1F\x68\x6D\x69\x63\x72\x6F\x66\x6F\x72\x6D\x20\x3A" "\x1F\x62\x74\x68\x65\x20\x75\x72\x62\x61\x6E\x20\x73\x75\x70\x65" "\x72\x69\x6E\x74\x65\x6E\x64\x65\x6E\x74\x73\x27\x20\x63\x61\x6C" "\x6C\x20\x74\x6F\x20\x61\x63\x74\x69\x6F\x6E\x20\x2F\x1F\x63\x62" "\x79\x20\x74\x68\x65\x20\x4F\x45\x52\x49\x20\x55\x72\x62\x61\x6E" "\x20\x53\x75\x70\x65\x72\x69\x6E\x74\x65\x6E\x64\x65\x6E\x74\x73" "\x20\x4E\x65\x74\x77\x6F\x72\x6B\x20\x3B\x20\x4E\x61\x6E\x63\x79" "\x20\x50\x61\x75\x6C\x75\x2C\x20\x77\x72\x69\x74\x65\x72\x2D\x65" "\x64\x69\x74\x6F\x72\x2E\x1E\x30\x20\x1F\x61\x5B\x57\x61\x73\x68" "\x69\x6E\x67\x74\x6F\x6E\x2C\x20\x44\x2E\x43\x5D\x2E\x20\x3A\x1F" "\x62\x4F\x66\x66\x69\x63\x65\x20\x6F\x66\x20\x45\x64\x75\x63\x61" "\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20" "\x61\x6E\x64\x20\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x2C" "\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73" "\x6F\x75\x72\x63\x65\x73\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69" "\x6F\x6E\x20\x43\x65\x6E\x74\x65\x72\x2C\x1F\x63\x5B\x31\x39\x38" "\x37\x5D\x1E\x20\x20\x1F\x61\x31\x20\x76\x2E\x1E\x20\x20\x1F\x61" "\x4D\x69\x63\x72\x6F\x66\x69\x63\x68\x65\x2E\x1F\x62\x5B\x57\x61" "\x73\x68\x69\x6E\x67\x74\x6F\x6E\x2C\x20\x44\x2E\x43\x2E\x3F\x5D" "\x20\x3A\x1F\x63\x53\x75\x70\x74\x2E\x20\x6F\x66\x20\x44\x6F\x63" "\x73\x2E\x2C\x20\x55\x2E\x53\x2E\x20\x47\x2E\x50\x2E\x4F\x2E\x2C" "\x1F\x64\x5B\x31\x39\x39\x30\x5D\x2E\x1F\x65\x31\x20\x6D\x69\x63" "\x72\x6F\x66\x69\x63\x68\x65\x2E\x1E\x20\x20\x1F\x61\x44\x69\x73" "\x74\x72\x69\x62\x75\x74\x65\x64\x20\x74\x6F\x20\x64\x65\x70\x6F" "\x73\x69\x74\x6F\x72\x79\x20\x6C\x69\x62\x72\x61\x72\x69\x65\x73" "\x20\x69\x6E\x20\x6D\x69\x63\x72\x6F\x66\x69\x63\x68\x65\x2E\x1E" "\x20\x30\x1F\x61\x44\x72\x6F\x70\x6F\x75\x74\x73\x2E\x1E\x32\x30" "\x1F\x61\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65" "\x73\x6F\x75\x72\x63\x65\x73\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74" "\x69\x6F\x6E\x20\x43\x65\x6E\x74\x65\x72\x20\x28\x55\x2E\x53\x2E" "\x29\x1E\x1D" , "\x30\x31\x30\x35\x33\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x31" "\x37\x4B\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x31\x33\x30\x30\x30\x36\x37\x30\x33\x37\x30\x30\x32\x30\x30" "\x30\x30\x38\x30\x30\x37\x34\x30\x30\x31\x39\x30\x30\x31\x30\x30" "\x30\x38\x36\x30\x30\x32\x32\x30\x30\x31\x31\x39\x30\x34\x39\x30" "\x30\x30\x39\x30\x30\x31\x34\x31\x32\x34\x35\x30\x31\x36\x33\x30" "\x30\x31\x35\x30\x32\x36\x30\x30\x32\x35\x31\x30\x30\x33\x31\x33" "\x33\x30\x30\x30\x30\x30\x39\x30\x30\x35\x36\x34\x35\x33\x33\x30" "\x30\x39\x34\x30\x30\x35\x37\x33\x35\x30\x30\x30\x30\x35\x35\x30" "\x30\x36\x36\x37\x36\x35\x30\x30\x30\x32\x34\x30\x30\x37\x32\x32" "\x36\x35\x30\x30\x30\x33\x37\x30\x30\x37\x34\x36\x37\x31\x30\x30" "\x30\x35\x32\x30\x30\x37\x38\x33\x1E\x41\x43\x44\x2D\x31\x39\x34" "\x37\x1E\x39\x31\x30\x34\x31\x35\x72\x31\x39\x39\x30\x31\x39\x38" "\x36\x64\x63\x75\x20\x20\x20\x20\x20\x62\x20\x20\x20\x20\x66\x30" "\x30\x30\x31\x30\x20\x65\x6E\x67\x20\x64\x1E\x31\x39\x39\x31\x30" "\x34\x32\x31\x31\x32\x32\x35\x34\x31\x2E\x30\x1E\x20\x20\x1F\x6F" "\x32\x33\x34\x36\x39\x30\x39\x38\x1E\x20\x20\x1F\x61\x45\x44\x20" "\x32\x38\x36\x33\x33\x33\x1F\x62\x45\x52\x49\x43\x1E\x20\x20\x1F" "\x61\x30\x34\x36\x36\x2D\x41\x2D\x30\x33\x20\x28\x4D\x46\x29\x1E" "\x30\x20\x1F\x61\x45\x44\x20\x31\x2E\x33\x31\x30\x2F\x32\x3A\x32" "\x38\x36\x33\x33\x33\x1E\x20\x20\x1F\x61\x44\x52\x55\x47\x1E\x30" "\x30\x1F\x61\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x64\x69\x73\x73" "\x65\x6D\x69\x6E\x61\x74\x69\x6F\x6E\x20\x6D\x6F\x64\x65\x6C\x20" "\x66\x6F\x72\x20\x74\x68\x65\x20\x49\x27\x4D\x20\x53\x50\x45\x43" "\x49\x41\x4C\x20\x50\x72\x6F\x67\x72\x61\x6D\x20\x6F\x66\x20\x50" "\x68\x79\x73\x69\x63\x61\x6C\x20\x45\x64\x75\x63\x61\x74\x69\x6F" "\x6E\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x48\x61\x6E\x64\x69\x63" "\x61\x70\x70\x65\x64\x2C\x20\x31\x39\x38\x33\x2D\x31\x39\x38\x36" "\x1F\x68\x6D\x69\x63\x72\x6F\x66\x6F\x72\x6D\x20\x3A\x1F\x62\x66" "\x69\x6E\x61\x6C\x20\x72\x65\x70\x6F\x72\x74\x2C\x20\x49\x27\x4D" "\x20\x53\x50\x45\x43\x49\x41\x4C\x20\x6E\x65\x74\x77\x6F\x72\x6B" "\x2E\x1E\x30\x20\x1F\x61\x54\x61\x6D\x70\x61\x2C\x20\x46\x6C\x61" "\x2E\x20\x3A\x1F\x62\x44\x65\x70\x61\x72\x74\x6D\x65\x6E\x74\x20" "\x6F\x66\x20\x50\x68\x79\x73\x69\x63\x61\x6C\x20\x45\x64\x75\x63" "\x61\x74\x69\x6F\x6E\x2C\x20\x43\x6F\x6C\x6C\x65\x67\x65\x20\x6F" "\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x2C\x20\x55\x6E\x69" "\x76\x65\x72\x73\x69\x74\x79\x20\x6F\x66\x20\x53\x6F\x75\x74\x68" "\x20\x46\x6C\x6F\x72\x69\x64\x61\x20\x3B\x1F\x61\x5B\x57\x61\x73" "\x68\x69\x6E\x67\x74\x6F\x6E\x2C\x20\x44\x2E\x43\x2E\x5D\x20\x3A" "\x1F\x62\x55\x2E\x53\x2E\x20\x44\x65\x70\x74\x2E\x20\x6F\x66\x20" "\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x2C\x20\x4F\x66\x66\x69\x63" "\x65\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C" "\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20\x61\x6E\x64\x20\x49\x6D" "\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x2C\x20\x45\x64\x75\x63\x61" "\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x6F\x75\x72\x63\x65\x73" "\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69\x6F\x6E\x20\x43\x65\x6E" "\x74\x65\x72\x2C\x1F\x63\x5B\x31\x39\x38\x36\x5D\x1E\x20\x20\x1F" "\x61\x31\x20\x76\x2E\x1E\x20\x20\x1F\x61\x4D\x69\x63\x72\x6F\x66" "\x69\x63\x68\x65\x2E\x1F\x62\x5B\x57\x61\x73\x68\x69\x6E\x67\x74" "\x6F\x6E\x2C\x20\x44\x2E\x43\x2E\x3F\x5D\x20\x3A\x1F\x63\x53\x75" "\x70\x74\x2E\x20\x6F\x66\x20\x44\x6F\x63\x73\x2E\x2C\x20\x55\x2E" "\x53\x2E\x20\x47\x2E\x50\x2E\x4F\x2E\x2C\x1F\x64\x5B\x31\x39\x39" "\x30\x5D\x2E\x1F\x65\x32\x20\x6D\x69\x63\x72\x6F\x66\x69\x63\x68" "\x65\x73\x2E\x1E\x20\x20\x1F\x61\x44\x69\x73\x74\x72\x69\x62\x75" "\x74\x65\x64\x20\x74\x6F\x20\x64\x65\x70\x6F\x73\x69\x74\x6F\x72" "\x79\x20\x6C\x69\x62\x72\x61\x72\x69\x65\x73\x20\x69\x6E\x20\x6D" "\x69\x63\x72\x6F\x66\x69\x63\x68\x65\x2E\x1E\x20\x30\x1F\x61\x50" "\x68\x79\x73\x69\x63\x61\x6C\x20\x65\x64\x75\x63\x61\x74\x69\x6F" "\x6E\x2E\x1E\x20\x30\x1F\x61\x48\x61\x6E\x64\x69\x63\x61\x70\x70" "\x65\x64\x20\x63\x68\x69\x6C\x64\x72\x65\x6E\x1F\x78\x45\x64\x75" "\x63\x61\x74\x69\x6F\x6E\x2E\x1E\x32\x30\x1F\x61\x45\x64\x75\x63" "\x61\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x6F\x75\x72\x63\x65" "\x73\x20\x49\x6E\x66\x6F\x72\x6D\x61\x74\x69\x6F\x6E\x20\x43\x65" "\x6E\x74\x65\x72\x20\x28\x55\x2E\x53\x2E\x29\x1E\x1D" , "\x30\x31\x30\x33\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x32\x38" "\x39\x49\x61\x20\x34\x35\x30\x30\x30\x30\x31\x30\x30\x30\x39\x30" "\x30\x30\x30\x30\x30\x30\x38\x30\x30\x34\x31\x30\x30\x30\x30\x39" "\x30\x30\x35\x30\x30\x31\x37\x30\x30\x30\x35\x30\x30\x31\x30\x30" "\x30\x31\x33\x30\x30\x30\x36\x37\x30\x34\x30\x30\x30\x31\x33\x30" "\x30\x30\x38\x30\x30\x34\x33\x30\x30\x31\x32\x30\x30\x30\x39\x33" "\x30\x37\x34\x30\x30\x31\x34\x30\x30\x31\x30\x35\x30\x38\x36\x30" "\x30\x31\x38\x30\x30\x31\x31\x39\x30\x38\x38\x30\x30\x31\x35\x30" "\x30\x31\x33\x37\x30\x34\x39\x30\x30\x30\x39\x30\x30\x31\x35\x32" "\x32\x34\x35\x30\x30\x34\x35\x30\x30\x31\x36\x31\x32\x36\x30\x30" "\x31\x30\x35\x30\x30\x32\x30\x36\x33\x30\x30\x30\x30\x34\x31\x30" "\x30\x33\x31\x31\x35\x30\x30\x30\x30\x35\x35\x30\x30\x33\x35\x32" "\x35\x30\x30\x30\x30\x33\x33\x30\x30\x34\x30\x37\x35\x30\x30\x30" "\x30\x32\x38\x30\x30\x34\x34\x30\x35\x30\x30\x30\x30\x32\x36\x30" "\x30\x34\x36\x38\x36\x31\x30\x30\x30\x34\x38\x30\x30\x34\x39\x34" "\x36\x35\x30\x30\x30\x35\x35\x30\x30\x35\x34\x32\x36\x35\x30\x30" "\x30\x34\x34\x30\x30\x35\x39\x37\x37\x31\x30\x30\x30\x36\x38\x30" "\x30\x36\x34\x31\x37\x34\x30\x30\x30\x33\x37\x30\x30\x37\x30\x39" "\x1E\x41\x43\x44\x2D\x31\x39\x33\x38\x1E\x39\x31\x30\x34\x31\x35" "\x73\x31\x39\x39\x31\x20\x20\x20\x20\x64\x63\x75\x20\x20\x20\x20" "\x20\x20\x20\x20\x20\x20\x66\x30\x30\x30\x30\x30\x20\x65\x6E\x67" "\x20\x64\x1E\x31\x39\x39\x31\x30\x34\x32\x31\x31\x32\x32\x35\x34" "\x31\x2E\x30\x1E\x20\x20\x1F\x6F\x32\x33\x34\x36\x38\x32\x37\x32" "\x1E\x20\x20\x1F\x61\x47\x50\x4F\x1F\x63\x47\x50\x4F\x1E\x20\x20" "\x1F\x61\x6E\x2D\x75\x73\x2D\x2D\x2D\x1E\x20\x20\x1F\x61\x30\x34" "\x36\x31\x2D\x44\x2D\x30\x35\x1E\x30\x20\x1F\x61\x45\x44\x20\x31" "\x2E\x33\x30\x32\x3A\x53\x68\x20\x32\x1E\x20\x20\x1F\x61\x50\x49" "\x50\x20\x39\x31\x2D\x38\x33\x36\x1E\x20\x20\x1F\x61\x44\x52\x55" "\x47\x1E\x30\x30\x1F\x61\x4E\x44\x4E\x2C\x20\x73\x68\x61\x72\x69" "\x6E\x67\x20\x73\x75\x63\x63\x65\x73\x73\x20\x74\x6F\x20\x69\x6D" "\x70\x72\x6F\x76\x65\x20\x73\x63\x68\x6F\x6F\x6C\x73\x2E\x1E\x30" "\x20\x1F\x61\x5B\x57\x61\x73\x68\x69\x6E\x67\x74\x6F\x6E\x2C\x20" "\x44\x43\x5D\x20\x3A\x1F\x62\x55\x2E\x53\x2E\x20\x44\x65\x70\x74" "\x2E\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x2C\x20" "\x4F\x66\x66\x69\x63\x65\x20\x6F\x66\x20\x45\x64\x75\x63\x61\x74" "\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x65\x61\x72\x63\x68\x20\x61" "\x6E\x64\x20\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x2C\x1F" "\x63\x5B\x31\x39\x39\x31\x5D\x1E\x20\x20\x1F\x61\x31\x20\x66\x6F" "\x6C\x64\x65\x64\x20\x73\x68\x65\x65\x74\x20\x28\x36\x20\x70\x2E" "\x29\x20\x3B\x1F\x63\x32\x32\x20\x78\x20\x31\x30\x20\x63\x6D\x2E" "\x1E\x20\x20\x1F\x61\x41\x74\x20\x68\x65\x61\x64\x20\x6F\x66\x20" "\x74\x69\x74\x6C\x65\x3A\x20\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20" "\x44\x69\x66\x66\x75\x73\x69\x6F\x6E\x20\x4E\x65\x74\x77\x6F\x72" "\x6B\x2C\x20\x4E\x44\x4E\x2E\x1E\x20\x20\x1F\x61\x53\x68\x69\x70" "\x70\x69\x6E\x67\x20\x6C\x69\x73\x74\x20\x6E\x6F\x2E\x3A\x20\x39" "\x31\x2D\x31\x39\x38\x2D\x50\x2E\x1E\x20\x20\x1F\x61\x22\x4A\x61" "\x6E\x75\x61\x72\x79\x20\x31\x39\x39\x31\x22\x2D\x2D\x50\x2E\x20" "\x5B\x35\x5D\x2E\x1E\x20\x20\x1F\x61\x22\x50\x49\x50\x20\x39\x31" "\x2D\x38\x33\x36\x22\x2D\x2D\x50\x2E\x20\x5B\x35\x5D\x2E\x1E\x31" "\x30\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73" "\x2E\x1F\x62\x4E\x61\x74\x69\x6F\x6E\x61\x6C\x20\x44\x69\x66\x66" "\x75\x73\x69\x6F\x6E\x20\x4E\x65\x74\x77\x6F\x72\x6B\x2E\x1E\x20" "\x30\x1F\x61\x44\x65\x6D\x6F\x6E\x73\x74\x72\x61\x74\x69\x6F\x6E" "\x20\x63\x65\x6E\x74\x65\x72\x73\x20\x69\x6E\x20\x65\x64\x75\x63" "\x61\x74\x69\x6F\x6E\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74" "\x61\x74\x65\x73\x2E\x1E\x20\x30\x1F\x61\x45\x64\x75\x63\x61\x74" "\x69\x6F\x6E\x61\x6C\x20\x69\x6E\x6E\x6F\x76\x61\x74\x69\x6F\x6E" "\x73\x1F\x7A\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61\x74\x65\x73" "\x2E\x1E\x31\x30\x1F\x61\x55\x6E\x69\x74\x65\x64\x20\x53\x74\x61" "\x74\x65\x73\x2E\x1F\x62\x4F\x66\x66\x69\x63\x65\x20\x6F\x66\x20" "\x45\x64\x75\x63\x61\x74\x69\x6F\x6E\x61\x6C\x20\x52\x65\x73\x65" "\x61\x72\x63\x68\x20\x61\x6E\x64\x20\x49\x6D\x70\x72\x6F\x76\x65" "\x6D\x65\x6E\x74\x2E\x1E\x30\x31\x1F\x61\x4E\x61\x74\x69\x6F\x6E" "\x61\x6C\x20\x44\x69\x66\x66\x75\x73\x69\x6F\x6E\x20\x4E\x65\x74" "\x77\x6F\x72\x6B\x2C\x20\x4E\x44\x4E\x2E\x1E\x1D" }; /* like first record but with UTF-8 encoding and a capital O-slash in 050$a */ static char *marc_record0 = "00366nam a220016" "98a 450000100130" "0000003000400013" "0050017000170080" "0410003401000170" "0179040001300075" "0500012000881000" "0170010024500300" "0117260001200147" "2630009001593000" "01100168" "\x1E" " 1122" "4466 " "\x1E" "DLC" "\x1E" "000000" "00000000.0" "\x1E" "91071" "0c19910701nju " " 00010 en" "g " "\x1E" " " "\x1F" "aDLC" "\x1F" "cDLC" "" "\x1E" "00" "\x1F" "a123-\xC3\x98" "x" "\x1E" "10" "\x1F" "" "aJack Collins" "\x1E" "10" "" "\x1F" "aHow to program" " a computer" "\x1E" "1 " "\x1F" "a" "Penguin" "\x1E" " " "\x1F" "a8710" "" "\x1E" " " "\x1F" "ap. cm." "\x1E" " " "\x1F" "a" " 11224466 " "\x1E" "" "\x1D" "" ; /* read MARC record from offset 'num' */ char *dummy_marc_record(int num, ODR odr) { if (num < 1) return 0; if (num > NO_MARC_RECORDS) { char *p = odr_strdup(odr, marc_record0); sprintf(p + 279, "%-5d", num); p[284] = ' '; return p; } else return marc_records[num-1]; } #define PZ_CBEGIN "\n" #define PZ_CEND "\n" #define PZ_BEGIN "\n" #define PZ_END "\n" #define PZ_METADATA(x, y) " " y "\n" static char *dummy_pz2_record(int num, ODR odr) { const char *rec[] = { PZ_CBEGIN PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol1") PZ_END PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol2") PZ_END PZ_CEND , PZ_CBEGIN PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol3") PZ_END PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol2") PZ_END PZ_CEND , PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol1") PZ_END , /* identical to first */ PZ_CBEGIN PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol1") PZ_END PZ_BEGIN PZ_METADATA(author,"Jack Collins") PZ_METADATA(medium, "book") PZ_METADATA(date, "1995") PZ_METADATA(title, "How to program a computer vol4") PZ_END PZ_CEND }; if (num > 0 && num <= sizeof(rec)/sizeof(*rec)) return odr_strdup(odr, rec[num - 1]); return 0; } /* read MARC record and convert to XML */ char *dummy_xml_record(int num, ODR odr, const char *esn) { if (esn && !strcmp(esn, "pz2")) { return dummy_pz2_record(num, odr); } else if (!esn || !strcmp(esn, "marcxml") || !strcmp(esn, "OP")) { /* MARCXML and OPACXML */ char *rec = dummy_marc_record(num, odr); if (rec) { WRBUF w = wrbuf_alloc(); yaz_marc_t mt = yaz_marc_create(); yaz_marc_xml(mt, YAZ_MARC_MARCXML); if (esn && !strcmp(esn, "OP")) { /* generate OPACXML (OPAC in XML) */ Z_OPACRecord *opac = dummy_opac(num, odr, rec); yaz_opac_decode_wrbuf(mt, opac, w); } else { /* generate MARCXML */ yaz_marc_decode_wrbuf(mt, rec, -1, w); } rec = odr_strdup(odr, wrbuf_cstr(w)); yaz_marc_destroy(mt); wrbuf_destroy(w); return rec; } } else { char *buf = 0; const char *e = getenv("YAZ_ZTEST_XML_FETCH"); if (e) { WRBUF w = wrbuf_alloc(); struct stat sbuf; FILE *file = 0; wrbuf_printf(w, "%s%s.%d.xml", e, esn, num); if (stat(wrbuf_cstr(w), &sbuf) == 0 && (file = fopen(wrbuf_cstr(w), "rb"))) { buf = odr_malloc(odr, 1 + sbuf.st_size); fread(buf, 1, sbuf.st_size, file); buf[sbuf.st_size] = '\0'; } if (file) fclose(file); } return buf; } return 0; } char *dummy_json_record(int num, ODR odr, const char *esn) { if (!esn || !strcmp(esn, "marcinjson")) { char *rec = dummy_marc_record(num, odr); if (rec) { WRBUF w = wrbuf_alloc(); yaz_marc_t mt = yaz_marc_create(); yaz_marc_xml(mt, YAZ_MARC_JSON); yaz_marc_decode_wrbuf(mt, rec, -1, w); rec = odr_strdup(odr, wrbuf_cstr(w)); yaz_marc_destroy(mt); wrbuf_destroy(w); return rec; } } return 0; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/ztest.h0000664000175000017500000000410614152153071012022 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of Index Data nor the names of its contributors * may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** * \file * \brief Internal header for yaz-ztest */ #include Z_GenericRecord *dummy_grs_record(int num, ODR o); char *dummy_marc_record(int num, ODR odr); char *dummy_xml_record(int num, ODR odr, const char *esn); char *dummy_json_record(int num, ODR odr, const char *esn); Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input); /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/dummy-opac.c0000664000175000017500000000545014152153071012722 00000000000000/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /** \file * \brief Little toy-thing to generate an OPAC record with some values */ #if HAVE_CONFIG_H #include #endif #include #include #include #include "ztest.h" Z_OPACRecord *dummy_opac(int num, ODR odr, const char *marc_input) { Z_OPACRecord *rec; int i; rec = (Z_OPACRecord *) odr_malloc(odr, sizeof(*rec)); rec->bibliographicRecord = z_ext_record_usmarc(odr, marc_input, strlen(marc_input)); rec->num_holdingsData = 1; rec->holdingsData = (Z_HoldingsRecord **) odr_malloc(odr, sizeof(*rec->holdingsData)); for (i = 0; i < rec->num_holdingsData; i++) { Z_HoldingsRecord *hr = (Z_HoldingsRecord *) odr_malloc(odr, sizeof(*hr)); Z_HoldingsAndCircData *hc = (Z_HoldingsAndCircData *) odr_malloc(odr, sizeof(*hc)); rec->holdingsData[i] = hr; hr->which = Z_HoldingsRecord_holdingsAndCirc; hr->u.holdingsAndCirc = hc; hc->typeOfRecord = "u"; hc->encodingLevel = "u"; hc->format = 0; /* OPT */ hc->receiptAcqStatus = "0"; hc->generalRetention = 0; /* OPT */ hc->completeness = 0; /* OPT */ hc->dateOfReport = "000000"; hc->nucCode = "s-FM/GC"; hc->localLocation = "Main or Science/Business Reading Rms - STORED OFFSITE"; hc->shelvingLocation = 0; /* OPT */ hc->callNumber = "MLCM 89/00602 (N)"; hc->shelvingData = "FT MEADE"; hc->copyNumber = "Copy 1"; hc->publicNote = 0; /* OPT */ hc->reproductionNote = 0; /* OPT */ hc->termsUseRepro = 0; /* OPT */ hc->enumAndChron = 0; /* OPT */ hc->num_volumes = 0; hc->volumes = 0; hc->num_circulationData = 1; hc->circulationData = (Z_CircRecord **) odr_malloc(odr, sizeof(*hc->circulationData)); hc->circulationData[0] = (Z_CircRecord *) odr_malloc(odr, sizeof(**hc->circulationData)); hc->circulationData[0]->availableNow = odr_booldup(odr, 1); hc->circulationData[0]->availablityDate = 0; hc->circulationData[0]->availableThru = 0; hc->circulationData[0]->restrictions = 0; hc->circulationData[0]->itemId = "1226176"; hc->circulationData[0]->renewable = odr_booldup(odr, 0); hc->circulationData[0]->onHold = odr_booldup(odr, 0); hc->circulationData[0]->enumAndChron = 0; hc->circulationData[0]->midspine = 0; hc->circulationData[0]->temporaryLocation = 0; } return rec; } /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ yaz-5.31.1/ztest/config1.xml0000664000175000017500000000140314152153071012545 00000000000000 tcp:@:9900 unix:/var/tmp/socket server1.mydomain /var/www/s1 config.cfg localhost /var/www/s2 config.cfg ../etc/pqf.properties server2.mydomain 9900 a /var/www/s3 config.cfg yaz-5.31.1/ztest/Makefile.in0000664000175000017500000005455114157607075012573 00000000000000# Makefile.in generated by automake 1.16.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = yaz-ztest$(EXEEXT) noinst_PROGRAMS = gfs-example$(EXEEXT) subdir = ztest ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_check_icu.m4 \ $(top_srcdir)/m4/acx_pthread.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/yaz.m4 $(top_srcdir)/m4/yaz_libxml2.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) am_gfs_example_OBJECTS = gfs-example.$(OBJEXT) gfs_example_OBJECTS = $(am_gfs_example_OBJECTS) gfs_example_LDADD = $(LDADD) gfs_example_DEPENDENCIES = ../src/libyaz_server.la ../src/libyaz.la AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = am_yaz_ztest_OBJECTS = ztest.$(OBJEXT) read-grs.$(OBJEXT) \ read-marc.$(OBJEXT) dummy-opac.$(OBJEXT) yaz_ztest_OBJECTS = $(am_yaz_ztest_OBJECTS) yaz_ztest_LDADD = $(LDADD) yaz_ztest_DEPENDENCIES = ../src/libyaz_server.la ../src/libyaz.la AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/dummy-opac.Po \ ./$(DEPDIR)/gfs-example.Po ./$(DEPDIR)/read-grs.Po \ ./$(DEPDIR)/read-marc.Po ./$(DEPDIR)/ztest.Po am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(gfs_example_SOURCES) $(yaz_ztest_SOURCES) DIST_SOURCES = $(gfs_example_SOURCES) $(yaz_ztest_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ CTAGS = @CTAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSSSL_DIR = @DSSSL_DIR@ DSYMUTIL = @DSYMUTIL@ DTD_DIR = @DTD_DIR@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ HIREDIS_LIBS = @HIREDIS_LIBS@ HTML_COMPILE = @HTML_COMPILE@ ICU_CFLAGS = @ICU_CFLAGS@ ICU_CONFIG = @ICU_CONFIG@ ICU_CPPFLAGS = @ICU_CPPFLAGS@ ICU_LIBS = @ICU_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_COMPILE = @MAN_COMPILE@ MEMCACHED_LIBS = @MEMCACHED_LIBS@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PDF_COMPILE = @PDF_COMPILE@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ READLINE_LIBS = @READLINE_LIBS@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SSL_CFLAGS = @SSL_CFLAGS@ SSL_LIBS = @SSL_LIBS@ STRIP = @STRIP@ TCLSH = @TCLSH@ TCPD_LIBS = @TCPD_LIBS@ TKL_COMPILE = @TKL_COMPILE@ VERSION = @VERSION@ VERSION_HEX = @VERSION_HEX@ VERSION_SHA1 = @VERSION_SHA1@ WIN_FILEVERSION = @WIN_FILEVERSION@ XML2_CFLAGS = @XML2_CFLAGS@ XSLTPROC_COMPILE = @XSLTPROC_COMPILE@ XSL_DIR = @XSL_DIR@ YACC = @YACC@ YAZ_CONFIG_CFLAGS = @YAZ_CONFIG_CFLAGS@ YAZ_CONF_CFLAGS = @YAZ_CONF_CFLAGS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgconfigpath = @pkgconfigpath@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ yaz_ztest_SOURCES = ztest.c read-grs.c read-marc.c dummy-opac.c ztest.h gfs_example_SOURCES = gfs-example.c EXTRA_DIST = dummy-words dummy-grs ztest.pem config1.xml LDADD = ../src/libyaz_server.la ../src/libyaz.la AM_CPPFLAGS = -I$(top_srcdir)/src $(XML2_CFLAGS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ztest/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu ztest/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list gfs-example$(EXEEXT): $(gfs_example_OBJECTS) $(gfs_example_DEPENDENCIES) $(EXTRA_gfs_example_DEPENDENCIES) @rm -f gfs-example$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gfs_example_OBJECTS) $(gfs_example_LDADD) $(LIBS) yaz-ztest$(EXEEXT): $(yaz_ztest_OBJECTS) $(yaz_ztest_DEPENDENCIES) $(EXTRA_yaz_ztest_DEPENDENCIES) @rm -f yaz-ztest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(yaz_ztest_OBJECTS) $(yaz_ztest_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy-opac.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gfs-example.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read-grs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read-marc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ztest.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/dummy-opac.Po -rm -f ./$(DEPDIR)/gfs-example.Po -rm -f ./$(DEPDIR)/read-grs.Po -rm -f ./$(DEPDIR)/read-marc.Po -rm -f ./$(DEPDIR)/ztest.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/dummy-opac.Po -rm -f ./$(DEPDIR)/gfs-example.Po -rm -f ./$(DEPDIR)/read-grs.Po -rm -f ./$(DEPDIR)/read-marc.Po -rm -f ./$(DEPDIR)/ztest.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool clean-local \ clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-binPROGRAMS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS .PRECIOUS: Makefile clean-local: rm -f socket # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: yaz-5.31.1/ztest/dummy-grs0000664000175000017500000000310314152153071012343 00000000000000#1 (1,1) This is a test record (0,0) #2 (1,2) title (1,8) { (1,9) Author thing (1,10) Other thing (1,11) { (1,12) test (1,14) Deeper } } (0,0) #3 (3,title) The Ugly Duckling (3,author) { (3,nationality) Danish (3,name) Andersen, H.C. } (3,subject) Fairy tale about duck who would be swan and does so in end. (0,0) #4 (3,title) This is a fairly deeply nested GRS-1 Record (3,level1) { (3,level2) { (3,level3) { (3,level4) { (3,level5) { (3,level6) { (3,level7) Whew!! This is silly (3,hmm) Let's hope it never comes to this. } (3,level6) Uhm. } (3,level5) Down again. } (3,level4) Down further. } (3,level3) Down... } (3,level2) Down... } (3,level1) Down... (0,0) #5 (1,1) Data (1,2) Stuff (0,0) #6 (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (1,1) GGGGGGGGGGGGGGGGGGG (0,0) #7 (2,1) Zen and the Art of Motorcycle Maintenance (2,6) An inquiry into values (4,52) Robert M. Pirsig (4,70) { (4,90) { (2,7) Transworld Publishers, ltd. (2,11) Century House, 61-63 Uxbridge Road, London } } (4,27) Just a silly test record, really. (0,0) #8 (3,someField) Ok.. this is the last of the test records. (3,someFIeld) It's time to get back to work. (0,0) #9 (1,1) This is a test record (0,0) #10 (1,1) This is a test record (0,0) #11 (1,1) This is a test record (0,0)